Class DisplayFormatOptions
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DisplayFormatOptions.Builder,
DisplayFormatOptions>
A structure that represents additional options for display formatting.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Determines the blank cell format.static DisplayFormatOptions.Builder
builder()
final String
The currency symbol, such asUSD
.final String
Determines theDateTime
format.Determines the decimal separator.final String
Determines the decimal separator.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Integer
Determines the number of fraction digits.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final String
Determines the grouping separator.final int
hashCode()
final NegativeFormat
The negative format.final String
prefix()
The prefix value for a display format.static Class
<? extends DisplayFormatOptions.Builder> final String
suffix()
The suffix value for a display format.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final NumberScale
The unit scaler.final String
The unit scaler.final Boolean
A Boolean value that indicates whether to use blank cell format.final Boolean
A Boolean value that indicates whether to use grouping.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
useBlankCellFormat
A Boolean value that indicates whether to use blank cell format.
- Returns:
- A Boolean value that indicates whether to use blank cell format.
-
blankCellFormat
Determines the blank cell format.
- Returns:
- Determines the blank cell format.
-
dateFormat
Determines the
DateTime
format.- Returns:
- Determines the
DateTime
format.
-
decimalSeparator
Determines the decimal separator.
If the service returns an enum value that is not available in the current SDK version,
decimalSeparator
will returnTopicNumericSeparatorSymbol.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdecimalSeparatorAsString()
.- Returns:
- Determines the decimal separator.
- See Also:
-
decimalSeparatorAsString
Determines the decimal separator.
If the service returns an enum value that is not available in the current SDK version,
decimalSeparator
will returnTopicNumericSeparatorSymbol.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdecimalSeparatorAsString()
.- Returns:
- Determines the decimal separator.
- See Also:
-
groupingSeparator
Determines the grouping separator.
- Returns:
- Determines the grouping separator.
-
useGrouping
A Boolean value that indicates whether to use grouping.
- Returns:
- A Boolean value that indicates whether to use grouping.
-
fractionDigits
Determines the number of fraction digits.
- Returns:
- Determines the number of fraction digits.
-
prefix
The prefix value for a display format.
- Returns:
- The prefix value for a display format.
-
suffix
The suffix value for a display format.
- Returns:
- The suffix value for a display format.
-
unitScaler
The unit scaler. Valid values for this structure are:
NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
.If the service returns an enum value that is not available in the current SDK version,
unitScaler
will returnNumberScale.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromunitScalerAsString()
.- Returns:
- The unit scaler. Valid values for this structure are:
NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
. - See Also:
-
unitScalerAsString
The unit scaler. Valid values for this structure are:
NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
.If the service returns an enum value that is not available in the current SDK version,
unitScaler
will returnNumberScale.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromunitScalerAsString()
.- Returns:
- The unit scaler. Valid values for this structure are:
NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
. - See Also:
-
negativeFormat
-
currencySymbol
The currency symbol, such as
USD
.- Returns:
- The currency symbol, such as
USD
.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DisplayFormatOptions.Builder,
DisplayFormatOptions> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-