@Generated(value="software.amazon.awssdk:codegen") public final class Content extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Content.Builder,Content>
The content definition. This can contain only one text, SSML, or audio list object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Content.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<Audio> |
audioList()
The list of audio messages.
|
static Content.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAudioList()
Returns true if the AudioList property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasSsmlList()
Returns true if the SsmlList property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTextList()
Returns true if the TextList property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Content.Builder> |
serializableBuilderClass() |
List<Ssml> |
ssmlList()
The list of SSML messages.
|
List<Text> |
textList()
The list of text messages.
|
Content.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasTextList()
public final List<Text> textList()
The list of text messages.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTextList() to see if a value was sent in this field.
public final boolean hasSsmlList()
public final List<Ssml> ssmlList()
The list of SSML messages.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSsmlList() to see if a value was sent in this field.
public final boolean hasAudioList()
public final List<Audio> audioList()
The list of audio messages.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAudioList() to see if a value was sent in this field.
public Content.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Content.Builder,Content>public static Content.Builder builder()
public static Class<? extends Content.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.