Interface PutOptedOutNumberResponse.Builder

  • Method Details

    • optOutListArn

      PutOptedOutNumberResponse.Builder optOutListArn(String optOutListArn)

      The OptOutListArn that the phone number was removed from.

      Parameters:
      optOutListArn - The OptOutListArn that the phone number was removed from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optOutListName

      PutOptedOutNumberResponse.Builder optOutListName(String optOutListName)

      The OptOutListName that the phone number was removed from.

      Parameters:
      optOutListName - The OptOutListName that the phone number was removed from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optedOutNumber

      PutOptedOutNumberResponse.Builder optedOutNumber(String optedOutNumber)

      The phone number that was added to the OptOutList.

      Parameters:
      optedOutNumber - The phone number that was added to the OptOutList.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optedOutTimestamp

      PutOptedOutNumberResponse.Builder optedOutTimestamp(Instant optedOutTimestamp)

      The time that the phone number was added to the OptOutList, in UNIX epoch time format.

      Parameters:
      optedOutTimestamp - The time that the phone number was added to the OptOutList, in UNIX epoch time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endUserOptedOut

      PutOptedOutNumberResponse.Builder endUserOptedOut(Boolean endUserOptedOut)

      This is true if it was the end user who requested their phone number be removed.

      Parameters:
      endUserOptedOut - This is true if it was the end user who requested their phone number be removed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.