@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchAvailablePhoneNumbersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchAvailablePhoneNumbersRequest() |
Modifier and Type | Method and Description |
---|---|
SearchAvailablePhoneNumbersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAreaCode()
The area code used to filter results.
|
String |
getCity()
The city used to filter results.
|
String |
getCountry()
The country used to filter results.
|
Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
String |
getState()
The state used to filter results.
|
String |
getTollFreePrefix()
The toll-free prefix that you use to filter results.
|
int |
hashCode() |
void |
setAreaCode(String areaCode)
The area code used to filter results.
|
void |
setCity(String city)
The city used to filter results.
|
void |
setCountry(String country)
The country used to filter results.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setState(String state)
The state used to filter results.
|
void |
setTollFreePrefix(String tollFreePrefix)
The toll-free prefix that you use to filter results.
|
String |
toString()
Returns a string representation of this object.
|
SearchAvailablePhoneNumbersRequest |
withAreaCode(String areaCode)
The area code used to filter results.
|
SearchAvailablePhoneNumbersRequest |
withCity(String city)
The city used to filter results.
|
SearchAvailablePhoneNumbersRequest |
withCountry(String country)
The country used to filter results.
|
SearchAvailablePhoneNumbersRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
SearchAvailablePhoneNumbersRequest |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
SearchAvailablePhoneNumbersRequest |
withState(String state)
The state used to filter results.
|
SearchAvailablePhoneNumbersRequest |
withTollFreePrefix(String tollFreePrefix)
The toll-free prefix that you use to filter results.
|
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 setAreaCode(String areaCode)
The area code used to filter results.
areaCode
- The area code used to filter results.public String getAreaCode()
The area code used to filter results.
public SearchAvailablePhoneNumbersRequest withAreaCode(String areaCode)
The area code used to filter results.
areaCode
- The area code used to filter results.public void setCity(String city)
The city used to filter results.
city
- The city used to filter results.public String getCity()
The city used to filter results.
public SearchAvailablePhoneNumbersRequest withCity(String city)
The city used to filter results.
city
- The city used to filter results.public void setCountry(String country)
The country used to filter results.
country
- The country used to filter results.public String getCountry()
The country used to filter results.
public SearchAvailablePhoneNumbersRequest withCountry(String country)
The country used to filter results.
country
- The country used to filter results.public void setState(String state)
The state used to filter results.
state
- The state used to filter results.public String getState()
The state used to filter results.
public SearchAvailablePhoneNumbersRequest withState(String state)
The state used to filter results.
state
- The state used to filter results.public void setTollFreePrefix(String tollFreePrefix)
The toll-free prefix that you use to filter results.
tollFreePrefix
- The toll-free prefix that you use to filter results.public String getTollFreePrefix()
The toll-free prefix that you use to filter results.
public SearchAvailablePhoneNumbersRequest withTollFreePrefix(String tollFreePrefix)
The toll-free prefix that you use to filter results.
tollFreePrefix
- The toll-free prefix that you use to filter results.public void setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
maxResults
- The maximum number of results to return in a single call.public Integer getMaxResults()
The maximum number of results to return in a single call.
public SearchAvailablePhoneNumbersRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
maxResults
- The maximum number of results to return in a single call.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String getNextToken()
The token to use to retrieve the next page of results.
public SearchAvailablePhoneNumbersRequest withNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String toString()
toString
in class Object
Object.toString()
public SearchAvailablePhoneNumbersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.