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