@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSMSSandboxPhoneNumberRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSMSSandboxPhoneNumberRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSMSSandboxPhoneNumberRequest |
clone() |
boolean |
equals(Object obj) |
String |
getLanguageCode()
The language to use for sending the OTP.
|
String |
getPhoneNumber()
The destination phone number to verify.
|
int |
hashCode() |
void |
setLanguageCode(String languageCode)
The language to use for sending the OTP.
|
void |
setPhoneNumber(String phoneNumber)
The destination phone number to verify.
|
String |
toString()
Returns a string representation of this object.
|
CreateSMSSandboxPhoneNumberRequest |
withLanguageCode(LanguageCodeString languageCode)
The language to use for sending the OTP.
|
CreateSMSSandboxPhoneNumberRequest |
withLanguageCode(String languageCode)
The language to use for sending the OTP.
|
CreateSMSSandboxPhoneNumberRequest |
withPhoneNumber(String phoneNumber)
The destination phone number to verify.
|
addHandlerContext, copyBaseTo, 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 setPhoneNumber(String phoneNumber)
The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of verified phone numbers that you can send SMS messages to.
phoneNumber
- The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of
verified phone numbers that you can send SMS messages to.public String getPhoneNumber()
The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of verified phone numbers that you can send SMS messages to.
public CreateSMSSandboxPhoneNumberRequest withPhoneNumber(String phoneNumber)
The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of verified phone numbers that you can send SMS messages to.
phoneNumber
- The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of
verified phone numbers that you can send SMS messages to.public void setLanguageCode(String languageCode)
The language to use for sending the OTP. The default value is en-US
.
languageCode
- The language to use for sending the OTP. The default value is en-US
.LanguageCodeString
public String getLanguageCode()
The language to use for sending the OTP. The default value is en-US
.
en-US
.LanguageCodeString
public CreateSMSSandboxPhoneNumberRequest withLanguageCode(String languageCode)
The language to use for sending the OTP. The default value is en-US
.
languageCode
- The language to use for sending the OTP. The default value is en-US
.LanguageCodeString
public CreateSMSSandboxPhoneNumberRequest withLanguageCode(LanguageCodeString languageCode)
The language to use for sending the OTP. The default value is en-US
.
languageCode
- The language to use for sending the OTP. The default value is en-US
.LanguageCodeString
public String toString()
toString
in class Object
Object.toString()
public CreateSMSSandboxPhoneNumberRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.