@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PhoneNumberCountry extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
PhoneNumberCountry() |
Modifier and Type | Method and Description |
---|---|
PhoneNumberCountry |
clone() |
boolean |
equals(Object obj) |
String |
getCountryCode() |
List<String> |
getSupportedPhoneNumberTypes() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCountryCode(String countryCode) |
void |
setSupportedPhoneNumberTypes(Collection<String> supportedPhoneNumberTypes) |
String |
toString()
Returns a string representation of this object.
|
PhoneNumberCountry |
withCountryCode(String countryCode) |
PhoneNumberCountry |
withSupportedPhoneNumberTypes(Collection<String> supportedPhoneNumberTypes) |
PhoneNumberCountry |
withSupportedPhoneNumberTypes(PhoneNumberType... supportedPhoneNumberTypes) |
PhoneNumberCountry |
withSupportedPhoneNumberTypes(String... supportedPhoneNumberTypes)
NOTE: This method appends the values to the existing list (if any).
|
public void setCountryCode(String countryCode)
countryCode
- public String getCountryCode()
public PhoneNumberCountry withCountryCode(String countryCode)
countryCode
- public List<String> getSupportedPhoneNumberTypes()
PhoneNumberType
public void setSupportedPhoneNumberTypes(Collection<String> supportedPhoneNumberTypes)
supportedPhoneNumberTypes
- PhoneNumberType
public PhoneNumberCountry withSupportedPhoneNumberTypes(String... supportedPhoneNumberTypes)
NOTE: This method appends the values to the existing list (if any). Use
setSupportedPhoneNumberTypes(java.util.Collection)
or
withSupportedPhoneNumberTypes(java.util.Collection)
if you want to override the existing values.
supportedPhoneNumberTypes
- PhoneNumberType
public PhoneNumberCountry withSupportedPhoneNumberTypes(Collection<String> supportedPhoneNumberTypes)
supportedPhoneNumberTypes
- PhoneNumberType
public PhoneNumberCountry withSupportedPhoneNumberTypes(PhoneNumberType... supportedPhoneNumberTypes)
supportedPhoneNumberTypes
- PhoneNumberType
public String toString()
toString
in class Object
Object.toString()
public PhoneNumberCountry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.