* If there are additional results, this is the token for the next set of results. *
*/ private String nextToken; /** ** A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution * group. *
*/ private java.util.List* If there are additional results, this is the token for the next set of results. *
* * @param nextToken * If there are additional results, this is the token for the next set of results. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** ** If there are additional results, this is the token for the next set of results. *
* * @return If there are additional results, this is the token for the next set of results. */ public String getNextToken() { return this.nextToken; } /** ** If there are additional results, this is the token for the next set of results. *
* * @param nextToken * If there are additional results, this is the token for the next set of results. * @return Returns a reference to this object so that method calls can be chained together. */ public SearchAvailablePhoneNumbersResult withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** ** A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution * group. *
* * @return A list of available phone numbers that you can claim to your Amazon Connect instance or traffic * distribution group. */ public java.util.List* A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution * group. *
* * @param availableNumbersList * A list of available phone numbers that you can claim to your Amazon Connect instance or traffic * distribution group. */ public void setAvailableNumbersList(java.util.Collection* 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 * {@link #setAvailableNumbersList(java.util.Collection)} or {@link #withAvailableNumbersList(java.util.Collection)} * if you want to override the existing values. *
* * @param availableNumbersList * A list of available phone numbers that you can claim to your Amazon Connect instance or traffic * distribution group. * @return Returns a reference to this object so that method calls can be chained together. */ public SearchAvailablePhoneNumbersResult withAvailableNumbersList(AvailableNumberSummary... availableNumbersList) { if (this.availableNumbersList == null) { setAvailableNumbersList(new java.util.ArrayList* A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution * group. *
* * @param availableNumbersList * A list of available phone numbers that you can claim to your Amazon Connect instance or traffic * distribution group. * @return Returns a reference to this object so that method calls can be chained together. */ public SearchAvailablePhoneNumbersResult withAvailableNumbersList(java.util.Collection