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