Class SendVoiceMessageRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.pinpointsmsvoice.model.PinpointSmsVoiceRequest
-
- software.amazon.awssdk.services.pinpointsmsvoice.model.SendVoiceMessageRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SendVoiceMessageRequest.Builder,SendVoiceMessageRequest>
@Generated("software.amazon.awssdk:codegen") public final class SendVoiceMessageRequest extends PinpointSmsVoiceRequest implements ToCopyableBuilder<SendVoiceMessageRequest.Builder,SendVoiceMessageRequest>
SendVoiceMessageRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSendVoiceMessageRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SendVoiceMessageRequest.Builderbuilder()StringcallerId()The phone number that appears on recipients' devices when they receive the message.StringconfigurationSetName()The name of the configuration set that you want to use to send the message.VoiceMessageContentcontent()Returns the value of the Content property for this object.StringdestinationPhoneNumber()The phone number that you want to send the voice message to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringoriginationPhoneNumber()The phone number that Amazon Pinpoint should use to send the voice message.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SendVoiceMessageRequest.Builder>serializableBuilderClass()SendVoiceMessageRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
callerId
public final String callerId()
The phone number that appears on recipients' devices when they receive the message.- Returns:
- The phone number that appears on recipients' devices when they receive the message.
-
configurationSetName
public final String configurationSetName()
The name of the configuration set that you want to use to send the message.- Returns:
- The name of the configuration set that you want to use to send the message.
-
content
public final VoiceMessageContent content()
Returns the value of the Content property for this object.- Returns:
- The value of the Content property for this object.
-
destinationPhoneNumber
public final String destinationPhoneNumber()
The phone number that you want to send the voice message to.- Returns:
- The phone number that you want to send the voice message to.
-
originationPhoneNumber
public final String originationPhoneNumber()
The phone number that Amazon Pinpoint should use to send the voice message. This isn't necessarily the phone number that appears on recipients' devices when they receive the message, because you can specify a CallerId parameter in the request.- Returns:
- The phone number that Amazon Pinpoint should use to send the voice message. This isn't necessarily the phone number that appears on recipients' devices when they receive the message, because you can specify a CallerId parameter in the request.
-
toBuilder
public SendVoiceMessageRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SendVoiceMessageRequest.Builder,SendVoiceMessageRequest>- Specified by:
toBuilderin classPinpointSmsVoiceRequest
-
builder
public static SendVoiceMessageRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SendVoiceMessageRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-