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