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