Skip to content
v2.278.0

ComparativeOrderProperty Struct ​

The order in which data is displayed for the column when it's used in a comparative context.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const comparativeOrderProperty: quicksight.CfnTopic.ComparativeOrderProperty = {
  specifedOrder: ['specifedOrder'],
  treatUndefinedSpecifiedValues: 'treatUndefinedSpecifiedValues',
  useOrdering: 'useOrdering',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight

comparative_order_property = quicksight.CfnTopic.ComparativeOrderProperty(
    specifed_order=["specifedOrder"],
    treat_undefined_specified_values="treatUndefinedSpecifiedValues",
    use_ordering="useOrdering"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;

ComparativeOrderProperty comparativeOrderProperty = ComparativeOrderProperty.builder()
        .specifedOrder(List.of("specifedOrder"))
        .treatUndefinedSpecifiedValues("treatUndefinedSpecifiedValues")
        .useOrdering("useOrdering")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;

var comparativeOrderProperty = new ComparativeOrderProperty {
    SpecifedOrder = new [] { "specifedOrder" },
    TreatUndefinedSpecifiedValues = "treatUndefinedSpecifiedValues",
    UseOrdering = "useOrdering"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

comparativeOrderProperty := &ComparativeOrderProperty{
	SpecifedOrder: []*string{
		jsii.String("specifedOrder"),
	},
	TreatUndefinedSpecifiedValues: jsii.String("treatUndefinedSpecifiedValues"),
	UseOrdering: jsii.String("useOrdering"),
}

Properties ​

specifedOrderoptionalstring[]specifed_orderoptionaltyping.List[str]specifedOrderoptionalList<String>SpecifedOrderoptionalstring[]SpecifedOrderoptional*[]*string #
The list of columns to be used in the ordering.
treatUndefinedSpecifiedValuesoptionalstringtreat_undefined_specified_valuesoptionalstrtreatUndefinedSpecifiedValuesoptionalStringTreatUndefinedSpecifiedValuesoptionalstringTreatUndefinedSpecifiedValuesoptional*string #
The treat of undefined specified values.

Valid values for this structure are LEAST and MOST .

useOrderingoptionalstringuse_orderingoptionalstruseOrderingoptionalStringUseOrderingoptionalstringUseOrderingoptional*string #
The ordering type for a column.

Valid values for this structure are GREATER_IS_BETTER , LESSER_IS_BETTER and SPECIFIED .