Interface DisplayFormatOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DisplayFormatOptions.Builder,
,DisplayFormatOptions> SdkBuilder<DisplayFormatOptions.Builder,
,DisplayFormatOptions> SdkPojo
- Enclosing class:
DisplayFormatOptions
-
Method Summary
Modifier and TypeMethodDescriptionblankCellFormat
(String blankCellFormat) Determines the blank cell format.currencySymbol
(String currencySymbol) The currency symbol, such asUSD
.dateFormat
(String dateFormat) Determines theDateTime
format.decimalSeparator
(String decimalSeparator) Determines the decimal separator.decimalSeparator
(TopicNumericSeparatorSymbol decimalSeparator) Determines the decimal separator.fractionDigits
(Integer fractionDigits) Determines the number of fraction digits.groupingSeparator
(String groupingSeparator) Determines the grouping separator.default DisplayFormatOptions.Builder
negativeFormat
(Consumer<NegativeFormat.Builder> negativeFormat) The negative format.negativeFormat
(NegativeFormat negativeFormat) The negative format.The prefix value for a display format.The suffix value for a display format.unitScaler
(String unitScaler) The unit scaler.unitScaler
(NumberScale unitScaler) The unit scaler.useBlankCellFormat
(Boolean useBlankCellFormat) A Boolean value that indicates whether to use blank cell format.useGrouping
(Boolean useGrouping) A Boolean value that indicates whether to use grouping.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
useBlankCellFormat
A Boolean value that indicates whether to use blank cell format.
- Parameters:
useBlankCellFormat
- A Boolean value that indicates whether to use blank cell format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blankCellFormat
Determines the blank cell format.
- Parameters:
blankCellFormat
- Determines the blank cell format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateFormat
Determines the
DateTime
format.- Parameters:
dateFormat
- Determines theDateTime
format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decimalSeparator
Determines the decimal separator.
- Parameters:
decimalSeparator
- Determines the decimal separator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
decimalSeparator
Determines the decimal separator.
- Parameters:
decimalSeparator
- Determines the decimal separator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupingSeparator
Determines the grouping separator.
- Parameters:
groupingSeparator
- Determines the grouping separator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useGrouping
A Boolean value that indicates whether to use grouping.
- Parameters:
useGrouping
- A Boolean value that indicates whether to use grouping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fractionDigits
Determines the number of fraction digits.
- Parameters:
fractionDigits
- Determines the number of fraction digits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
The prefix value for a display format.
- Parameters:
prefix
- The prefix value for a display format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suffix
The suffix value for a display format.
- Parameters:
suffix
- The suffix value for a display format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unitScaler
The unit scaler. Valid values for this structure are:
NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
.- Parameters:
unitScaler
- The unit scaler. Valid values for this structure are:NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unitScaler
The unit scaler. Valid values for this structure are:
NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
.- Parameters:
unitScaler
- The unit scaler. Valid values for this structure are:NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
negativeFormat
The negative format.
- Parameters:
negativeFormat
- The negative format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
negativeFormat
default DisplayFormatOptions.Builder negativeFormat(Consumer<NegativeFormat.Builder> negativeFormat) The negative format.
This is a convenience method that creates an instance of theNegativeFormat.Builder
avoiding the need to create one manually viaNegativeFormat.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonegativeFormat(NegativeFormat)
.- Parameters:
negativeFormat
- a consumer that will call methods onNegativeFormat.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currencySymbol
The currency symbol, such as
USD
.- Parameters:
currencySymbol
- The currency symbol, such asUSD
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-