public class ListPhoneNumbersRequest extends AmazonWebServiceRequest implements java.io.Serializable
Provides information about the phone numbers for the specified Amazon Connect instance.
For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
Constructor and Description |
---|
ListPhoneNumbersRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.Integer |
getMaxResults()
The maximimum number of results to return per page.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
java.util.List<java.lang.String> |
getPhoneNumberCountryCodes()
The ISO country code.
|
java.util.List<java.lang.String> |
getPhoneNumberTypes()
The type of phone number.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximimum number of results to return per page.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
void |
setPhoneNumberCountryCodes(java.util.Collection<java.lang.String> phoneNumberCountryCodes)
The ISO country code.
|
void |
setPhoneNumberTypes(java.util.Collection<java.lang.String> phoneNumberTypes)
The type of phone number.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPhoneNumbersRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
ListPhoneNumbersRequest |
withMaxResults(java.lang.Integer maxResults)
The maximimum number of results to return per page.
|
ListPhoneNumbersRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
ListPhoneNumbersRequest |
withPhoneNumberCountryCodes(java.util.Collection<java.lang.String> phoneNumberCountryCodes)
The ISO country code.
|
ListPhoneNumbersRequest |
withPhoneNumberCountryCodes(java.lang.String... phoneNumberCountryCodes)
The ISO country code.
|
ListPhoneNumbersRequest |
withPhoneNumberTypes(java.util.Collection<java.lang.String> phoneNumberTypes)
The type of phone number.
|
ListPhoneNumbersRequest |
withPhoneNumberTypes(java.lang.String... phoneNumberTypes)
The type of phone number.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getInstanceId()
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
instanceId
- The identifier of the Amazon Connect instance.
public ListPhoneNumbersRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId
- The identifier of the Amazon Connect instance.
public java.util.List<java.lang.String> getPhoneNumberTypes()
The type of phone number.
The type of phone number.
public void setPhoneNumberTypes(java.util.Collection<java.lang.String> phoneNumberTypes)
The type of phone number.
phoneNumberTypes
- The type of phone number.
public ListPhoneNumbersRequest withPhoneNumberTypes(java.lang.String... phoneNumberTypes)
The type of phone number.
Returns a reference to this object so that method calls can be chained together.
phoneNumberTypes
- The type of phone number.
public ListPhoneNumbersRequest withPhoneNumberTypes(java.util.Collection<java.lang.String> phoneNumberTypes)
The type of phone number.
Returns a reference to this object so that method calls can be chained together.
phoneNumberTypes
- The type of phone number.
public java.util.List<java.lang.String> getPhoneNumberCountryCodes()
The ISO country code.
The ISO country code.
public void setPhoneNumberCountryCodes(java.util.Collection<java.lang.String> phoneNumberCountryCodes)
The ISO country code.
phoneNumberCountryCodes
- The ISO country code.
public ListPhoneNumbersRequest withPhoneNumberCountryCodes(java.lang.String... phoneNumberCountryCodes)
The ISO country code.
Returns a reference to this object so that method calls can be chained together.
phoneNumberCountryCodes
- The ISO country code.
public ListPhoneNumbersRequest withPhoneNumberCountryCodes(java.util.Collection<java.lang.String> phoneNumberCountryCodes)
The ISO country code.
Returns a reference to this object so that method calls can be chained together.
phoneNumberCountryCodes
- The ISO country code.
public java.lang.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.
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 setNextToken(java.lang.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 ListPhoneNumbersRequest withNextToken(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.Integer getMaxResults()
The maximimum number of results to return per page.
Constraints:
Range: 1 - 1000
The maximimum number of results to return per page.
public void setMaxResults(java.lang.Integer maxResults)
The maximimum number of results to return per page.
Constraints:
Range: 1 - 1000
maxResults
- The maximimum number of results to return per page.
public ListPhoneNumbersRequest withMaxResults(java.lang.Integer maxResults)
The maximimum number of results to return per page.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 1000
maxResults
- The maximimum number of results to return per page.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.