@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<String> |
getE164PhoneNumbers()
List of phone numbers, in E.164 format.
|
String |
getNextToken()
The token used to retrieve the next page of search results.
|
int |
hashCode() |
void |
setE164PhoneNumbers(Collection<String> e164PhoneNumbers)
List of phone numbers, in E.164 format.
|
void |
setNextToken(String nextToken)
The token used to retrieve the next page of search results.
|
String |
toString()
Returns a string representation of this object.
|
SearchAvailablePhoneNumbersResult |
withE164PhoneNumbers(Collection<String> e164PhoneNumbers)
List of phone numbers, in E.164 format.
|
SearchAvailablePhoneNumbersResult |
withE164PhoneNumbers(String... e164PhoneNumbers)
List of phone numbers, in E.164 format.
|
SearchAvailablePhoneNumbersResult |
withNextToken(String nextToken)
The token used to retrieve the next page of search results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getE164PhoneNumbers()
List of phone numbers, in E.164 format.
public void setE164PhoneNumbers(Collection<String> e164PhoneNumbers)
List of phone numbers, in E.164 format.
e164PhoneNumbers
- List of phone numbers, in E.164 format.public SearchAvailablePhoneNumbersResult withE164PhoneNumbers(String... e164PhoneNumbers)
List of phone numbers, in E.164 format.
NOTE: This method appends the values to the existing list (if any). Use
setE164PhoneNumbers(java.util.Collection)
or withE164PhoneNumbers(java.util.Collection)
if you
want to override the existing values.
e164PhoneNumbers
- List of phone numbers, in E.164 format.public SearchAvailablePhoneNumbersResult withE164PhoneNumbers(Collection<String> e164PhoneNumbers)
List of phone numbers, in E.164 format.
e164PhoneNumbers
- List of phone numbers, in E.164 format.public void setNextToken(String nextToken)
The token used to retrieve the next page of search results.
nextToken
- The token used to retrieve the next page of search results.public String getNextToken()
The token used to retrieve the next page of search results.
public SearchAvailablePhoneNumbersResult withNextToken(String nextToken)
The token used to retrieve the next page of search results.
nextToken
- The token used to retrieve the next page of search results.public String toString()
toString
in class Object
Object.toString()
public SearchAvailablePhoneNumbersResult clone()
Copyright © 2023. All rights reserved.