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