@Generated(value="software.amazon.awssdk:codegen") public final class LongFormatText extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LongFormatText.Builder,LongFormatText>
The text format for a subtitle.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LongFormatText.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LongFormatText.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
plainText()
Plain text format.
|
String |
richText()
Rich text.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LongFormatText.Builder> |
serializableBuilderClass() |
LongFormatText.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String plainText()
Plain text format.
public final String richText()
Rich text. Examples of rich text include bold, underline, and italics.
public LongFormatText.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LongFormatText.Builder,LongFormatText>public static LongFormatText.Builder builder()
public static Class<? extends LongFormatText.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.