public class ListPhoneNumbersOptedOutResult extends Object implements Serializable
The response from the ListPhoneNumbersOptedOut action.
| Constructor and Description |
|---|
ListPhoneNumbersOptedOutResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
A
NextToken string is returned when you call the
ListPhoneNumbersOptedOut action if additional records are
available after the first page of results. |
List<String> |
getPhoneNumbers()
A list of phone numbers that are opted out of receiving SMS messages.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A
NextToken string is returned when you call the
ListPhoneNumbersOptedOut action if additional records are
available after the first page of results. |
void |
setPhoneNumbers(Collection<String> phoneNumbers)
A list of phone numbers that are opted out of receiving SMS messages.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPhoneNumbersOptedOutResult |
withNextToken(String nextToken)
A
NextToken string is returned when you call the
ListPhoneNumbersOptedOut action if additional records are
available after the first page of results. |
ListPhoneNumbersOptedOutResult |
withPhoneNumbers(Collection<String> phoneNumbers)
A list of phone numbers that are opted out of receiving SMS messages.
|
ListPhoneNumbersOptedOutResult |
withPhoneNumbers(String... phoneNumbers)
A list of phone numbers that are opted out of receiving SMS messages.
|
public List<String> getPhoneNumbers()
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.
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.
public void setPhoneNumbers(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.
public ListPhoneNumbersOptedOutResult withPhoneNumbers(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.
Returns a reference to this object so that method calls can be chained together.
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.
public ListPhoneNumbersOptedOutResult withPhoneNumbers(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.
Returns a reference to this object so that method calls can be chained together.
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.
public String getNextToken()
A NextToken string is returned when you call the
ListPhoneNumbersOptedOut action if additional records are
available after the first page of results.
A NextToken string is returned when you call the
ListPhoneNumbersOptedOut action if additional
records are available after the first page of results.
public void setNextToken(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.
public ListPhoneNumbersOptedOutResult withNextToken(String nextToken)
A NextToken string is returned when you call the
ListPhoneNumbersOptedOut action if additional records are
available after the first page of results.
Returns a reference to this object so that method calls can be chained together.
nextToken -
A NextToken string is returned when you call the
ListPhoneNumbersOptedOut action if additional
records are available after the first page of results.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.