public class ListPhoneNumbersOptedOutRequest extends AmazonWebServiceRequest implements java.io.Serializable
Returns a list of phone numbers that are opted out, meaning you cannot send SMS messages to them.
The results for ListPhoneNumbersOptedOut
are paginated, and each
page returns up to 100 phone numbers. If additional phone numbers are
available after the first page of results, then a NextToken
string will be returned. To receive the next page, you call
ListPhoneNumbersOptedOut
again using the NextToken
string received from the previous call. When there are no more records to
return, NextToken
will be null.
Constructor and Description |
---|
ListPhoneNumbersOptedOutRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
A
NextToken string is used when you call the
ListPhoneNumbersOptedOut action to retrieve additional
records that are available after the first page of results. |
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
A
NextToken string is used when you call the
ListPhoneNumbersOptedOut action to retrieve additional
records that are available after the first page of results. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPhoneNumbersOptedOutRequest |
withNextToken(java.lang.String nextToken)
A
NextToken string is used when you call the
ListPhoneNumbersOptedOut action to retrieve additional
records that are available after the first page of results. |
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getNextToken()
A NextToken
string is used when you call the
ListPhoneNumbersOptedOut
action to retrieve additional
records that are available after the first page of results.
A NextToken
string is used when you call the
ListPhoneNumbersOptedOut
action to retrieve
additional records that are available after the first page of
results.
public void setNextToken(java.lang.String nextToken)
A NextToken
string is used when you call the
ListPhoneNumbersOptedOut
action to retrieve additional
records that are available after the first page of results.
nextToken
-
A NextToken
string is used when you call the
ListPhoneNumbersOptedOut
action to retrieve
additional records that are available after the first page of
results.
public ListPhoneNumbersOptedOutRequest withNextToken(java.lang.String nextToken)
A NextToken
string is used when you call the
ListPhoneNumbersOptedOut
action to retrieve additional
records that 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 used when you call the
ListPhoneNumbersOptedOut
action to retrieve
additional records that 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.