@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchAvailablePhoneNumbersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchAvailablePhoneNumbersResult() |
Modifier and Type | Method and Description |
---|---|
SearchAvailablePhoneNumbersResult |
clone() |
boolean |
equals(Object obj) |
List<AvailableNumberSummary> |
getAvailableNumbersList()
A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution
group.
|
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
int |
hashCode() |
void |
setAvailableNumbersList(Collection<AvailableNumberSummary> availableNumbersList)
A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution
group.
|
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
SearchAvailablePhoneNumbersResult |
withAvailableNumbersList(AvailableNumberSummary... availableNumbersList)
A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution
group.
|
SearchAvailablePhoneNumbersResult |
withAvailableNumbersList(Collection<AvailableNumberSummary> availableNumbersList)
A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution
group.
|
SearchAvailablePhoneNumbersResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public SearchAvailablePhoneNumbersResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public List<AvailableNumberSummary> getAvailableNumbersList()
A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.
public void setAvailableNumbersList(Collection<AvailableNumberSummary> availableNumbersList)
A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.
availableNumbersList
- A list of available phone numbers that you can claim to your Amazon Connect instance or traffic
distribution group.public SearchAvailablePhoneNumbersResult withAvailableNumbersList(AvailableNumberSummary... availableNumbersList)
A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.
NOTE: This method appends the values to the existing list (if any). Use
setAvailableNumbersList(java.util.Collection)
or withAvailableNumbersList(java.util.Collection)
if you want to override the existing values.
availableNumbersList
- A list of available phone numbers that you can claim to your Amazon Connect instance or traffic
distribution group.public SearchAvailablePhoneNumbersResult withAvailableNumbersList(Collection<AvailableNumberSummary> availableNumbersList)
A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.
availableNumbersList
- A list of available phone numbers that you can claim to your Amazon Connect instance or traffic
distribution group.public String toString()
toString
in class Object
Object.toString()
public SearchAvailablePhoneNumbersResult clone()