@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendDestinationNumberVerificationCodeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SendDestinationNumberVerificationCodeRequest() |
Modifier and Type | Method and Description |
---|---|
SendDestinationNumberVerificationCodeRequest |
addContextEntry(String key,
String value)
Add a single Context entry
|
SendDestinationNumberVerificationCodeRequest |
addDestinationCountryParametersEntry(String key,
String value)
Add a single DestinationCountryParameters entry
|
SendDestinationNumberVerificationCodeRequest |
clearContextEntries()
Removes all the entries added into Context.
|
SendDestinationNumberVerificationCodeRequest |
clearDestinationCountryParametersEntries()
Removes all the entries added into DestinationCountryParameters.
|
SendDestinationNumberVerificationCodeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConfigurationSetName()
The name of the configuration set to use.
|
Map<String,String> |
getContext()
You can specify custom data in this field.
|
Map<String,String> |
getDestinationCountryParameters()
This field is used for any country-specific registration requirements.
|
String |
getLanguageCode()
Choose the language to use for the message.
|
String |
getOriginationIdentity()
The origination identity of the message.
|
String |
getVerificationChannel()
Choose to send the verification code as an SMS or voice message.
|
String |
getVerifiedDestinationNumberId()
The unique identifier for the verified destination phone number.
|
int |
hashCode() |
void |
setConfigurationSetName(String configurationSetName)
The name of the configuration set to use.
|
void |
setContext(Map<String,String> context)
You can specify custom data in this field.
|
void |
setDestinationCountryParameters(Map<String,String> destinationCountryParameters)
This field is used for any country-specific registration requirements.
|
void |
setLanguageCode(String languageCode)
Choose the language to use for the message.
|
void |
setOriginationIdentity(String originationIdentity)
The origination identity of the message.
|
void |
setVerificationChannel(String verificationChannel)
Choose to send the verification code as an SMS or voice message.
|
void |
setVerifiedDestinationNumberId(String verifiedDestinationNumberId)
The unique identifier for the verified destination phone number.
|
String |
toString()
Returns a string representation of this object.
|
SendDestinationNumberVerificationCodeRequest |
withConfigurationSetName(String configurationSetName)
The name of the configuration set to use.
|
SendDestinationNumberVerificationCodeRequest |
withContext(Map<String,String> context)
You can specify custom data in this field.
|
SendDestinationNumberVerificationCodeRequest |
withDestinationCountryParameters(Map<String,String> destinationCountryParameters)
This field is used for any country-specific registration requirements.
|
SendDestinationNumberVerificationCodeRequest |
withLanguageCode(LanguageCode languageCode)
Choose the language to use for the message.
|
SendDestinationNumberVerificationCodeRequest |
withLanguageCode(String languageCode)
Choose the language to use for the message.
|
SendDestinationNumberVerificationCodeRequest |
withOriginationIdentity(String originationIdentity)
The origination identity of the message.
|
SendDestinationNumberVerificationCodeRequest |
withVerificationChannel(String verificationChannel)
Choose to send the verification code as an SMS or voice message.
|
SendDestinationNumberVerificationCodeRequest |
withVerificationChannel(VerificationChannel verificationChannel)
Choose to send the verification code as an SMS or voice message.
|
SendDestinationNumberVerificationCodeRequest |
withVerifiedDestinationNumberId(String verifiedDestinationNumberId)
The unique identifier for the verified destination phone number.
|
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 SendDestinationNumberVerificationCodeRequest()
public void setVerifiedDestinationNumberId(String verifiedDestinationNumberId)
The unique identifier for the verified destination phone number.
verifiedDestinationNumberId
- The unique identifier for the verified destination phone number.public String getVerifiedDestinationNumberId()
The unique identifier for the verified destination phone number.
public SendDestinationNumberVerificationCodeRequest withVerifiedDestinationNumberId(String verifiedDestinationNumberId)
The unique identifier for the verified destination phone number.
verifiedDestinationNumberId
- The unique identifier for the verified destination phone number.public void setVerificationChannel(String verificationChannel)
Choose to send the verification code as an SMS or voice message.
verificationChannel
- Choose to send the verification code as an SMS or voice message.VerificationChannel
public String getVerificationChannel()
Choose to send the verification code as an SMS or voice message.
VerificationChannel
public SendDestinationNumberVerificationCodeRequest withVerificationChannel(String verificationChannel)
Choose to send the verification code as an SMS or voice message.
verificationChannel
- Choose to send the verification code as an SMS or voice message.VerificationChannel
public SendDestinationNumberVerificationCodeRequest withVerificationChannel(VerificationChannel verificationChannel)
Choose to send the verification code as an SMS or voice message.
verificationChannel
- Choose to send the verification code as an SMS or voice message.VerificationChannel
public void setLanguageCode(String languageCode)
Choose the language to use for the message.
languageCode
- Choose the language to use for the message.LanguageCode
public String getLanguageCode()
Choose the language to use for the message.
LanguageCode
public SendDestinationNumberVerificationCodeRequest withLanguageCode(String languageCode)
Choose the language to use for the message.
languageCode
- Choose the language to use for the message.LanguageCode
public SendDestinationNumberVerificationCodeRequest withLanguageCode(LanguageCode languageCode)
Choose the language to use for the message.
languageCode
- Choose the language to use for the message.LanguageCode
public void setOriginationIdentity(String originationIdentity)
The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
originationIdentity
- The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId,
PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.public String getOriginationIdentity()
The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
public SendDestinationNumberVerificationCodeRequest withOriginationIdentity(String originationIdentity)
The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
originationIdentity
- The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId,
PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.public void setConfigurationSetName(String configurationSetName)
The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
configurationSetName
- The name of the configuration set to use. This can be either the ConfigurationSetName or
ConfigurationSetArn.public String getConfigurationSetName()
The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
public SendDestinationNumberVerificationCodeRequest withConfigurationSetName(String configurationSetName)
The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
configurationSetName
- The name of the configuration set to use. This can be either the ConfigurationSetName or
ConfigurationSetArn.public Map<String,String> getContext()
You can specify custom data in this field. If you do, that data is logged to the event destination.
public void setContext(Map<String,String> context)
You can specify custom data in this field. If you do, that data is logged to the event destination.
context
- You can specify custom data in this field. If you do, that data is logged to the event destination.public SendDestinationNumberVerificationCodeRequest withContext(Map<String,String> context)
You can specify custom data in this field. If you do, that data is logged to the event destination.
context
- You can specify custom data in this field. If you do, that data is logged to the event destination.public SendDestinationNumberVerificationCodeRequest addContextEntry(String key, String value)
public SendDestinationNumberVerificationCodeRequest clearContextEntries()
public Map<String,String> getDestinationCountryParameters()
This field is used for any country-specific registration requirements. Currently, this setting is only used when you send messages to recipients in India using a sender ID. For more information see Special requirements for sending SMS messages to recipients in India.
public void setDestinationCountryParameters(Map<String,String> destinationCountryParameters)
This field is used for any country-specific registration requirements. Currently, this setting is only used when you send messages to recipients in India using a sender ID. For more information see Special requirements for sending SMS messages to recipients in India.
destinationCountryParameters
- This field is used for any country-specific registration requirements. Currently, this setting is only
used when you send messages to recipients in India using a sender ID. For more information see Special
requirements for sending SMS messages to recipients in India.public SendDestinationNumberVerificationCodeRequest withDestinationCountryParameters(Map<String,String> destinationCountryParameters)
This field is used for any country-specific registration requirements. Currently, this setting is only used when you send messages to recipients in India using a sender ID. For more information see Special requirements for sending SMS messages to recipients in India.
destinationCountryParameters
- This field is used for any country-specific registration requirements. Currently, this setting is only
used when you send messages to recipients in India using a sender ID. For more information see Special
requirements for sending SMS messages to recipients in India.public SendDestinationNumberVerificationCodeRequest addDestinationCountryParametersEntry(String key, String value)
public SendDestinationNumberVerificationCodeRequest clearDestinationCountryParametersEntries()
public String toString()
toString
in class Object
Object.toString()
public SendDestinationNumberVerificationCodeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()