@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRegistrationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateRegistrationResult() |
Modifier and Type | Method and Description |
---|---|
CreateRegistrationResult |
addAdditionalAttributesEntry(String key,
String value)
Add a single AdditionalAttributes entry
|
CreateRegistrationResult |
clearAdditionalAttributesEntries()
Removes all the entries added into AdditionalAttributes.
|
CreateRegistrationResult |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalAttributes()
Metadata about a given registration which is specific to that registration type.
|
Date |
getCreatedTimestamp()
The time when the registration was created, in UNIX epoch time
format.
|
Long |
getCurrentVersionNumber()
The current version number of the registration.
|
String |
getRegistrationArn()
The Amazon Resource Name (ARN) for the registration.
|
String |
getRegistrationId()
The unique identifier for the registration.
|
String |
getRegistrationStatus()
The status of the registration.
|
String |
getRegistrationType()
The type of registration form to create.
|
List<Tag> |
getTags()
An array of tags (key and value pairs) to associate with the registration.
|
int |
hashCode() |
void |
setAdditionalAttributes(Map<String,String> additionalAttributes)
Metadata about a given registration which is specific to that registration type.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The time when the registration was created, in UNIX epoch time
format.
|
void |
setCurrentVersionNumber(Long currentVersionNumber)
The current version number of the registration.
|
void |
setRegistrationArn(String registrationArn)
The Amazon Resource Name (ARN) for the registration.
|
void |
setRegistrationId(String registrationId)
The unique identifier for the registration.
|
void |
setRegistrationStatus(String registrationStatus)
The status of the registration.
|
void |
setRegistrationType(String registrationType)
The type of registration form to create.
|
void |
setTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the registration.
|
String |
toString()
Returns a string representation of this object.
|
CreateRegistrationResult |
withAdditionalAttributes(Map<String,String> additionalAttributes)
Metadata about a given registration which is specific to that registration type.
|
CreateRegistrationResult |
withCreatedTimestamp(Date createdTimestamp)
The time when the registration was created, in UNIX epoch time
format.
|
CreateRegistrationResult |
withCurrentVersionNumber(Long currentVersionNumber)
The current version number of the registration.
|
CreateRegistrationResult |
withRegistrationArn(String registrationArn)
The Amazon Resource Name (ARN) for the registration.
|
CreateRegistrationResult |
withRegistrationId(String registrationId)
The unique identifier for the registration.
|
CreateRegistrationResult |
withRegistrationStatus(RegistrationStatus registrationStatus)
The status of the registration.
|
CreateRegistrationResult |
withRegistrationStatus(String registrationStatus)
The status of the registration.
|
CreateRegistrationResult |
withRegistrationType(String registrationType)
The type of registration form to create.
|
CreateRegistrationResult |
withTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the registration.
|
CreateRegistrationResult |
withTags(Tag... tags)
An array of tags (key and value pairs) to associate with the registration.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRegistrationArn(String registrationArn)
The Amazon Resource Name (ARN) for the registration.
registrationArn
- The Amazon Resource Name (ARN) for the registration.public String getRegistrationArn()
The Amazon Resource Name (ARN) for the registration.
public CreateRegistrationResult withRegistrationArn(String registrationArn)
The Amazon Resource Name (ARN) for the registration.
registrationArn
- The Amazon Resource Name (ARN) for the registration.public void setRegistrationId(String registrationId)
The unique identifier for the registration.
registrationId
- The unique identifier for the registration.public String getRegistrationId()
The unique identifier for the registration.
public CreateRegistrationResult withRegistrationId(String registrationId)
The unique identifier for the registration.
registrationId
- The unique identifier for the registration.public void setRegistrationType(String registrationType)
The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
registrationType
- The type of registration form to create. The list of RegistrationTypes can be found using the
DescribeRegistrationTypeDefinitions action.public String getRegistrationType()
The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
public CreateRegistrationResult withRegistrationType(String registrationType)
The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
registrationType
- The type of registration form to create. The list of RegistrationTypes can be found using the
DescribeRegistrationTypeDefinitions action.public void setRegistrationStatus(String registrationStatus)
The status of the registration.
CREATED
: Your registration is created but not submitted.
SUBMITTED
: Your registration has been submitted and is awaiting review.
REVIEWING
: Your registration has been accepted and is being reviewed.
PROVISIONING
: Your registration has been approved and your origination identity is being created.
COMPLETE
: Your registration has been approved and and your origination identity has been created.
REQUIRES_UPDATES
: You must fix your registration and resubmit it.
CLOSED
: The phone number or sender ID has been deleted and you must also delete the registration for
the number.
DELETED
: The registration has been deleted.
registrationStatus
- The status of the registration.
CREATED
: Your registration is created but not submitted.
SUBMITTED
: Your registration has been submitted and is awaiting review.
REVIEWING
: Your registration has been accepted and is being reviewed.
PROVISIONING
: Your registration has been approved and your origination identity is being
created.
COMPLETE
: Your registration has been approved and and your origination identity has been
created.
REQUIRES_UPDATES
: You must fix your registration and resubmit it.
CLOSED
: The phone number or sender ID has been deleted and you must also delete the
registration for the number.
DELETED
: The registration has been deleted.
RegistrationStatus
public String getRegistrationStatus()
The status of the registration.
CREATED
: Your registration is created but not submitted.
SUBMITTED
: Your registration has been submitted and is awaiting review.
REVIEWING
: Your registration has been accepted and is being reviewed.
PROVISIONING
: Your registration has been approved and your origination identity is being created.
COMPLETE
: Your registration has been approved and and your origination identity has been created.
REQUIRES_UPDATES
: You must fix your registration and resubmit it.
CLOSED
: The phone number or sender ID has been deleted and you must also delete the registration for
the number.
DELETED
: The registration has been deleted.
CREATED
: Your registration is created but not submitted.
SUBMITTED
: Your registration has been submitted and is awaiting review.
REVIEWING
: Your registration has been accepted and is being reviewed.
PROVISIONING
: Your registration has been approved and your origination identity is being
created.
COMPLETE
: Your registration has been approved and and your origination identity has been
created.
REQUIRES_UPDATES
: You must fix your registration and resubmit it.
CLOSED
: The phone number or sender ID has been deleted and you must also delete the
registration for the number.
DELETED
: The registration has been deleted.
RegistrationStatus
public CreateRegistrationResult withRegistrationStatus(String registrationStatus)
The status of the registration.
CREATED
: Your registration is created but not submitted.
SUBMITTED
: Your registration has been submitted and is awaiting review.
REVIEWING
: Your registration has been accepted and is being reviewed.
PROVISIONING
: Your registration has been approved and your origination identity is being created.
COMPLETE
: Your registration has been approved and and your origination identity has been created.
REQUIRES_UPDATES
: You must fix your registration and resubmit it.
CLOSED
: The phone number or sender ID has been deleted and you must also delete the registration for
the number.
DELETED
: The registration has been deleted.
registrationStatus
- The status of the registration.
CREATED
: Your registration is created but not submitted.
SUBMITTED
: Your registration has been submitted and is awaiting review.
REVIEWING
: Your registration has been accepted and is being reviewed.
PROVISIONING
: Your registration has been approved and your origination identity is being
created.
COMPLETE
: Your registration has been approved and and your origination identity has been
created.
REQUIRES_UPDATES
: You must fix your registration and resubmit it.
CLOSED
: The phone number or sender ID has been deleted and you must also delete the
registration for the number.
DELETED
: The registration has been deleted.
RegistrationStatus
public CreateRegistrationResult withRegistrationStatus(RegistrationStatus registrationStatus)
The status of the registration.
CREATED
: Your registration is created but not submitted.
SUBMITTED
: Your registration has been submitted and is awaiting review.
REVIEWING
: Your registration has been accepted and is being reviewed.
PROVISIONING
: Your registration has been approved and your origination identity is being created.
COMPLETE
: Your registration has been approved and and your origination identity has been created.
REQUIRES_UPDATES
: You must fix your registration and resubmit it.
CLOSED
: The phone number or sender ID has been deleted and you must also delete the registration for
the number.
DELETED
: The registration has been deleted.
registrationStatus
- The status of the registration.
CREATED
: Your registration is created but not submitted.
SUBMITTED
: Your registration has been submitted and is awaiting review.
REVIEWING
: Your registration has been accepted and is being reviewed.
PROVISIONING
: Your registration has been approved and your origination identity is being
created.
COMPLETE
: Your registration has been approved and and your origination identity has been
created.
REQUIRES_UPDATES
: You must fix your registration and resubmit it.
CLOSED
: The phone number or sender ID has been deleted and you must also delete the
registration for the number.
DELETED
: The registration has been deleted.
RegistrationStatus
public void setCurrentVersionNumber(Long currentVersionNumber)
The current version number of the registration.
currentVersionNumber
- The current version number of the registration.public Long getCurrentVersionNumber()
The current version number of the registration.
public CreateRegistrationResult withCurrentVersionNumber(Long currentVersionNumber)
The current version number of the registration.
currentVersionNumber
- The current version number of the registration.public Map<String,String> getAdditionalAttributes()
Metadata about a given registration which is specific to that registration type.
public void setAdditionalAttributes(Map<String,String> additionalAttributes)
Metadata about a given registration which is specific to that registration type.
additionalAttributes
- Metadata about a given registration which is specific to that registration type.public CreateRegistrationResult withAdditionalAttributes(Map<String,String> additionalAttributes)
Metadata about a given registration which is specific to that registration type.
additionalAttributes
- Metadata about a given registration which is specific to that registration type.public CreateRegistrationResult addAdditionalAttributesEntry(String key, String value)
public CreateRegistrationResult clearAdditionalAttributesEntries()
public List<Tag> getTags()
An array of tags (key and value pairs) to associate with the registration.
public void setTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the registration.
tags
- An array of tags (key and value pairs) to associate with the registration.public CreateRegistrationResult withTags(Tag... tags)
An array of tags (key and value pairs) to associate with the registration.
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 registration.public CreateRegistrationResult withTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the registration.
tags
- An array of tags (key and value pairs) to associate with the registration.public void setCreatedTimestamp(Date createdTimestamp)
The time when the registration was created, in UNIX epoch time format.
createdTimestamp
- The time when the registration was created, in UNIX epoch
time format.public Date getCreatedTimestamp()
The time when the registration was created, in UNIX epoch time format.
public CreateRegistrationResult withCreatedTimestamp(Date createdTimestamp)
The time when the registration was created, in UNIX epoch time format.
createdTimestamp
- The time when the registration was created, in UNIX epoch
time format.public String toString()
toString
in class Object
Object.toString()
public CreateRegistrationResult clone()