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