Class UpdatePhoneNumberRequest

    • Method Detail

      • phoneNumberId

        public final String phoneNumberId()

        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.
      • twoWayEnabled

        public final Boolean twoWayEnabled()

        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.
      • twoWayChannelArn

        public final String twoWayChannelArn()

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

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

        public final String twoWayChannelRole()

        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.
      • selfManagedOptOutsEnabled

        public final 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.

        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.
      • optOutListName

        public final String optOutListName()

        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.
      • deletionProtectionEnabled

        public final Boolean deletionProtectionEnabled()

        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 final 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