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