@Generated(value="software.amazon.awssdk:codegen") public final class VoiceMessage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VoiceMessage.Builder,VoiceMessage>
Modifier and Type | Class and Description |
---|---|
static interface |
VoiceMessage.Builder |
Modifier and Type | Method and Description |
---|---|
String |
body()
The message body of the notification, the email body or the text message.
|
static VoiceMessage.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
languageCode()
Language of sent message
|
String |
originationNumber()
Is the number from the pool or messaging service to send from.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VoiceMessage.Builder> |
serializableBuilderClass() |
Map<String,List<String>> |
substitutions()
Default message substitutions.
|
VoiceMessage.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
voiceId()
Voice ID of sent message.
|
copy
public String body()
public String languageCode()
public String originationNumber()
public Map<String,List<String>> substitutions()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String voiceId()
public VoiceMessage.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VoiceMessage.Builder,VoiceMessage>
public static VoiceMessage.Builder builder()
public static Class<? extends VoiceMessage.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.