public class ListPhoneNumbersOptedOutResult
extends java.lang.Object
implements java.io.Serializable
The response from the ListPhoneNumbersOptedOut
action.
Constructor and Description |
---|
ListPhoneNumbersOptedOutResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
A
NextToken string is returned when you call the
ListPhoneNumbersOptedOut action if additional records are
available after the first page of results. |
java.util.List<java.lang.String> |
getPhoneNumbers()
A list of phone numbers that are opted out of receiving SMS messages.
|
int |
hashCode() |
void |
setNextToken(java.lang.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(java.util.Collection<java.lang.String> phoneNumbers)
A list of phone numbers that are opted out of receiving SMS messages.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPhoneNumbersOptedOutResult |
withNextToken(java.lang.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(java.util.Collection<java.lang.String> phoneNumbers)
A list of phone numbers that are opted out of receiving SMS messages.
|
ListPhoneNumbersOptedOutResult |
withPhoneNumbers(java.lang.String... phoneNumbers)
A list of phone numbers that are opted out of receiving SMS messages.
|
public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.