@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOriginationNumbersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListOriginationNumbersResult() |
Modifier and Type | Method and Description |
---|---|
ListOriginationNumbersResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A
NextToken string is returned when you call the ListOriginationNumbers operation if
additional pages of records are available. |
List<PhoneNumberInformation> |
getPhoneNumbers()
A list of the calling account's verified and pending origination numbers.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A
NextToken string is returned when you call the ListOriginationNumbers operation if
additional pages of records are available. |
void |
setPhoneNumbers(Collection<PhoneNumberInformation> phoneNumbers)
A list of the calling account's verified and pending origination numbers.
|
String |
toString()
Returns a string representation of this object.
|
ListOriginationNumbersResult |
withNextToken(String nextToken)
A
NextToken string is returned when you call the ListOriginationNumbers operation if
additional pages of records are available. |
ListOriginationNumbersResult |
withPhoneNumbers(Collection<PhoneNumberInformation> phoneNumbers)
A list of the calling account's verified and pending origination numbers.
|
ListOriginationNumbersResult |
withPhoneNumbers(PhoneNumberInformation... phoneNumbers)
A list of the calling account's verified and pending origination numbers.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A NextToken
string is returned when you call the ListOriginationNumbers
operation if
additional pages of records are available.
nextToken
- A NextToken
string is returned when you call the ListOriginationNumbers
operation if additional pages of records are available.public String getNextToken()
A NextToken
string is returned when you call the ListOriginationNumbers
operation if
additional pages of records are available.
NextToken
string is returned when you call the ListOriginationNumbers
operation if additional pages of records are available.public ListOriginationNumbersResult withNextToken(String nextToken)
A NextToken
string is returned when you call the ListOriginationNumbers
operation if
additional pages of records are available.
nextToken
- A NextToken
string is returned when you call the ListOriginationNumbers
operation if additional pages of records are available.public List<PhoneNumberInformation> getPhoneNumbers()
A list of the calling account's verified and pending origination numbers.
public void setPhoneNumbers(Collection<PhoneNumberInformation> phoneNumbers)
A list of the calling account's verified and pending origination numbers.
phoneNumbers
- A list of the calling account's verified and pending origination numbers.public ListOriginationNumbersResult withPhoneNumbers(PhoneNumberInformation... phoneNumbers)
A list of the calling account's verified and pending origination numbers.
NOTE: This method appends the values to the existing list (if any). Use
setPhoneNumbers(java.util.Collection)
or withPhoneNumbers(java.util.Collection)
if you want to
override the existing values.
phoneNumbers
- A list of the calling account's verified and pending origination numbers.public ListOriginationNumbersResult withPhoneNumbers(Collection<PhoneNumberInformation> phoneNumbers)
A list of the calling account's verified and pending origination numbers.
phoneNumbers
- A list of the calling account's verified and pending origination numbers.public String toString()
toString
in class Object
Object.toString()
public ListOriginationNumbersResult clone()