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