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