@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeOptedOutNumbersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeOptedOutNumbersRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeOptedOutNumbersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<OptedOutFilter> |
getFilters()
An array of OptedOutFilter objects to filter the results on.
|
Integer |
getMaxResults()
The maximum number of results to return per each request.
|
String |
getNextToken()
The token to be used for the next set of paginated results.
|
List<String> |
getOptedOutNumbers()
An array of phone numbers to search for in the OptOutList.
|
String |
getOptOutListName()
The OptOutListName or OptOutListArn of the OptOutList.
|
int |
hashCode() |
void |
setFilters(Collection<OptedOutFilter> filters)
An array of OptedOutFilter objects to filter the results on.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per each request.
|
void |
setNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
void |
setOptedOutNumbers(Collection<String> optedOutNumbers)
An array of phone numbers to search for in the OptOutList.
|
void |
setOptOutListName(String optOutListName)
The OptOutListName or OptOutListArn of the OptOutList.
|
String |
toString()
Returns a string representation of this object.
|
DescribeOptedOutNumbersRequest |
withFilters(Collection<OptedOutFilter> filters)
An array of OptedOutFilter objects to filter the results on.
|
DescribeOptedOutNumbersRequest |
withFilters(OptedOutFilter... filters)
An array of OptedOutFilter objects to filter the results on.
|
DescribeOptedOutNumbersRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per each request.
|
DescribeOptedOutNumbersRequest |
withNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
DescribeOptedOutNumbersRequest |
withOptedOutNumbers(Collection<String> optedOutNumbers)
An array of phone numbers to search for in the OptOutList.
|
DescribeOptedOutNumbersRequest |
withOptedOutNumbers(String... optedOutNumbers)
An array of phone numbers to search for in the OptOutList.
|
DescribeOptedOutNumbersRequest |
withOptOutListName(String optOutListName)
The OptOutListName or OptOutListArn of the OptOutList.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setOptOutListName(String optOutListName)
The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.
optOutListName
- The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the
values for OptOutListName and OptOutListArn.public String getOptOutListName()
The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.
public DescribeOptedOutNumbersRequest withOptOutListName(String optOutListName)
The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.
optOutListName
- The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the
values for OptOutListName and OptOutListArn.public List<String> getOptedOutNumbers()
An array of phone numbers to search for in the OptOutList.
public void setOptedOutNumbers(Collection<String> optedOutNumbers)
An array of phone numbers to search for in the OptOutList.
optedOutNumbers
- An array of phone numbers to search for in the OptOutList.public DescribeOptedOutNumbersRequest withOptedOutNumbers(String... optedOutNumbers)
An array of phone numbers to search for in the OptOutList.
NOTE: This method appends the values to the existing list (if any). Use
setOptedOutNumbers(java.util.Collection)
or withOptedOutNumbers(java.util.Collection)
if you
want to override the existing values.
optedOutNumbers
- An array of phone numbers to search for in the OptOutList.public DescribeOptedOutNumbersRequest withOptedOutNumbers(Collection<String> optedOutNumbers)
An array of phone numbers to search for in the OptOutList.
optedOutNumbers
- An array of phone numbers to search for in the OptOutList.public List<OptedOutFilter> getFilters()
An array of OptedOutFilter objects to filter the results on.
public void setFilters(Collection<OptedOutFilter> filters)
An array of OptedOutFilter objects to filter the results on.
filters
- An array of OptedOutFilter objects to filter the results on.public DescribeOptedOutNumbersRequest withFilters(OptedOutFilter... filters)
An array of OptedOutFilter objects to filter the results on.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- An array of OptedOutFilter objects to filter the results on.public DescribeOptedOutNumbersRequest withFilters(Collection<OptedOutFilter> filters)
An array of OptedOutFilter objects to filter the results on.
filters
- An array of OptedOutFilter objects to filter the results on.public void setNextToken(String nextToken)
The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
nextToken
- The token to be used for the next set of paginated results. You don't need to supply a value for this
field in the initial request.public String getNextToken()
The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
public DescribeOptedOutNumbersRequest withNextToken(String nextToken)
The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
nextToken
- The token to be used for the next set of paginated results. You don't need to supply a value for this
field in the initial request.public void setMaxResults(Integer maxResults)
The maximum number of results to return per each request.
maxResults
- The maximum number of results to return per each request.public Integer getMaxResults()
The maximum number of results to return per each request.
public DescribeOptedOutNumbersRequest withMaxResults(Integer maxResults)
The maximum number of results to return per each request.
maxResults
- The maximum number of results to return per each request.public String toString()
toString
in class Object
Object.toString()
public DescribeOptedOutNumbersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()