Class CfnTopic.DisplayFormatOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopic.DisplayFormatOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic.DisplayFormatOptionsProperty>
- Enclosing interface:
CfnTopic.DisplayFormatOptionsProperty
@Stability(Stable)
public static final class CfnTopic.DisplayFormatOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic.DisplayFormatOptionsProperty>
A builder for
CfnTopic.DisplayFormatOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionblankCellFormat
(String blankCellFormat) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getBlankCellFormat()
build()
Builds the configured instance.currencySymbol
(String currencySymbol) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getCurrencySymbol()
dateFormat
(String dateFormat) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getDateFormat()
decimalSeparator
(String decimalSeparator) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getDecimalSeparator()
fractionDigits
(Number fractionDigits) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getFractionDigits()
groupingSeparator
(String groupingSeparator) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getGroupingSeparator()
negativeFormat
(IResolvable negativeFormat) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getNegativeFormat()
negativeFormat
(CfnTopic.NegativeFormatProperty negativeFormat) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getNegativeFormat()
Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getPrefix()
Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getSuffix()
unitScaler
(String unitScaler) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getUnitScaler()
useBlankCellFormat
(Boolean useBlankCellFormat) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getUseBlankCellFormat()
useBlankCellFormat
(IResolvable useBlankCellFormat) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getUseBlankCellFormat()
useGrouping
(Boolean useGrouping) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getUseGrouping()
useGrouping
(IResolvable useGrouping) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getUseGrouping()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
blankCellFormat
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder blankCellFormat(String blankCellFormat) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getBlankCellFormat()
- Parameters:
blankCellFormat
- Determines the blank cell format.- Returns:
this
-
currencySymbol
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder currencySymbol(String currencySymbol) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getCurrencySymbol()
- Parameters:
currencySymbol
- The currency symbol, such asUSD
.- Returns:
this
-
dateFormat
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder dateFormat(String dateFormat) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getDateFormat()
- Parameters:
dateFormat
- Determines theDateTime
format.- Returns:
this
-
decimalSeparator
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder decimalSeparator(String decimalSeparator) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getDecimalSeparator()
- Parameters:
decimalSeparator
- Determines the decimal separator.- Returns:
this
-
fractionDigits
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder fractionDigits(Number fractionDigits) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getFractionDigits()
- Parameters:
fractionDigits
- Determines the number of fraction digits.- Returns:
this
-
groupingSeparator
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder groupingSeparator(String groupingSeparator) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getGroupingSeparator()
- Parameters:
groupingSeparator
- Determines the grouping separator.- Returns:
this
-
negativeFormat
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder negativeFormat(IResolvable negativeFormat) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getNegativeFormat()
- Parameters:
negativeFormat
- The negative format.- Returns:
this
-
negativeFormat
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder negativeFormat(CfnTopic.NegativeFormatProperty negativeFormat) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getNegativeFormat()
- Parameters:
negativeFormat
- The negative format.- Returns:
this
-
prefix
Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getPrefix()
- Parameters:
prefix
- The prefix value for a display format.- Returns:
this
-
suffix
Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getSuffix()
- Parameters:
suffix
- The suffix value for a display format.- Returns:
this
-
unitScaler
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder unitScaler(String unitScaler) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getUnitScaler()
- Parameters:
unitScaler
- The unit scaler. Valid values for this structure are:NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
.- Returns:
this
-
useBlankCellFormat
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder useBlankCellFormat(Boolean useBlankCellFormat) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getUseBlankCellFormat()
- Parameters:
useBlankCellFormat
- A Boolean value that indicates whether to use blank cell format.- Returns:
this
-
useBlankCellFormat
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder useBlankCellFormat(IResolvable useBlankCellFormat) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getUseBlankCellFormat()
- Parameters:
useBlankCellFormat
- A Boolean value that indicates whether to use blank cell format.- Returns:
this
-
useGrouping
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder useGrouping(Boolean useGrouping) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getUseGrouping()
- Parameters:
useGrouping
- A Boolean value that indicates whether to use grouping.- Returns:
this
-
useGrouping
@Stability(Stable) public CfnTopic.DisplayFormatOptionsProperty.Builder useGrouping(IResolvable useGrouping) Sets the value ofCfnTopic.DisplayFormatOptionsProperty.getUseGrouping()
- Parameters:
useGrouping
- A Boolean value that indicates whether to use grouping.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopic.DisplayFormatOptionsProperty>
- Returns:
- a new instance of
CfnTopic.DisplayFormatOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-