Interface OptedOutNumberInformation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<OptedOutNumberInformation.Builder,OptedOutNumberInformation>, SdkBuilder<OptedOutNumberInformation.Builder,OptedOutNumberInformation>, SdkPojo
Enclosing class:
OptedOutNumberInformation

public static interface OptedOutNumberInformation.Builder extends SdkPojo, CopyableBuilder<OptedOutNumberInformation.Builder,OptedOutNumberInformation>
  • Method Details

    • optedOutNumber

      OptedOutNumberInformation.Builder optedOutNumber(String optedOutNumber)

      The phone number that is opted out.

      Parameters:
      optedOutNumber - The phone number that is opted out.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optedOutTimestamp

      OptedOutNumberInformation.Builder optedOutTimestamp(Instant optedOutTimestamp)

      The time that the op tout occurred, in UNIX epoch time format.

      Parameters:
      optedOutTimestamp - The time that the op tout occurred, in UNIX epoch time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endUserOptedOut

      OptedOutNumberInformation.Builder endUserOptedOut(Boolean endUserOptedOut)

      This is set to true if it was the end recipient that opted out.

      Parameters:
      endUserOptedOut - This is set to true if it was the end recipient that opted out.
      Returns:
      Returns a reference to this object so that method calls can be chained together.