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