@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.PhoneNumberCountryCode
public String getPhoneNumberCountryCode()
The ISO country code.
PhoneNumberCountryCode
public AvailableNumberSummary withPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode
- The ISO country code.PhoneNumberCountryCode
public AvailableNumberSummary withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode
- The ISO country code.PhoneNumberCountryCode
public void setPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType
- The type of phone number.PhoneNumberType
public String getPhoneNumberType()
The type of phone number.
PhoneNumberType
public AvailableNumberSummary withPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType
- The type of phone number.PhoneNumberType
public AvailableNumberSummary withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
phoneNumberType
- The type of phone number.PhoneNumberType
public String toString()
toString
in class Object
Object.toString()
public AvailableNumberSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.