Class CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.PercentageDisplayFormatConfigurationProperty>
- Enclosing interface:
CfnAnalysis.PercentageDisplayFormatConfigurationProperty
@Stability(Stable)
public static final class CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.PercentageDisplayFormatConfigurationProperty>
A builder for
CfnAnalysis.PercentageDisplayFormatConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.decimalPlacesConfiguration
(IResolvable decimalPlacesConfiguration) decimalPlacesConfiguration
(CfnAnalysis.DecimalPlacesConfigurationProperty decimalPlacesConfiguration) negativeValueConfiguration
(IResolvable negativeValueConfiguration) negativeValueConfiguration
(CfnAnalysis.NegativeValueConfigurationProperty negativeValueConfiguration) nullValueFormatConfiguration
(IResolvable nullValueFormatConfiguration) nullValueFormatConfiguration
(CfnAnalysis.NullValueFormatConfigurationProperty nullValueFormatConfiguration) Sets the value ofCfnAnalysis.PercentageDisplayFormatConfigurationProperty.getPrefix()
separatorConfiguration
(IResolvable separatorConfiguration) separatorConfiguration
(CfnAnalysis.NumericSeparatorConfigurationProperty separatorConfiguration) Sets the value ofCfnAnalysis.PercentageDisplayFormatConfigurationProperty.getSuffix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
decimalPlacesConfiguration
@Stability(Stable) public CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder decimalPlacesConfiguration(IResolvable decimalPlacesConfiguration) Sets the value ofCfnAnalysis.PercentageDisplayFormatConfigurationProperty.getDecimalPlacesConfiguration()
- Parameters:
decimalPlacesConfiguration
- The option that determines the decimal places configuration.- Returns:
this
-
decimalPlacesConfiguration
@Stability(Stable) public CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder decimalPlacesConfiguration(CfnAnalysis.DecimalPlacesConfigurationProperty decimalPlacesConfiguration) Sets the value ofCfnAnalysis.PercentageDisplayFormatConfigurationProperty.getDecimalPlacesConfiguration()
- Parameters:
decimalPlacesConfiguration
- The option that determines the decimal places configuration.- Returns:
this
-
negativeValueConfiguration
@Stability(Stable) public CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder negativeValueConfiguration(IResolvable negativeValueConfiguration) Sets the value ofCfnAnalysis.PercentageDisplayFormatConfigurationProperty.getNegativeValueConfiguration()
- Parameters:
negativeValueConfiguration
- The options that determine the negative value configuration.- Returns:
this
-
negativeValueConfiguration
@Stability(Stable) public CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder negativeValueConfiguration(CfnAnalysis.NegativeValueConfigurationProperty negativeValueConfiguration) Sets the value ofCfnAnalysis.PercentageDisplayFormatConfigurationProperty.getNegativeValueConfiguration()
- Parameters:
negativeValueConfiguration
- The options that determine the negative value configuration.- Returns:
this
-
nullValueFormatConfiguration
@Stability(Stable) public CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder nullValueFormatConfiguration(IResolvable nullValueFormatConfiguration) Sets the value ofCfnAnalysis.PercentageDisplayFormatConfigurationProperty.getNullValueFormatConfiguration()
- Parameters:
nullValueFormatConfiguration
- The options that determine the null value format configuration.- Returns:
this
-
nullValueFormatConfiguration
@Stability(Stable) public CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder nullValueFormatConfiguration(CfnAnalysis.NullValueFormatConfigurationProperty nullValueFormatConfiguration) Sets the value ofCfnAnalysis.PercentageDisplayFormatConfigurationProperty.getNullValueFormatConfiguration()
- Parameters:
nullValueFormatConfiguration
- The options that determine the null value format configuration.- Returns:
this
-
prefix
@Stability(Stable) public CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder prefix(String prefix) Sets the value ofCfnAnalysis.PercentageDisplayFormatConfigurationProperty.getPrefix()
- Parameters:
prefix
- Determines the prefix value of the percentage format.- Returns:
this
-
separatorConfiguration
@Stability(Stable) public CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder separatorConfiguration(IResolvable separatorConfiguration) Sets the value ofCfnAnalysis.PercentageDisplayFormatConfigurationProperty.getSeparatorConfiguration()
- Parameters:
separatorConfiguration
- The options that determine the numeric separator configuration.- Returns:
this
-
separatorConfiguration
@Stability(Stable) public CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder separatorConfiguration(CfnAnalysis.NumericSeparatorConfigurationProperty separatorConfiguration) Sets the value ofCfnAnalysis.PercentageDisplayFormatConfigurationProperty.getSeparatorConfiguration()
- Parameters:
separatorConfiguration
- The options that determine the numeric separator configuration.- Returns:
this
-
suffix
@Stability(Stable) public CfnAnalysis.PercentageDisplayFormatConfigurationProperty.Builder suffix(String suffix) Sets the value ofCfnAnalysis.PercentageDisplayFormatConfigurationProperty.getSuffix()
- Parameters:
suffix
- Determines the suffix value of the percentage format.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.PercentageDisplayFormatConfigurationProperty>
- Returns:
- a new instance of
CfnAnalysis.PercentageDisplayFormatConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-