@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePhoneNumbersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribePhoneNumbersRequest() |
Modifier and Type | Method and Description |
---|---|
DescribePhoneNumbersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<PhoneNumberFilter> |
getFilters()
An array of PhoneNumberFilter objects to filter the results.
|
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> |
getPhoneNumberIds()
The unique identifier of phone numbers to find information about.
|
int |
hashCode() |
void |
setFilters(Collection<PhoneNumberFilter> filters)
An array of PhoneNumberFilter objects to filter the results.
|
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 |
setPhoneNumberIds(Collection<String> phoneNumberIds)
The unique identifier of phone numbers to find information about.
|
String |
toString()
Returns a string representation of this object.
|
DescribePhoneNumbersRequest |
withFilters(Collection<PhoneNumberFilter> filters)
An array of PhoneNumberFilter objects to filter the results.
|
DescribePhoneNumbersRequest |
withFilters(PhoneNumberFilter... filters)
An array of PhoneNumberFilter objects to filter the results.
|
DescribePhoneNumbersRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per each request.
|
DescribePhoneNumbersRequest |
withNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
DescribePhoneNumbersRequest |
withPhoneNumberIds(Collection<String> phoneNumberIds)
The unique identifier of phone numbers to find information about.
|
DescribePhoneNumbersRequest |
withPhoneNumberIds(String... phoneNumberIds)
The unique identifier of phone numbers to find information about.
|
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 List<String> getPhoneNumberIds()
The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
public void setPhoneNumberIds(Collection<String> phoneNumberIds)
The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
phoneNumberIds
- The unique identifier of phone numbers to find information about. This is an array of strings that can be
either the PhoneNumberId or PhoneNumberArn.public DescribePhoneNumbersRequest withPhoneNumberIds(String... phoneNumberIds)
The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
NOTE: This method appends the values to the existing list (if any). Use
setPhoneNumberIds(java.util.Collection)
or withPhoneNumberIds(java.util.Collection)
if you want
to override the existing values.
phoneNumberIds
- The unique identifier of phone numbers to find information about. This is an array of strings that can be
either the PhoneNumberId or PhoneNumberArn.public DescribePhoneNumbersRequest withPhoneNumberIds(Collection<String> phoneNumberIds)
The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
phoneNumberIds
- The unique identifier of phone numbers to find information about. This is an array of strings that can be
either the PhoneNumberId or PhoneNumberArn.public List<PhoneNumberFilter> getFilters()
An array of PhoneNumberFilter objects to filter the results.
public void setFilters(Collection<PhoneNumberFilter> filters)
An array of PhoneNumberFilter objects to filter the results.
filters
- An array of PhoneNumberFilter objects to filter the results.public DescribePhoneNumbersRequest withFilters(PhoneNumberFilter... filters)
An array of PhoneNumberFilter objects to filter the results.
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 PhoneNumberFilter objects to filter the results.public DescribePhoneNumbersRequest withFilters(Collection<PhoneNumberFilter> filters)
An array of PhoneNumberFilter objects to filter the results.
filters
- An array of PhoneNumberFilter objects to filter the results.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 DescribePhoneNumbersRequest 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 DescribePhoneNumbersRequest 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 DescribePhoneNumbersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()