JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.pinpointsmsvoicev2.model

Class CreateRegistrationResult

    • Constructor Detail

      • CreateRegistrationResult

        public CreateRegistrationResult()
    • Method Detail

      • setRegistrationArn

        public void setRegistrationArn(String registrationArn)

        The Amazon Resource Name (ARN) for the registration.

        Parameters:
        registrationArn - The Amazon Resource Name (ARN) for the registration.
      • getRegistrationArn

        public String getRegistrationArn()

        The Amazon Resource Name (ARN) for the registration.

        Returns:
        The Amazon Resource Name (ARN) for the registration.
      • withRegistrationArn

        public CreateRegistrationResult withRegistrationArn(String registrationArn)

        The Amazon Resource Name (ARN) for the registration.

        Parameters:
        registrationArn - The Amazon Resource Name (ARN) for the registration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRegistrationId

        public void setRegistrationId(String registrationId)

        The unique identifier for the registration.

        Parameters:
        registrationId - The unique identifier for the registration.
      • getRegistrationId

        public String getRegistrationId()

        The unique identifier for the registration.

        Returns:
        The unique identifier for the registration.
      • withRegistrationId

        public CreateRegistrationResult withRegistrationId(String registrationId)

        The unique identifier for the registration.

        Parameters:
        registrationId - The unique identifier for the registration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRegistrationType

        public void setRegistrationType(String registrationType)

        The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

        Parameters:
        registrationType - The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
      • setRegistrationStatus

        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.

        Parameters:
        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.

        See Also:
        RegistrationStatus
      • getRegistrationStatus

        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.

        Returns:
        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.

        See Also:
        RegistrationStatus
      • withRegistrationStatus

        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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RegistrationStatus
      • withRegistrationStatus

        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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RegistrationStatus
      • setCurrentVersionNumber

        public void setCurrentVersionNumber(Long currentVersionNumber)

        The current version number of the registration.

        Parameters:
        currentVersionNumber - The current version number of the registration.
      • getCurrentVersionNumber

        public Long getCurrentVersionNumber()

        The current version number of the registration.

        Returns:
        The current version number of the registration.
      • withCurrentVersionNumber

        public CreateRegistrationResult withCurrentVersionNumber(Long currentVersionNumber)

        The current version number of the registration.

        Parameters:
        currentVersionNumber - The current version number of the registration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAdditionalAttributes

        public Map<String,String> getAdditionalAttributes()

        Metadata about a given registration which is specific to that registration type.

        Returns:
        Metadata about a given registration which is specific to that registration type.
      • setAdditionalAttributes

        public void setAdditionalAttributes(Map<String,String> additionalAttributes)

        Metadata about a given registration which is specific to that registration type.

        Parameters:
        additionalAttributes - Metadata about a given registration which is specific to that registration type.
      • withAdditionalAttributes

        public CreateRegistrationResult withAdditionalAttributes(Map<String,String> additionalAttributes)

        Metadata about a given registration which is specific to that registration type.

        Parameters:
        additionalAttributes - Metadata about a given registration which is specific to that registration type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearAdditionalAttributesEntries

        public CreateRegistrationResult clearAdditionalAttributesEntries()
        Removes all the entries added into AdditionalAttributes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        An array of tags (key and value pairs) to associate with the registration.

        Returns:
        An array of tags (key and value pairs) to associate with the registration.
      • setTags

        public void setTags(Collection<Tag> tags)

        An array of tags (key and value pairs) to associate with the registration.

        Parameters:
        tags - An array of tags (key and value pairs) to associate with the registration.
      • withTags

        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.

        Parameters:
        tags - An array of tags (key and value pairs) to associate with the registration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public CreateRegistrationResult withTags(Collection<Tag> tags)

        An array of tags (key and value pairs) to associate with the registration.

        Parameters:
        tags - An array of tags (key and value pairs) to associate with the registration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreatedTimestamp

        public void setCreatedTimestamp(Date createdTimestamp)

        The time when the registration was created, in UNIX epoch time format.

        Parameters:
        createdTimestamp - The time when the registration was created, in UNIX epoch time format.
      • getCreatedTimestamp

        public Date getCreatedTimestamp()

        The time when the registration was created, in UNIX epoch time format.

        Returns:
        The time when the registration was created, in UNIX epoch time format.
      • withCreatedTimestamp

        public CreateRegistrationResult withCreatedTimestamp(Date createdTimestamp)

        The time when the registration was created, in UNIX epoch time format.

        Parameters:
        createdTimestamp - The time when the registration was created, in UNIX epoch time format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /