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 UpdatePhoneNumberRequest

    • Constructor Detail

      • UpdatePhoneNumberRequest

        public UpdatePhoneNumberRequest()
    • Method Detail

      • setPhoneNumberId

        public void setPhoneNumberId(String phoneNumberId)

        The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.

        Parameters:
        phoneNumberId - The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.
      • getPhoneNumberId

        public String getPhoneNumberId()

        The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.

        Returns:
        The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.
      • withPhoneNumberId

        public UpdatePhoneNumberRequest withPhoneNumberId(String phoneNumberId)

        The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.

        Parameters:
        phoneNumberId - The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTwoWayEnabled

        public void setTwoWayEnabled(Boolean twoWayEnabled)

        By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

        Parameters:
        twoWayEnabled - By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
      • getTwoWayEnabled

        public Boolean getTwoWayEnabled()

        By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

        Returns:
        By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
      • withTwoWayEnabled

        public UpdatePhoneNumberRequest withTwoWayEnabled(Boolean twoWayEnabled)

        By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

        Parameters:
        twoWayEnabled - By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isTwoWayEnabled

        public Boolean isTwoWayEnabled()

        By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

        Returns:
        By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
      • setTwoWayChannelArn

        public void setTwoWayChannelArn(String twoWayChannelArn)

        The Amazon Resource Name (ARN) of the two way channel.

        Parameters:
        twoWayChannelArn - The Amazon Resource Name (ARN) of the two way channel.
      • getTwoWayChannelArn

        public String getTwoWayChannelArn()

        The Amazon Resource Name (ARN) of the two way channel.

        Returns:
        The Amazon Resource Name (ARN) of the two way channel.
      • withTwoWayChannelArn

        public UpdatePhoneNumberRequest withTwoWayChannelArn(String twoWayChannelArn)

        The Amazon Resource Name (ARN) of the two way channel.

        Parameters:
        twoWayChannelArn - The Amazon Resource Name (ARN) of the two way channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTwoWayChannelRole

        public void setTwoWayChannelRole(String twoWayChannelRole)

        An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

        Parameters:
        twoWayChannelRole - An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
      • getTwoWayChannelRole

        public String getTwoWayChannelRole()

        An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

        Returns:
        An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
      • withTwoWayChannelRole

        public UpdatePhoneNumberRequest withTwoWayChannelRole(String twoWayChannelRole)

        An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

        Parameters:
        twoWayChannelRole - An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSelfManagedOptOutsEnabled

        public void setSelfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)

        By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

        Parameters:
        selfManagedOptOutsEnabled - By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
      • getSelfManagedOptOutsEnabled

        public Boolean getSelfManagedOptOutsEnabled()

        By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

        Returns:
        By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
      • withSelfManagedOptOutsEnabled

        public UpdatePhoneNumberRequest withSelfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)

        By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

        Parameters:
        selfManagedOptOutsEnabled - By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isSelfManagedOptOutsEnabled

        public Boolean isSelfManagedOptOutsEnabled()

        By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

        Returns:
        By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
      • setOptOutListName

        public void setOptOutListName(String optOutListName)

        The OptOutList to add the phone number to. Valid values for this field can be either the OutOutListName or OutOutListArn.

        Parameters:
        optOutListName - The OptOutList to add the phone number to. Valid values for this field can be either the OutOutListName or OutOutListArn.
      • getOptOutListName

        public String getOptOutListName()

        The OptOutList to add the phone number to. Valid values for this field can be either the OutOutListName or OutOutListArn.

        Returns:
        The OptOutList to add the phone number to. Valid values for this field can be either the OutOutListName or OutOutListArn.
      • withOptOutListName

        public UpdatePhoneNumberRequest withOptOutListName(String optOutListName)

        The OptOutList to add the phone number to. Valid values for this field can be either the OutOutListName or OutOutListArn.

        Parameters:
        optOutListName - The OptOutList to add the phone number to. Valid values for this field can be either the OutOutListName or OutOutListArn.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeletionProtectionEnabled

        public void setDeletionProtectionEnabled(Boolean deletionProtectionEnabled)

        By default this is set to false. When set to true the phone number can't be deleted.

        Parameters:
        deletionProtectionEnabled - By default this is set to false. When set to true the phone number can't be deleted.
      • getDeletionProtectionEnabled

        public Boolean getDeletionProtectionEnabled()

        By default this is set to false. When set to true the phone number can't be deleted.

        Returns:
        By default this is set to false. When set to true the phone number can't be deleted.
      • withDeletionProtectionEnabled

        public UpdatePhoneNumberRequest withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)

        By default this is set to false. When set to true the phone number can't be deleted.

        Parameters:
        deletionProtectionEnabled - By default this is set to false. When set to true the phone number can't be deleted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isDeletionProtectionEnabled

        public Boolean isDeletionProtectionEnabled()

        By default this is set to false. When set to true the phone number can't be deleted.

        Returns:
        By default this is set to false. When set to true the phone number can't be deleted.
      • 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 によって変換されたページ (->オリジナル) /