@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AvailableNumberSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about available phone numbers.
| Constructor and Description |
|---|
AvailableNumberSummary() |
| Modifier and Type | Method and Description |
|---|---|
AvailableNumberSummary |
clone() |
boolean |
equals(Object obj) |
String |
getPhoneNumber()
The phone number.
|
String |
getPhoneNumberCountryCode()
The ISO country code.
|
String |
getPhoneNumberType()
The type of phone number.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPhoneNumber(String phoneNumber)
The phone number.
|
void |
setPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
|
void |
setPhoneNumberType(String phoneNumberType)
The type of phone number.
|
String |
toString()
Returns a string representation of this object.
|
AvailableNumberSummary |
withPhoneNumber(String phoneNumber)
The phone number.
|
AvailableNumberSummary |
withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
AvailableNumberSummary |
withPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
|
AvailableNumberSummary |
withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
AvailableNumberSummary |
withPhoneNumberType(String phoneNumberType)
The type of phone number.
|
public void setPhoneNumber(String phoneNumber)
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].
phoneNumber - The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].public String getPhoneNumber()
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].
[+] [country code] [subscriber number including area code].public AvailableNumberSummary withPhoneNumber(String phoneNumber)
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].
phoneNumber - The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].public void setPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode - The ISO country code.PhoneNumberCountryCodepublic String getPhoneNumberCountryCode()
The ISO country code.
PhoneNumberCountryCodepublic AvailableNumberSummary withPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode - The ISO country code.PhoneNumberCountryCodepublic AvailableNumberSummary withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode - The ISO country code.PhoneNumberCountryCodepublic void setPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType - The type of phone number.PhoneNumberTypepublic String getPhoneNumberType()
The type of phone number.
PhoneNumberTypepublic AvailableNumberSummary withPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType - The type of phone number.PhoneNumberTypepublic AvailableNumberSummary withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
phoneNumberType - The type of phone number.PhoneNumberTypepublic String toString()
toString in class ObjectObject.toString()public AvailableNumberSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.