@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegistrationInformation extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the requested registration.
Constructor and Description |
---|
RegistrationInformation() |
Modifier and Type | Method and Description |
---|---|
RegistrationInformation |
addAdditionalAttributesEntry(String key,
String value)
Add a single AdditionalAttributes entry
|
RegistrationInformation |
clearAdditionalAttributesEntries()
Removes all the entries added into AdditionalAttributes.
|
RegistrationInformation |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalAttributes()
Metadata about a given registration which is specific to that registration type.
|
Long |
getApprovedVersionNumber()
The version number of the registration that was approved.
|
Date |
getCreatedTimestamp()
The time when the registration was created, in UNIX epoch time
format.
|
Long |
getCurrentVersionNumber()
The current version number of the registration.
|
Long |
getLatestDeniedVersionNumber()
The latest version number of the registration that was denied.
|
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalAttributes(Map<String,String> additionalAttributes)
Metadata about a given registration which is specific to that registration type.
|
void |
setApprovedVersionNumber(Long approvedVersionNumber)
The version number of the registration that was approved.
|
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 |
setLatestDeniedVersionNumber(Long latestDeniedVersionNumber)
The latest version number of the registration that was denied.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
RegistrationInformation |
withAdditionalAttributes(Map<String,String> additionalAttributes)
Metadata about a given registration which is specific to that registration type.
|
RegistrationInformation |
withApprovedVersionNumber(Long approvedVersionNumber)
The version number of the registration that was approved.
|
RegistrationInformation |
withCreatedTimestamp(Date createdTimestamp)
The time when the registration was created, in UNIX epoch time
format.
|
RegistrationInformation |
withCurrentVersionNumber(Long currentVersionNumber)
The current version number of the registration.
|
RegistrationInformation |
withLatestDeniedVersionNumber(Long latestDeniedVersionNumber)
The latest version number of the registration that was denied.
|
RegistrationInformation |
withRegistrationArn(String registrationArn)
The Amazon Resource Name (ARN) for the registration.
|
RegistrationInformation |
withRegistrationId(String registrationId)
The unique identifier for the registration.
|
RegistrationInformation |
withRegistrationStatus(RegistrationStatus registrationStatus)
The status of the registration.
|
RegistrationInformation |
withRegistrationStatus(String registrationStatus)
The status of the registration.
|
RegistrationInformation |
withRegistrationType(String registrationType)
The type of registration form.
|
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 RegistrationInformation 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 RegistrationInformation 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. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
registrationType
- The type of registration form. The list of RegistrationTypes can be found using the
DescribeRegistrationTypeDefinitions action.public String getRegistrationType()
The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
public RegistrationInformation withRegistrationType(String registrationType)
The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
registrationType
- The type of registration form. 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 RegistrationInformation 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 RegistrationInformation 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 RegistrationInformation withCurrentVersionNumber(Long currentVersionNumber)
The current version number of the registration.
currentVersionNumber
- The current version number of the registration.public void setApprovedVersionNumber(Long approvedVersionNumber)
The version number of the registration that was approved.
approvedVersionNumber
- The version number of the registration that was approved.public Long getApprovedVersionNumber()
The version number of the registration that was approved.
public RegistrationInformation withApprovedVersionNumber(Long approvedVersionNumber)
The version number of the registration that was approved.
approvedVersionNumber
- The version number of the registration that was approved.public void setLatestDeniedVersionNumber(Long latestDeniedVersionNumber)
The latest version number of the registration that was denied.
latestDeniedVersionNumber
- The latest version number of the registration that was denied.public Long getLatestDeniedVersionNumber()
The latest version number of the registration that was denied.
public RegistrationInformation withLatestDeniedVersionNumber(Long latestDeniedVersionNumber)
The latest version number of the registration that was denied.
latestDeniedVersionNumber
- The latest version number of the registration that was denied.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 RegistrationInformation 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 RegistrationInformation addAdditionalAttributesEntry(String key, String value)
public RegistrationInformation clearAdditionalAttributesEntries()
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 RegistrationInformation 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 RegistrationInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.