@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVerifiedDestinationNumberResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateVerifiedDestinationNumberResult() |
Modifier and Type | Method and Description |
---|---|
CreateVerifiedDestinationNumberResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTimestamp()
The time when the verified phone number was created, in UNIX epoch
time format.
|
String |
getDestinationPhoneNumber()
The verified destination phone number, in E.164 format.
|
String |
getStatus()
The status of the verified destination phone number.
|
List<Tag> |
getTags()
An array of tags (key and value pairs) to associate with the destination number.
|
String |
getVerifiedDestinationNumberArn()
The Amazon Resource Name (ARN) for the verified destination phone number.
|
String |
getVerifiedDestinationNumberId()
The unique identifier for the verified destination phone number.
|
int |
hashCode() |
void |
setCreatedTimestamp(Date createdTimestamp)
The time when the verified phone number was created, in UNIX epoch
time format.
|
void |
setDestinationPhoneNumber(String destinationPhoneNumber)
The verified destination phone number, in E.164 format.
|
void |
setStatus(String status)
The status of the verified destination phone number.
|
void |
setTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the destination number.
|
void |
setVerifiedDestinationNumberArn(String verifiedDestinationNumberArn)
The Amazon Resource Name (ARN) for the verified destination phone number.
|
void |
setVerifiedDestinationNumberId(String verifiedDestinationNumberId)
The unique identifier for the verified destination phone number.
|
String |
toString()
Returns a string representation of this object.
|
CreateVerifiedDestinationNumberResult |
withCreatedTimestamp(Date createdTimestamp)
The time when the verified phone number was created, in UNIX epoch
time format.
|
CreateVerifiedDestinationNumberResult |
withDestinationPhoneNumber(String destinationPhoneNumber)
The verified destination phone number, in E.164 format.
|
CreateVerifiedDestinationNumberResult |
withStatus(String status)
The status of the verified destination phone number.
|
CreateVerifiedDestinationNumberResult |
withStatus(VerificationStatus status)
The status of the verified destination phone number.
|
CreateVerifiedDestinationNumberResult |
withTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the destination number.
|
CreateVerifiedDestinationNumberResult |
withTags(Tag... tags)
An array of tags (key and value pairs) to associate with the destination number.
|
CreateVerifiedDestinationNumberResult |
withVerifiedDestinationNumberArn(String verifiedDestinationNumberArn)
The Amazon Resource Name (ARN) for the verified destination phone number.
|
CreateVerifiedDestinationNumberResult |
withVerifiedDestinationNumberId(String verifiedDestinationNumberId)
The unique identifier for the verified destination phone number.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public CreateVerifiedDestinationNumberResult()
public void setVerifiedDestinationNumberArn(String verifiedDestinationNumberArn)
The Amazon Resource Name (ARN) for the verified destination phone number.
verifiedDestinationNumberArn
- The Amazon Resource Name (ARN) for the verified destination phone number.public String getVerifiedDestinationNumberArn()
The Amazon Resource Name (ARN) for the verified destination phone number.
public CreateVerifiedDestinationNumberResult withVerifiedDestinationNumberArn(String verifiedDestinationNumberArn)
The Amazon Resource Name (ARN) for the verified destination phone number.
verifiedDestinationNumberArn
- The Amazon Resource Name (ARN) for the verified destination phone number.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 CreateVerifiedDestinationNumberResult withVerifiedDestinationNumberId(String verifiedDestinationNumberId)
The unique identifier for the verified destination phone number.
verifiedDestinationNumberId
- The unique identifier for the verified destination phone number.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 CreateVerifiedDestinationNumberResult withDestinationPhoneNumber(String destinationPhoneNumber)
The verified destination phone number, in E.164 format.
destinationPhoneNumber
- The verified destination phone number, in E.164 format.public void setStatus(String status)
The status of the verified destination phone number.
PENDING
: The phone number hasn't been verified yet.
VERIFIED
: The phone number is verified and can receive messages.
status
- The status of the verified destination phone number.
PENDING
: The phone number hasn't been verified yet.
VERIFIED
: The phone number is verified and can receive messages.
VerificationStatus
public String getStatus()
The status of the verified destination phone number.
PENDING
: The phone number hasn't been verified yet.
VERIFIED
: The phone number is verified and can receive messages.
PENDING
: The phone number hasn't been verified yet.
VERIFIED
: The phone number is verified and can receive messages.
VerificationStatus
public CreateVerifiedDestinationNumberResult withStatus(String status)
The status of the verified destination phone number.
PENDING
: The phone number hasn't been verified yet.
VERIFIED
: The phone number is verified and can receive messages.
status
- The status of the verified destination phone number.
PENDING
: The phone number hasn't been verified yet.
VERIFIED
: The phone number is verified and can receive messages.
VerificationStatus
public CreateVerifiedDestinationNumberResult withStatus(VerificationStatus status)
The status of the verified destination phone number.
PENDING
: The phone number hasn't been verified yet.
VERIFIED
: The phone number is verified and can receive messages.
status
- The status of the verified destination phone number.
PENDING
: The phone number hasn't been verified yet.
VERIFIED
: The phone number is verified and can receive messages.
VerificationStatus
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 CreateVerifiedDestinationNumberResult 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 CreateVerifiedDestinationNumberResult 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 setCreatedTimestamp(Date createdTimestamp)
The time when the verified phone number was created, in UNIX epoch time format.
createdTimestamp
- The time when the verified phone number was created, in UNIX
epoch time format.public Date getCreatedTimestamp()
The time when the verified phone number was created, in UNIX epoch time format.
public CreateVerifiedDestinationNumberResult withCreatedTimestamp(Date createdTimestamp)
The time when the verified phone number was created, in UNIX epoch time format.
createdTimestamp
- The time when the verified phone number was created, in UNIX
epoch time format.public String toString()
toString
in class Object
Object.toString()
public CreateVerifiedDestinationNumberResult clone()