Class CfnTemplate.MaximumMinimumComputationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.MaximumMinimumComputationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.MaximumMinimumComputationProperty>
- Enclosing interface:
CfnTemplate.MaximumMinimumComputationProperty
@Stability(Stable)
public static final class CfnTemplate.MaximumMinimumComputationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.MaximumMinimumComputationProperty>
A builder for
CfnTemplate.MaximumMinimumComputationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.computationId(String computationId) Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getComputationId()Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getName()time(IResolvable time) Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getTime()Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getTime()Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getType()value(IResolvable value) Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getValue()Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computationId
@Stability(Stable) public CfnTemplate.MaximumMinimumComputationProperty.Builder computationId(String computationId) Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getComputationId()- Parameters:
computationId- The ID for a computation. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getType()- Parameters:
type- The type of computation. Choose one of the following options:. This parameter is required.- MAXIMUM: A maximum computation.
- MINIMUM: A minimum computation.
- Returns:
this
-
name
Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getName()- Parameters:
name- The name of a computation.- Returns:
this
-
time
@Stability(Stable) public CfnTemplate.MaximumMinimumComputationProperty.Builder time(IResolvable time) Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getTime()- Parameters:
time- The time field that is used in a computation.- Returns:
this
-
time
@Stability(Stable) public CfnTemplate.MaximumMinimumComputationProperty.Builder time(CfnTemplate.DimensionFieldProperty time) Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getTime()- Parameters:
time- The time field that is used in a computation.- Returns:
this
-
value
@Stability(Stable) public CfnTemplate.MaximumMinimumComputationProperty.Builder value(IResolvable value) Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.getValue()- Parameters:
value- The value field that is used in a computation.- Returns:
this
-
value
@Stability(Stable) public CfnTemplate.MaximumMinimumComputationProperty.Builder value(CfnTemplate.MeasureFieldProperty value) Sets the value ofCfnTemplate.MaximumMinimumComputationProperty.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<CfnTemplate.MaximumMinimumComputationProperty>- Returns:
- a new instance of
CfnTemplate.MaximumMinimumComputationProperty - Throws:
NullPointerException- if any required attribute was not provided
-