Interface DisplayFormatOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DisplayFormatOptions.Builder,DisplayFormatOptions>,SdkBuilder<DisplayFormatOptions.Builder,DisplayFormatOptions>,SdkPojo
- Enclosing class:
- DisplayFormatOptions
@Mutable @NotThreadSafe public static interface DisplayFormatOptions.Builder extends SdkPojo, CopyableBuilder<DisplayFormatOptions.Builder,DisplayFormatOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DisplayFormatOptions.BuilderblankCellFormat(String blankCellFormat)Determines the blank cell format.DisplayFormatOptions.BuildercurrencySymbol(String currencySymbol)The currency symbol, such asUSD.DisplayFormatOptions.BuilderdateFormat(String dateFormat)Determines theDateTimeformat.DisplayFormatOptions.BuilderdecimalSeparator(String decimalSeparator)Determines the decimal separator.DisplayFormatOptions.BuilderdecimalSeparator(TopicNumericSeparatorSymbol decimalSeparator)Determines the decimal separator.DisplayFormatOptions.BuilderfractionDigits(Integer fractionDigits)Determines the number of fraction digits.DisplayFormatOptions.BuildergroupingSeparator(String groupingSeparator)Determines the grouping separator.default DisplayFormatOptions.BuildernegativeFormat(Consumer<NegativeFormat.Builder> negativeFormat)The negative format.DisplayFormatOptions.BuildernegativeFormat(NegativeFormat negativeFormat)The negative format.DisplayFormatOptions.Builderprefix(String prefix)The prefix value for a display format.DisplayFormatOptions.Buildersuffix(String suffix)The suffix value for a display format.DisplayFormatOptions.BuilderunitScaler(String unitScaler)The unit scaler.DisplayFormatOptions.BuilderunitScaler(NumberScale unitScaler)The unit scaler.DisplayFormatOptions.BuilderuseBlankCellFormat(Boolean useBlankCellFormat)A Boolean value that indicates whether to use blank cell format.DisplayFormatOptions.BuilderuseGrouping(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
useBlankCellFormat
DisplayFormatOptions.Builder useBlankCellFormat(Boolean 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
DisplayFormatOptions.Builder blankCellFormat(String 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
DisplayFormatOptions.Builder dateFormat(String dateFormat)
Determines the
DateTimeformat.- Parameters:
dateFormat- Determines theDateTimeformat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decimalSeparator
DisplayFormatOptions.Builder decimalSeparator(String 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:
TopicNumericSeparatorSymbol,TopicNumericSeparatorSymbol
-
decimalSeparator
DisplayFormatOptions.Builder decimalSeparator(TopicNumericSeparatorSymbol 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:
TopicNumericSeparatorSymbol,TopicNumericSeparatorSymbol
-
groupingSeparator
DisplayFormatOptions.Builder groupingSeparator(String 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
DisplayFormatOptions.Builder useGrouping(Boolean 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
DisplayFormatOptions.Builder fractionDigits(Integer 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
DisplayFormatOptions.Builder prefix(String 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
DisplayFormatOptions.Builder suffix(String 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
DisplayFormatOptions.Builder unitScaler(String 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:
NumberScale,NumberScale
-
unitScaler
DisplayFormatOptions.Builder unitScaler(NumberScale 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:
NumberScale,NumberScale
-
negativeFormat
DisplayFormatOptions.Builder negativeFormat(NegativeFormat 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.Builderavoiding the need to create one manually viaNegativeFormat.builder().When the
Consumercompletes,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:
negativeFormat(NegativeFormat)
-
currencySymbol
DisplayFormatOptions.Builder currencySymbol(String 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.
-
-