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