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