@Generated(value="software.amazon.awssdk:codegen") public final class FontSize extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FontSize.Builder,FontSize>
The option that determines the text display size.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FontSize.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FontSize.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RelativeFontSize |
relative()
The lexical name for the text size, proportional to its surrounding context.
|
String |
relativeAsString()
The lexical name for the text size, proportional to its surrounding context.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FontSize.Builder> |
serializableBuilderClass() |
FontSize.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final RelativeFontSize relative()
The lexical name for the text size, proportional to its surrounding context.
If the service returns an enum value that is not available in the current SDK version, relative will
return RelativeFontSize.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
relativeAsString().
RelativeFontSizepublic final String relativeAsString()
The lexical name for the text size, proportional to its surrounding context.
If the service returns an enum value that is not available in the current SDK version, relative will
return RelativeFontSize.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
relativeAsString().
RelativeFontSizepublic FontSize.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FontSize.Builder,FontSize>public static FontSize.Builder builder()
public static Class<? extends FontSize.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.