Class CfnDashboard.ComparisonFormatConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonFormatConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.ComparisonFormatConfigurationProperty>
- Enclosing interface:
CfnDashboard.ComparisonFormatConfigurationProperty
@Stability(Stable)
public static final class CfnDashboard.ComparisonFormatConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.ComparisonFormatConfigurationProperty>
A builder for
CfnDashboard.ComparisonFormatConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.numberDisplayFormatConfiguration
(IResolvable numberDisplayFormatConfiguration) numberDisplayFormatConfiguration
(CfnDashboard.NumberDisplayFormatConfigurationProperty numberDisplayFormatConfiguration) percentageDisplayFormatConfiguration
(IResolvable percentageDisplayFormatConfiguration) percentageDisplayFormatConfiguration
(CfnDashboard.PercentageDisplayFormatConfigurationProperty percentageDisplayFormatConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
numberDisplayFormatConfiguration
@Stability(Stable) public CfnDashboard.ComparisonFormatConfigurationProperty.Builder numberDisplayFormatConfiguration(IResolvable numberDisplayFormatConfiguration) Sets the value ofCfnDashboard.ComparisonFormatConfigurationProperty.getNumberDisplayFormatConfiguration()
- Parameters:
numberDisplayFormatConfiguration
- The number display format.- Returns:
this
-
numberDisplayFormatConfiguration
@Stability(Stable) public CfnDashboard.ComparisonFormatConfigurationProperty.Builder numberDisplayFormatConfiguration(CfnDashboard.NumberDisplayFormatConfigurationProperty numberDisplayFormatConfiguration) Sets the value ofCfnDashboard.ComparisonFormatConfigurationProperty.getNumberDisplayFormatConfiguration()
- Parameters:
numberDisplayFormatConfiguration
- The number display format.- Returns:
this
-
percentageDisplayFormatConfiguration
@Stability(Stable) public CfnDashboard.ComparisonFormatConfigurationProperty.Builder percentageDisplayFormatConfiguration(IResolvable percentageDisplayFormatConfiguration) Sets the value ofCfnDashboard.ComparisonFormatConfigurationProperty.getPercentageDisplayFormatConfiguration()
- Parameters:
percentageDisplayFormatConfiguration
- The percentage display format.- Returns:
this
-
percentageDisplayFormatConfiguration
@Stability(Stable) public CfnDashboard.ComparisonFormatConfigurationProperty.Builder percentageDisplayFormatConfiguration(CfnDashboard.PercentageDisplayFormatConfigurationProperty percentageDisplayFormatConfiguration) Sets the value ofCfnDashboard.ComparisonFormatConfigurationProperty.getPercentageDisplayFormatConfiguration()
- Parameters:
percentageDisplayFormatConfiguration
- The percentage display format.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.ComparisonFormatConfigurationProperty>
- Returns:
- a new instance of
CfnDashboard.ComparisonFormatConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-