CopyableBuilder<ListPhoneNumbersOptedOutResponse.Builder,ListPhoneNumbersOptedOutResponse>
, SdkBuilder<ListPhoneNumbersOptedOutResponse.Builder,ListPhoneNumbersOptedOutResponse>
public static interface ListPhoneNumbersOptedOutResponse.Builder extends CopyableBuilder<ListPhoneNumbersOptedOutResponse.Builder,ListPhoneNumbersOptedOutResponse>
Modifier and Type | Method | Description |
---|---|---|
ListPhoneNumbersOptedOutResponse.Builder |
nextToken(String nextToken) |
A
NextToken string is returned when you call the ListPhoneNumbersOptedOut action if
additional records are available after the first page of results. |
ListPhoneNumbersOptedOutResponse.Builder |
phoneNumbers(String... phoneNumbers) |
A list of phone numbers that are opted out of receiving SMS messages.
|
ListPhoneNumbersOptedOutResponse.Builder |
phoneNumbers(Collection<String> phoneNumbers) |
A list of phone numbers that are opted out of receiving SMS messages.
|
copy
apply, build
ListPhoneNumbersOptedOutResponse.Builder phoneNumbers(Collection<String> phoneNumbers)
A list of phone numbers that are opted out of receiving SMS messages. The list is paginated, and each page can contain up to 100 phone numbers.
phoneNumbers
- A list of phone numbers that are opted out of receiving SMS messages. The list is paginated, and each
page can contain up to 100 phone numbers.ListPhoneNumbersOptedOutResponse.Builder phoneNumbers(String... phoneNumbers)
A list of phone numbers that are opted out of receiving SMS messages. The list is paginated, and each page can contain up to 100 phone numbers.
NOTE: This method appends the values to the existing list (if any). Use
#setPhoneNumbers(java.util.Collection)
or #withPhoneNumbers(java.util.Collection)
if you want
to override the existing values.
phoneNumbers
- A list of phone numbers that are opted out of receiving SMS messages. The list is paginated, and each
page can contain up to 100 phone numbers.ListPhoneNumbersOptedOutResponse.Builder nextToken(String nextToken)
A NextToken
string is returned when you call the ListPhoneNumbersOptedOut
action if
additional records are available after the first page of results.
nextToken
- A NextToken
string is returned when you call the ListPhoneNumbersOptedOut
action if additional records are available after the first page of results.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.