Class CfnTopic.ComparativeOrderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopic.ComparativeOrderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic.ComparativeOrderProperty>
- Enclosing interface:
CfnTopic.ComparativeOrderProperty
@Stability(Stable)
public static final class CfnTopic.ComparativeOrderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic.ComparativeOrderProperty>
A builder for
CfnTopic.ComparativeOrderProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.specifedOrder
(List<String> specifedOrder) Sets the value ofCfnTopic.ComparativeOrderProperty.getSpecifedOrder()
treatUndefinedSpecifiedValues
(String treatUndefinedSpecifiedValues) Sets the value ofCfnTopic.ComparativeOrderProperty.getTreatUndefinedSpecifiedValues()
useOrdering
(String useOrdering) Sets the value ofCfnTopic.ComparativeOrderProperty.getUseOrdering()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
specifedOrder
@Stability(Stable) public CfnTopic.ComparativeOrderProperty.Builder specifedOrder(List<String> specifedOrder) Sets the value ofCfnTopic.ComparativeOrderProperty.getSpecifedOrder()
- Parameters:
specifedOrder
- The list of columns to be used in the ordering.- Returns:
this
-
treatUndefinedSpecifiedValues
@Stability(Stable) public CfnTopic.ComparativeOrderProperty.Builder treatUndefinedSpecifiedValues(String treatUndefinedSpecifiedValues) Sets the value ofCfnTopic.ComparativeOrderProperty.getTreatUndefinedSpecifiedValues()
- Parameters:
treatUndefinedSpecifiedValues
- The treat of undefined specified values. Valid values for this structure areLEAST
andMOST
.- Returns:
this
-
useOrdering
Sets the value ofCfnTopic.ComparativeOrderProperty.getUseOrdering()
- Parameters:
useOrdering
- The ordering type for a column. Valid values for this structure areGREATER_IS_BETTER
,LESSER_IS_BETTER
andSPECIFIED
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopic.ComparativeOrderProperty>
- Returns:
- a new instance of
CfnTopic.ComparativeOrderProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-