@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVerifiedDestinationNumberRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateVerifiedDestinationNumberRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVerifiedDestinationNumberRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getDestinationPhoneNumber()
The verified destination phone number, in E.164 format.
|
List<Tag> |
getTags()
An array of tags (key and value pairs) to associate with the destination number.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDestinationPhoneNumber(String destinationPhoneNumber)
The verified destination phone number, in E.164 format.
|
void |
setTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the destination number.
|
String |
toString()
Returns a string representation of this object.
|
CreateVerifiedDestinationNumberRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateVerifiedDestinationNumberRequest |
withDestinationPhoneNumber(String destinationPhoneNumber)
The verified destination phone number, in E.164 format.
|
CreateVerifiedDestinationNumberRequest |
withTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the destination number.
|
CreateVerifiedDestinationNumberRequest |
withTags(Tag... tags)
An array of tags (key and value pairs) to associate with the destination 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 CreateVerifiedDestinationNumberRequest()
public void setDestinationPhoneNumber(String destinationPhoneNumber)
The verified destination phone number, in E.164 format.
destinationPhoneNumber
- The verified destination phone number, in E.164 format.public String getDestinationPhoneNumber()
The verified destination phone number, in E.164 format.
public CreateVerifiedDestinationNumberRequest withDestinationPhoneNumber(String destinationPhoneNumber)
The verified destination phone number, in E.164 format.
destinationPhoneNumber
- The verified destination phone number, in E.164 format.public List<Tag> getTags()
An array of tags (key and value pairs) to associate with the destination number.
public void setTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the destination number.
tags
- An array of tags (key and value pairs) to associate with the destination number.public CreateVerifiedDestinationNumberRequest withTags(Tag... tags)
An array of tags (key and value pairs) to associate with the destination number.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An array of tags (key and value pairs) to associate with the destination number.public CreateVerifiedDestinationNumberRequest withTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the destination number.
tags
- An array of tags (key and value pairs) to associate with the destination number.public void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't
specify a client token, a randomly generated token is used for the request to ensure idempotency.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
public CreateVerifiedDestinationNumberRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't
specify a client token, a randomly generated token is used for the request to ensure idempotency.public String toString()
toString
in class Object
Object.toString()
public CreateVerifiedDestinationNumberRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()