public class NumberValidateResponse
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
NumberValidateResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCarrier()
The carrier or servive provider that the phone number is currently
registered with.
|
java.lang.String |
getCity()
The city where the phone number was originally registered.
|
java.lang.String |
getCleansedPhoneNumberE164()
The cleansed phone number, shown in E.164 format.
|
java.lang.String |
getCleansedPhoneNumberNational()
The cleansed phone number, shown in the local phone number format.
|
java.lang.String |
getCountry()
The country or region where the phone number was originally registered.
|
java.lang.String |
getCountryCodeIso2()
The two-character ISO code for the country or region where the phone
number was originally registered.
|
java.lang.String |
getCountryCodeNumeric()
The numeric code for the country or region where the phone number was
originally registered.
|
java.lang.String |
getCounty()
The county where the phone number was originally registered.
|
java.lang.String |
getOriginalCountryCodeIso2()
The two-character code (in ISO 3166-1 alpha-2 format) for the country or
region in the request body.
|
java.lang.String |
getOriginalPhoneNumber()
The phone number that you included in the request body.
|
java.lang.String |
getPhoneType()
A description of the phone type.
|
java.lang.Integer |
getPhoneTypeCode()
The phone type, represented by an integer.
|
java.lang.String |
getTimezone()
The time zone for the location where the phone number was originally
registered.
|
java.lang.String |
getZipCode()
The postal code for the location where the phone number was originally
registered.
|
int |
hashCode() |
void |
setCarrier(java.lang.String carrier)
The carrier or servive provider that the phone number is currently
registered with.
|
void |
setCity(java.lang.String city)
The city where the phone number was originally registered.
|
void |
setCleansedPhoneNumberE164(java.lang.String cleansedPhoneNumberE164)
The cleansed phone number, shown in E.164 format.
|
void |
setCleansedPhoneNumberNational(java.lang.String cleansedPhoneNumberNational)
The cleansed phone number, shown in the local phone number format.
|
void |
setCountry(java.lang.String country)
The country or region where the phone number was originally registered.
|
void |
setCountryCodeIso2(java.lang.String countryCodeIso2)
The two-character ISO code for the country or region where the phone
number was originally registered.
|
void |
setCountryCodeNumeric(java.lang.String countryCodeNumeric)
The numeric code for the country or region where the phone number was
originally registered.
|
void |
setCounty(java.lang.String county)
The county where the phone number was originally registered.
|
void |
setOriginalCountryCodeIso2(java.lang.String originalCountryCodeIso2)
The two-character code (in ISO 3166-1 alpha-2 format) for the country or
region in the request body.
|
void |
setOriginalPhoneNumber(java.lang.String originalPhoneNumber)
The phone number that you included in the request body.
|
void |
setPhoneType(java.lang.String phoneType)
A description of the phone type.
|
void |
setPhoneTypeCode(java.lang.Integer phoneTypeCode)
The phone type, represented by an integer.
|
void |
setTimezone(java.lang.String timezone)
The time zone for the location where the phone number was originally
registered.
|
void |
setZipCode(java.lang.String zipCode)
The postal code for the location where the phone number was originally
registered.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NumberValidateResponse |
withCarrier(java.lang.String carrier)
The carrier or servive provider that the phone number is currently
registered with.
|
NumberValidateResponse |
withCity(java.lang.String city)
The city where the phone number was originally registered.
|
NumberValidateResponse |
withCleansedPhoneNumberE164(java.lang.String cleansedPhoneNumberE164)
The cleansed phone number, shown in E.164 format.
|
NumberValidateResponse |
withCleansedPhoneNumberNational(java.lang.String cleansedPhoneNumberNational)
The cleansed phone number, shown in the local phone number format.
|
NumberValidateResponse |
withCountry(java.lang.String country)
The country or region where the phone number was originally registered.
|
NumberValidateResponse |
withCountryCodeIso2(java.lang.String countryCodeIso2)
The two-character ISO code for the country or region where the phone
number was originally registered.
|
NumberValidateResponse |
withCountryCodeNumeric(java.lang.String countryCodeNumeric)
The numeric code for the country or region where the phone number was
originally registered.
|
NumberValidateResponse |
withCounty(java.lang.String county)
The county where the phone number was originally registered.
|
NumberValidateResponse |
withOriginalCountryCodeIso2(java.lang.String originalCountryCodeIso2)
The two-character code (in ISO 3166-1 alpha-2 format) for the country or
region in the request body.
|
NumberValidateResponse |
withOriginalPhoneNumber(java.lang.String originalPhoneNumber)
The phone number that you included in the request body.
|
NumberValidateResponse |
withPhoneType(java.lang.String phoneType)
A description of the phone type.
|
NumberValidateResponse |
withPhoneTypeCode(java.lang.Integer phoneTypeCode)
The phone type, represented by an integer.
|
NumberValidateResponse |
withTimezone(java.lang.String timezone)
The time zone for the location where the phone number was originally
registered.
|
NumberValidateResponse |
withZipCode(java.lang.String zipCode)
The postal code for the location where the phone number was originally
registered.
|
public java.lang.String getCarrier()
public void setCarrier(java.lang.String carrier)
carrier
- The carrier or servive provider that the phone number is
currently registered with.public NumberValidateResponse withCarrier(java.lang.String carrier)
Returns a reference to this object so that method calls can be chained together.
carrier
- The carrier or servive provider that the phone number is
currently registered with.public java.lang.String getCity()
public void setCity(java.lang.String city)
city
- The city where the phone number was originally registered.public NumberValidateResponse withCity(java.lang.String city)
Returns a reference to this object so that method calls can be chained together.
city
- The city where the phone number was originally registered.public java.lang.String getCleansedPhoneNumberE164()
public void setCleansedPhoneNumberE164(java.lang.String cleansedPhoneNumberE164)
cleansedPhoneNumberE164
- The cleansed phone number, shown in E.164
format.public NumberValidateResponse withCleansedPhoneNumberE164(java.lang.String cleansedPhoneNumberE164)
Returns a reference to this object so that method calls can be chained together.
cleansedPhoneNumberE164
- The cleansed phone number, shown in E.164
format.public java.lang.String getCleansedPhoneNumberNational()
public void setCleansedPhoneNumberNational(java.lang.String cleansedPhoneNumberNational)
cleansedPhoneNumberNational
- The cleansed phone number, shown in
the local phone number format.public NumberValidateResponse withCleansedPhoneNumberNational(java.lang.String cleansedPhoneNumberNational)
Returns a reference to this object so that method calls can be chained together.
cleansedPhoneNumberNational
- The cleansed phone number, shown in
the local phone number format.public java.lang.String getCountry()
public void setCountry(java.lang.String country)
country
- The country or region where the phone number was
originally registered.public NumberValidateResponse withCountry(java.lang.String country)
Returns a reference to this object so that method calls can be chained together.
country
- The country or region where the phone number was
originally registered.public java.lang.String getCountryCodeIso2()
public void setCountryCodeIso2(java.lang.String countryCodeIso2)
countryCodeIso2
- The two-character ISO code for the country or
region where the phone number was originally registered.public NumberValidateResponse withCountryCodeIso2(java.lang.String countryCodeIso2)
Returns a reference to this object so that method calls can be chained together.
countryCodeIso2
- The two-character ISO code for the country or
region where the phone number was originally registered.public java.lang.String getCountryCodeNumeric()
public void setCountryCodeNumeric(java.lang.String countryCodeNumeric)
countryCodeNumeric
- The numeric code for the country or region
where the phone number was originally registered.public NumberValidateResponse withCountryCodeNumeric(java.lang.String countryCodeNumeric)
Returns a reference to this object so that method calls can be chained together.
countryCodeNumeric
- The numeric code for the country or region
where the phone number was originally registered.public java.lang.String getCounty()
public void setCounty(java.lang.String county)
county
- The county where the phone number was originally
registered.public NumberValidateResponse withCounty(java.lang.String county)
Returns a reference to this object so that method calls can be chained together.
county
- The county where the phone number was originally
registered.public java.lang.String getOriginalCountryCodeIso2()
public void setOriginalCountryCodeIso2(java.lang.String originalCountryCodeIso2)
originalCountryCodeIso2
- The two-character code (in ISO 3166-1
alpha-2 format) for the country or region in the request body.public NumberValidateResponse withOriginalCountryCodeIso2(java.lang.String originalCountryCodeIso2)
Returns a reference to this object so that method calls can be chained together.
originalCountryCodeIso2
- The two-character code (in ISO 3166-1
alpha-2 format) for the country or region in the request body.public java.lang.String getOriginalPhoneNumber()
public void setOriginalPhoneNumber(java.lang.String originalPhoneNumber)
originalPhoneNumber
- The phone number that you included in the
request body.public NumberValidateResponse withOriginalPhoneNumber(java.lang.String originalPhoneNumber)
Returns a reference to this object so that method calls can be chained together.
originalPhoneNumber
- The phone number that you included in the
request body.public java.lang.String getPhoneType()
public void setPhoneType(java.lang.String phoneType)
phoneType
- A description of the phone type. Possible values are
MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.public NumberValidateResponse withPhoneType(java.lang.String phoneType)
Returns a reference to this object so that method calls can be chained together.
phoneType
- A description of the phone type. Possible values are
MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.public java.lang.Integer getPhoneTypeCode()
public void setPhoneTypeCode(java.lang.Integer phoneTypeCode)
phoneTypeCode
- The phone type, represented by an integer. Possible
values include 0 (MOBILE), 1 (LANDLINE), 2 (VOIP), 3
(INVALID), 4 (OTHER), and 5 (PREPAID).public NumberValidateResponse withPhoneTypeCode(java.lang.Integer phoneTypeCode)
Returns a reference to this object so that method calls can be chained together.
phoneTypeCode
- The phone type, represented by an integer. Possible
values include 0 (MOBILE), 1 (LANDLINE), 2 (VOIP), 3
(INVALID), 4 (OTHER), and 5 (PREPAID).public java.lang.String getTimezone()
public void setTimezone(java.lang.String timezone)
timezone
- The time zone for the location where the phone number was
originally registered.public NumberValidateResponse withTimezone(java.lang.String timezone)
Returns a reference to this object so that method calls can be chained together.
timezone
- The time zone for the location where the phone number was
originally registered.public java.lang.String getZipCode()
public void setZipCode(java.lang.String zipCode)
zipCode
- The postal code for the location where the phone number
was originally registered.public NumberValidateResponse withZipCode(java.lang.String zipCode)
Returns a reference to this object so that method calls can be chained together.
zipCode
- The postal code for the location where the phone number
was originally registered.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.