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