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 StringDetermines the blank cell format.static DisplayFormatOptions.Builderbuilder()final StringThe currency symbol, such asUSD.final StringDetermines theDateTimeformat.Determines the decimal separator.final StringDetermines the decimal separator.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final IntegerDetermines the number of fraction digits.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final StringDetermines the grouping separator.final inthashCode()final NegativeFormatThe negative format.final Stringprefix()The prefix value for a display format.static Class<? extends DisplayFormatOptions.Builder> final Stringsuffix()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 StringtoString()Returns a string representation of this object.final NumberScaleThe unit scaler.final StringThe unit scaler.final BooleanA Boolean value that indicates whether to use blank cell format.final BooleanA 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
DateTimeformat.- Returns:
- Determines the
DateTimeformat.
-
decimalSeparator
Determines the decimal separator.
If the service returns an enum value that is not available in the current SDK version,
decimalSeparatorwill 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,
decimalSeparatorwill 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,
unitScalerwill 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,
unitScalerwill 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DisplayFormatOptions.Builder,DisplayFormatOptions> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-