Interface UpdatePoolResponse.Builder

  • Method Details

    • poolArn

      The ARN of the pool.

      Parameters:
      poolArn - The ARN of the pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • poolId

      The unique identifier of the pool.

      Parameters:
      poolId - The unique identifier of the pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the pool update request.

      Parameters:
      status - The current status of the pool update request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the pool update request.

      Parameters:
      status - The current status of the pool update request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • messageType

      UpdatePoolResponse.Builder messageType(String messageType)

      The type of message for the pool to use.

      Parameters:
      messageType - The type of message for the pool to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • messageType

      UpdatePoolResponse.Builder messageType(MessageType messageType)

      The type of message for the pool to use.

      Parameters:
      messageType - The type of message for the pool to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • twoWayEnabled

      UpdatePoolResponse.Builder twoWayEnabled(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.
    • twoWayChannelArn

      UpdatePoolResponse.Builder twoWayChannelArn(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.
    • twoWayChannelRole

      UpdatePoolResponse.Builder twoWayChannelRole(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.
    • selfManagedOptOutsEnabled

      UpdatePoolResponse.Builder selfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)

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

      UpdatePoolResponse.Builder optOutListName(String optOutListName)

      The name of the OptOutList associated with the pool.

      Parameters:
      optOutListName - The name of the OptOutList associated with the pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sharedRoutesEnabled

      UpdatePoolResponse.Builder sharedRoutesEnabled(Boolean sharedRoutesEnabled)

      Indicates whether shared routes are enabled for the pool.

      Parameters:
      sharedRoutesEnabled - Indicates whether shared routes are enabled for the pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deletionProtectionEnabled

      UpdatePoolResponse.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled)

      When set to true the pool can't be deleted.

      Parameters:
      deletionProtectionEnabled - When set to true the pool can't be deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTimestamp

      UpdatePoolResponse.Builder createdTimestamp(Instant createdTimestamp)

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

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