@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPhoneNumbersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPhoneNumbersRequest() |
Modifier and Type | Method and Description |
---|---|
ListPhoneNumbersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
Integer |
getMaxResults()
The maximimum number of results to return per page.
|
String |
getNextToken()
The token for the next set of results.
|
List<String> |
getPhoneNumberCountryCodes()
The ISO country code.
|
List<String> |
getPhoneNumberTypes()
The type of phone number.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setMaxResults(Integer maxResults)
The maximimum number of results to return per page.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setPhoneNumberCountryCodes(Collection<String> phoneNumberCountryCodes)
The ISO country code.
|
void |
setPhoneNumberTypes(Collection<String> phoneNumberTypes)
The type of phone number.
|
String |
toString()
Returns a string representation of this object.
|
ListPhoneNumbersRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
ListPhoneNumbersRequest |
withMaxResults(Integer maxResults)
The maximimum number of results to return per page.
|
ListPhoneNumbersRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
ListPhoneNumbersRequest |
withPhoneNumberCountryCodes(Collection<String> phoneNumberCountryCodes)
The ISO country code.
|
ListPhoneNumbersRequest |
withPhoneNumberCountryCodes(PhoneNumberCountryCode... phoneNumberCountryCodes)
The ISO country code.
|
ListPhoneNumbersRequest |
withPhoneNumberCountryCodes(String... phoneNumberCountryCodes)
The ISO country code.
|
ListPhoneNumbersRequest |
withPhoneNumberTypes(Collection<String> phoneNumberTypes)
The type of phone number.
|
ListPhoneNumbersRequest |
withPhoneNumberTypes(PhoneNumberType... phoneNumberTypes)
The type of phone number.
|
ListPhoneNumbersRequest |
withPhoneNumberTypes(String... phoneNumberTypes)
The type of phone number.
|
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 setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
instanceId
- The identifier of the Amazon Connect instance.public String getInstanceId()
The identifier of the Amazon Connect instance.
public ListPhoneNumbersRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
instanceId
- The identifier of the Amazon Connect instance.public List<String> getPhoneNumberTypes()
The type of phone number.
PhoneNumberType
public void setPhoneNumberTypes(Collection<String> phoneNumberTypes)
The type of phone number.
phoneNumberTypes
- The type of phone number.PhoneNumberType
public ListPhoneNumbersRequest withPhoneNumberTypes(String... phoneNumberTypes)
The type of phone number.
NOTE: This method appends the values to the existing list (if any). Use
setPhoneNumberTypes(java.util.Collection)
or withPhoneNumberTypes(java.util.Collection)
if you
want to override the existing values.
phoneNumberTypes
- The type of phone number.PhoneNumberType
public ListPhoneNumbersRequest withPhoneNumberTypes(Collection<String> phoneNumberTypes)
The type of phone number.
phoneNumberTypes
- The type of phone number.PhoneNumberType
public ListPhoneNumbersRequest withPhoneNumberTypes(PhoneNumberType... phoneNumberTypes)
The type of phone number.
phoneNumberTypes
- The type of phone number.PhoneNumberType
public List<String> getPhoneNumberCountryCodes()
The ISO country code.
PhoneNumberCountryCode
public void setPhoneNumberCountryCodes(Collection<String> phoneNumberCountryCodes)
The ISO country code.
phoneNumberCountryCodes
- The ISO country code.PhoneNumberCountryCode
public ListPhoneNumbersRequest withPhoneNumberCountryCodes(String... phoneNumberCountryCodes)
The ISO country code.
NOTE: This method appends the values to the existing list (if any). Use
setPhoneNumberCountryCodes(java.util.Collection)
or
withPhoneNumberCountryCodes(java.util.Collection)
if you want to override the existing values.
phoneNumberCountryCodes
- The ISO country code.PhoneNumberCountryCode
public ListPhoneNumbersRequest withPhoneNumberCountryCodes(Collection<String> phoneNumberCountryCodes)
The ISO country code.
phoneNumberCountryCodes
- The ISO country code.PhoneNumberCountryCode
public ListPhoneNumbersRequest withPhoneNumberCountryCodes(PhoneNumberCountryCode... phoneNumberCountryCodes)
The ISO country code.
phoneNumberCountryCodes
- The ISO country code.PhoneNumberCountryCode
public void setNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public ListPhoneNumbersRequest withNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public void setMaxResults(Integer maxResults)
The maximimum number of results to return per page.
maxResults
- The maximimum number of results to return per page.public Integer getMaxResults()
The maximimum number of results to return per page.
public ListPhoneNumbersRequest withMaxResults(Integer maxResults)
The maximimum number of results to return per page.
maxResults
- The maximimum number of results to return per page.public String toString()
toString
in class Object
Object.toString()
public ListPhoneNumbersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.