@Generated(value="software.amazon.awssdk:codegen") public final class FontConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FontConfiguration.Builder,FontConfiguration>
Configures the display properties of the given text.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FontConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FontConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fontColor()
Determines the color of the text.
|
FontDecoration |
fontDecoration()
Determines the appearance of decorative lines on the text.
|
String |
fontDecorationAsString()
Determines the appearance of decorative lines on the text.
|
FontSize |
fontSize()
The option that determines the text display size.
|
FontStyle |
fontStyle()
Determines the text display face that is inherited by the given font family.
|
String |
fontStyleAsString()
Determines the text display face that is inherited by the given font family.
|
FontWeight |
fontWeight()
The option that determines the text display weight, or boldness.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FontConfiguration.Builder> |
serializableBuilderClass() |
FontConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FontSize fontSize()
The option that determines the text display size.
public final FontDecoration fontDecoration()
Determines the appearance of decorative lines on the text.
If the service returns an enum value that is not available in the current SDK version, fontDecoration
will return FontDecoration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from fontDecorationAsString().
FontDecorationpublic final String fontDecorationAsString()
Determines the appearance of decorative lines on the text.
If the service returns an enum value that is not available in the current SDK version, fontDecoration
will return FontDecoration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from fontDecorationAsString().
FontDecorationpublic final String fontColor()
Determines the color of the text.
public final FontWeight fontWeight()
The option that determines the text display weight, or boldness.
public final FontStyle fontStyle()
Determines the text display face that is inherited by the given font family.
If the service returns an enum value that is not available in the current SDK version, fontStyle will
return FontStyle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fontStyleAsString().
FontStylepublic final String fontStyleAsString()
Determines the text display face that is inherited by the given font family.
If the service returns an enum value that is not available in the current SDK version, fontStyle will
return FontStyle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fontStyleAsString().
FontStylepublic FontConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FontConfiguration.Builder,FontConfiguration>public static FontConfiguration.Builder builder()
public static Class<? extends FontConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.