public class NumberValidateRequest
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
NumberValidateRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIsoCountryCode()
(Optional) The two-character ISO country code for the country or region
where the phone number was originally registered.
|
java.lang.String |
getPhoneNumber()
The phone number to get information about.
|
int |
hashCode() |
void |
setIsoCountryCode(java.lang.String isoCountryCode)
(Optional) The two-character ISO country code for the country or region
where the phone number was originally registered.
|
void |
setPhoneNumber(java.lang.String phoneNumber)
The phone number to get information about.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NumberValidateRequest |
withIsoCountryCode(java.lang.String isoCountryCode)
(Optional) The two-character ISO country code for the country or region
where the phone number was originally registered.
|
NumberValidateRequest |
withPhoneNumber(java.lang.String phoneNumber)
The phone number to get information about.
|
public java.lang.String getIsoCountryCode()
public void setIsoCountryCode(java.lang.String isoCountryCode)
isoCountryCode - (Optional) The two-character ISO country code for
the country or region where the phone number was originally
registered.public NumberValidateRequest withIsoCountryCode(java.lang.String isoCountryCode)
Returns a reference to this object so that method calls can be chained together.
isoCountryCode - (Optional) The two-character ISO country code for
the country or region where the phone number was originally
registered.public java.lang.String getPhoneNumber()
public void setPhoneNumber(java.lang.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 NumberValidateRequest withPhoneNumber(java.lang.String phoneNumber)
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.