@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendVoiceMessageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SendVoiceMessageRequest() |
Modifier and Type | Method and Description |
---|---|
SendVoiceMessageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCallerId()
The phone number that appears on recipients' devices when they receive the message.
|
String |
getConfigurationSetName()
The name of the configuration set that you want to use to send the message.
|
VoiceMessageContent |
getContent() |
String |
getDestinationPhoneNumber()
The phone number that you want to send the voice message to.
|
String |
getOriginationPhoneNumber()
The phone number that Amazon Pinpoint should use to send the voice message.
|
int |
hashCode() |
void |
setCallerId(String callerId)
The phone number that appears on recipients' devices when they receive the message.
|
void |
setConfigurationSetName(String configurationSetName)
The name of the configuration set that you want to use to send the message.
|
void |
setContent(VoiceMessageContent content) |
void |
setDestinationPhoneNumber(String destinationPhoneNumber)
The phone number that you want to send the voice message to.
|
void |
setOriginationPhoneNumber(String originationPhoneNumber)
The phone number that Amazon Pinpoint should use to send the voice message.
|
String |
toString()
Returns a string representation of this object.
|
SendVoiceMessageRequest |
withCallerId(String callerId)
The phone number that appears on recipients' devices when they receive the message.
|
SendVoiceMessageRequest |
withConfigurationSetName(String configurationSetName)
The name of the configuration set that you want to use to send the message.
|
SendVoiceMessageRequest |
withContent(VoiceMessageContent content) |
SendVoiceMessageRequest |
withDestinationPhoneNumber(String destinationPhoneNumber)
The phone number that you want to send the voice message to.
|
SendVoiceMessageRequest |
withOriginationPhoneNumber(String originationPhoneNumber)
The phone number that Amazon Pinpoint should use to send the voice message.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCallerId(String callerId)
callerId
- The phone number that appears on recipients' devices when they receive the message.public String getCallerId()
public SendVoiceMessageRequest withCallerId(String callerId)
callerId
- The phone number that appears on recipients' devices when they receive the message.public void setConfigurationSetName(String configurationSetName)
configurationSetName
- The name of the configuration set that you want to use to send the message.public String getConfigurationSetName()
public SendVoiceMessageRequest withConfigurationSetName(String configurationSetName)
configurationSetName
- The name of the configuration set that you want to use to send the message.public void setContent(VoiceMessageContent content)
content
- public VoiceMessageContent getContent()
public SendVoiceMessageRequest withContent(VoiceMessageContent content)
content
- public void setDestinationPhoneNumber(String destinationPhoneNumber)
destinationPhoneNumber
- The phone number that you want to send the voice message to.public String getDestinationPhoneNumber()
public SendVoiceMessageRequest withDestinationPhoneNumber(String destinationPhoneNumber)
destinationPhoneNumber
- The phone number that you want to send the voice message to.public void setOriginationPhoneNumber(String originationPhoneNumber)
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.public String getOriginationPhoneNumber()
public SendVoiceMessageRequest withOriginationPhoneNumber(String originationPhoneNumber)
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.public String toString()
toString
in class Object
Object.toString()
public SendVoiceMessageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()