Class CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysisPropsMixin.TopBottomMoversComputationProperty>
- Enclosing interface:
CfnAnalysisPropsMixin.TopBottomMoversComputationProperty
@Stability(Stable)
public static final class CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysisPropsMixin.TopBottomMoversComputationProperty>
A builder for
CfnAnalysisPropsMixin.TopBottomMoversComputationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getCategory()category(IResolvable category) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getCategory()computationId(String computationId) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getMoverSize()Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getName()Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getSortOrder()Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getTime()time(IResolvable time) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getTime()Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getType()Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getValue()value(IResolvable value) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
category
@Stability(Stable) public CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder category(IResolvable category) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getCategory()- Parameters:
category- The category field that is used in a computation.- Returns:
this
-
category
@Stability(Stable) public CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder category(CfnAnalysisPropsMixin.DimensionFieldProperty category) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getCategory()- Parameters:
category- The category field that is used in a computation.- Returns:
this
-
computationId
@Stability(Stable) public CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder computationId(String computationId) - Parameters:
computationId- The ID for a computation.- Returns:
this
-
moverSize
@Stability(Stable) public CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder moverSize(Number moverSize) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getMoverSize()- Parameters:
moverSize- The mover size setup of the top and bottom movers computation.- Returns:
this
-
name
@Stability(Stable) public CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder name(String name) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getName()- Parameters:
name- The name of a computation.- Returns:
this
-
sortOrder
@Stability(Stable) public CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder sortOrder(String sortOrder) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getSortOrder()- Parameters:
sortOrder- The sort order setup of the top and bottom movers computation.- Returns:
this
-
time
@Stability(Stable) public CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder time(IResolvable time) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getTime()- Parameters:
time- The time field that is used in a computation.- Returns:
this
-
time
@Stability(Stable) public CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder time(CfnAnalysisPropsMixin.DimensionFieldProperty time) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getTime()- Parameters:
time- The time field that is used in a computation.- Returns:
this
-
type
@Stability(Stable) public CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder type(String type) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getType()- Parameters:
type- The computation type. Choose from the following options:.- TOP: Top movers computation.
- BOTTOM: Bottom movers computation.
- Returns:
this
-
value
@Stability(Stable) public CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder value(IResolvable value) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getValue()- Parameters:
value- The value field that is used in a computation.- Returns:
this
-
value
@Stability(Stable) public CfnAnalysisPropsMixin.TopBottomMoversComputationProperty.Builder value(CfnAnalysisPropsMixin.MeasureFieldProperty value) Sets the value ofCfnAnalysisPropsMixin.TopBottomMoversComputationProperty.getValue()- Parameters:
value- The value field that is used in a computation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysisPropsMixin.TopBottomMoversComputationProperty>- Returns:
- a new instance of
CfnAnalysisPropsMixin.TopBottomMoversComputationProperty - Throws:
NullPointerException- if any required attribute was not provided
-