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