@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()
Confines a search to just the phone numbers associated with the specified area code.
|
String |
getCity()
Confines a search to just the phone numbers associated with the specified city.
|
String |
getCountry()
Confines a search to just the phone numbers associated with the specified country.
|
Integer |
getMaxResults()
The maximum number of results to return.
|
String |
getNextToken()
The token used to return the next page of results.
|
String |
getPhoneNumberType()
Confines a search to just the phone numbers associated with the specified phone number type, either local
or toll-free.
|
String |
getState()
Confines a search to just the phone numbers associated with the specified state.
|
String |
getTollFreePrefix()
Confines a search to just the phone numbers associated with the specified toll-free prefix.
|
int |
hashCode() |
void |
setAreaCode(String areaCode)
Confines a search to just the phone numbers associated with the specified area code.
|
void |
setCity(String city)
Confines a search to just the phone numbers associated with the specified city.
|
void |
setCountry(String country)
Confines a search to just the phone numbers associated with the specified country.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
The token used to return the next page of results.
|
void |
setPhoneNumberType(String phoneNumberType)
Confines a search to just the phone numbers associated with the specified phone number type, either local
or toll-free.
|
void |
setState(String state)
Confines a search to just the phone numbers associated with the specified state.
|
void |
setTollFreePrefix(String tollFreePrefix)
Confines a search to just the phone numbers associated with the specified toll-free prefix.
|
String |
toString()
Returns a string representation of this object.
|
SearchAvailablePhoneNumbersRequest |
withAreaCode(String areaCode)
Confines a search to just the phone numbers associated with the specified area code.
|
SearchAvailablePhoneNumbersRequest |
withCity(String city)
Confines a search to just the phone numbers associated with the specified city.
|
SearchAvailablePhoneNumbersRequest |
withCountry(String country)
Confines a search to just the phone numbers associated with the specified country.
|
SearchAvailablePhoneNumbersRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
SearchAvailablePhoneNumbersRequest |
withNextToken(String nextToken)
The token used to return the next page of results.
|
SearchAvailablePhoneNumbersRequest |
withPhoneNumberType(PhoneNumberType phoneNumberType)
Confines a search to just the phone numbers associated with the specified phone number type, either local
or toll-free.
|
SearchAvailablePhoneNumbersRequest |
withPhoneNumberType(String phoneNumberType)
Confines a search to just the phone numbers associated with the specified phone number type, either local
or toll-free.
|
SearchAvailablePhoneNumbersRequest |
withState(String state)
Confines a search to just the phone numbers associated with the specified state.
|
SearchAvailablePhoneNumbersRequest |
withTollFreePrefix(String tollFreePrefix)
Confines a search to just the phone numbers associated with the specified toll-free prefix.
|
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)
Confines a search to just the phone numbers associated with the specified area code.
areaCode
- Confines a search to just the phone numbers associated with the specified area code.public String getAreaCode()
Confines a search to just the phone numbers associated with the specified area code.
public SearchAvailablePhoneNumbersRequest withAreaCode(String areaCode)
Confines a search to just the phone numbers associated with the specified area code.
areaCode
- Confines a search to just the phone numbers associated with the specified area code.public void setCity(String city)
Confines a search to just the phone numbers associated with the specified city.
city
- Confines a search to just the phone numbers associated with the specified city.public String getCity()
Confines a search to just the phone numbers associated with the specified city.
public SearchAvailablePhoneNumbersRequest withCity(String city)
Confines a search to just the phone numbers associated with the specified city.
city
- Confines a search to just the phone numbers associated with the specified city.public void setCountry(String country)
Confines a search to just the phone numbers associated with the specified country.
country
- Confines a search to just the phone numbers associated with the specified country.public String getCountry()
Confines a search to just the phone numbers associated with the specified country.
public SearchAvailablePhoneNumbersRequest withCountry(String country)
Confines a search to just the phone numbers associated with the specified country.
country
- Confines a search to just the phone numbers associated with the specified country.public void setState(String state)
Confines a search to just the phone numbers associated with the specified state.
state
- Confines a search to just the phone numbers associated with the specified state.public String getState()
Confines a search to just the phone numbers associated with the specified state.
public SearchAvailablePhoneNumbersRequest withState(String state)
Confines a search to just the phone numbers associated with the specified state.
state
- Confines a search to just the phone numbers associated with the specified state.public void setTollFreePrefix(String tollFreePrefix)
Confines a search to just the phone numbers associated with the specified toll-free prefix.
tollFreePrefix
- Confines a search to just the phone numbers associated with the specified toll-free prefix.public String getTollFreePrefix()
Confines a search to just the phone numbers associated with the specified toll-free prefix.
public SearchAvailablePhoneNumbersRequest withTollFreePrefix(String tollFreePrefix)
Confines a search to just the phone numbers associated with the specified toll-free prefix.
tollFreePrefix
- Confines a search to just the phone numbers associated with the specified toll-free prefix.public void setPhoneNumberType(String phoneNumberType)
Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.
phoneNumberType
- Confines a search to just the phone numbers associated with the specified phone number type, either
local or toll-free.PhoneNumberType
public String getPhoneNumberType()
Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.
PhoneNumberType
public SearchAvailablePhoneNumbersRequest withPhoneNumberType(String phoneNumberType)
Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.
phoneNumberType
- Confines a search to just the phone numbers associated with the specified phone number type, either
local or toll-free.PhoneNumberType
public SearchAvailablePhoneNumbersRequest withPhoneNumberType(PhoneNumberType phoneNumberType)
Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.
phoneNumberType
- Confines a search to just the phone numbers associated with the specified phone number type, either
local or toll-free.PhoneNumberType
public void setMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults
- The maximum number of results to return.public Integer getMaxResults()
The maximum number of results to return.
public SearchAvailablePhoneNumbersRequest withMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults
- The maximum number of results to return.public void setNextToken(String nextToken)
The token used to return the next page of results.
nextToken
- The token used to return the next page of results.public String getNextToken()
The token used to return the next page of results.
public SearchAvailablePhoneNumbersRequest withNextToken(String nextToken)
The token used to return the next page of results.
nextToken
- The token used to return the next page of results.public String toString()
toString
in class Object
Object.toString()
public SearchAvailablePhoneNumbersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()