@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NumberValidateRequest extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
NumberValidateRequest() |
| Modifier and Type | Method and Description |
|---|---|
NumberValidateRequest |
clone() |
boolean |
equals(Object obj) |
String |
getIsoCountryCode()
(Optional) The two-character ISO country code for the country or region where the phone number was originally
registered.
|
String |
getPhoneNumber()
The phone number to get information about.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setIsoCountryCode(String isoCountryCode)
(Optional) The two-character ISO country code for the country or region where the phone number was originally
registered.
|
void |
setPhoneNumber(String phoneNumber)
The phone number to get information about.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NumberValidateRequest |
withIsoCountryCode(String isoCountryCode)
(Optional) The two-character ISO country code for the country or region where the phone number was originally
registered.
|
NumberValidateRequest |
withPhoneNumber(String phoneNumber)
The phone number to get information about.
|
public void setIsoCountryCode(String isoCountryCode)
isoCountryCode - (Optional) The two-character ISO country code for the country or region where the phone number was
originally registered.public String getIsoCountryCode()
public NumberValidateRequest withIsoCountryCode(String isoCountryCode)
isoCountryCode - (Optional) The two-character ISO country code for the country or region where the phone number was
originally registered.public void setPhoneNumber(String phoneNumber)
phoneNumber - The phone number to get information about. The phone number that you provide should include a country
code. If the number doesn't include a valid country code, the operation might result in an error.public String getPhoneNumber()
public NumberValidateRequest withPhoneNumber(String phoneNumber)
phoneNumber - The phone number to get information about. The phone number that you provide should include a country
code. If the number doesn't include a valid country code, the operation might result in an error.public String toString()
toString in class ObjectObject.toString()public NumberValidateRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.