Class CfnDashboardPropsMixin.MetricComparisonComputationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDashboardPropsMixin.MetricComparisonComputationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.MetricComparisonComputationProperty>
- Enclosing interface:
CfnDashboardPropsMixin.MetricComparisonComputationProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.MetricComparisonComputationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.MetricComparisonComputationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.computationId(String computationId) fromValue(IResolvable fromValue) Sets the value ofCfnDashboardPropsMixin.MetricComparisonComputationProperty.getName()targetValue(CfnDashboardPropsMixin.MeasureFieldProperty targetValue) targetValue(IResolvable targetValue) Sets the value ofCfnDashboardPropsMixin.MetricComparisonComputationProperty.getTime()time(IResolvable time) Sets the value ofCfnDashboardPropsMixin.MetricComparisonComputationProperty.getTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computationId
@Stability(Stable) public CfnDashboardPropsMixin.MetricComparisonComputationProperty.Builder computationId(String computationId) - Parameters:
computationId- The ID for a computation.- Returns:
this
-
fromValue
@Stability(Stable) public CfnDashboardPropsMixin.MetricComparisonComputationProperty.Builder fromValue(IResolvable fromValue) - Parameters:
fromValue- The field that is used in a metric comparison from value setup.- Returns:
this
-
fromValue
@Stability(Stable) public CfnDashboardPropsMixin.MetricComparisonComputationProperty.Builder fromValue(CfnDashboardPropsMixin.MeasureFieldProperty fromValue) - Parameters:
fromValue- The field that is used in a metric comparison from value setup.- Returns:
this
-
name
@Stability(Stable) public CfnDashboardPropsMixin.MetricComparisonComputationProperty.Builder name(String name) Sets the value ofCfnDashboardPropsMixin.MetricComparisonComputationProperty.getName()- Parameters:
name- The name of a computation.- Returns:
this
-
targetValue
@Stability(Stable) public CfnDashboardPropsMixin.MetricComparisonComputationProperty.Builder targetValue(IResolvable targetValue) - Parameters:
targetValue- The field that is used in a metric comparison to value setup.- Returns:
this
-
targetValue
@Stability(Stable) public CfnDashboardPropsMixin.MetricComparisonComputationProperty.Builder targetValue(CfnDashboardPropsMixin.MeasureFieldProperty targetValue) - Parameters:
targetValue- The field that is used in a metric comparison to value setup.- Returns:
this
-
time
@Stability(Stable) public CfnDashboardPropsMixin.MetricComparisonComputationProperty.Builder time(IResolvable time) Sets the value ofCfnDashboardPropsMixin.MetricComparisonComputationProperty.getTime()- Parameters:
time- The time field that is used in a computation.- Returns:
this
-
time
@Stability(Stable) public CfnDashboardPropsMixin.MetricComparisonComputationProperty.Builder time(CfnDashboardPropsMixin.DimensionFieldProperty time) Sets the value ofCfnDashboardPropsMixin.MetricComparisonComputationProperty.getTime()- Parameters:
time- The time field that is used in a computation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.MetricComparisonComputationProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.MetricComparisonComputationProperty - Throws:
NullPointerException- if any required attribute was not provided
-