@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NumberValidateResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a phone number.
Constructor and Description |
---|
NumberValidateResponse() |
Modifier and Type | Method and Description |
---|---|
NumberValidateResponse |
clone() |
boolean |
equals(Object obj) |
String |
getCarrier()
The carrier or service provider that the phone number is currently registered with.
|
String |
getCity()
The name of the city where the phone number was originally registered.
|
String |
getCleansedPhoneNumberE164()
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
|
String |
getCleansedPhoneNumberNational()
The cleansed phone number, in the format for the location where the phone number was originally registered.
|
String |
getCountry()
The name of the country or region where the phone number was originally registered.
|
String |
getCountryCodeIso2()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was
originally registered.
|
String |
getCountryCodeNumeric()
The numeric code for the country or region where the phone number was originally registered.
|
String |
getCounty()
The name of the county where the phone number was originally registered.
|
String |
getOriginalCountryCodeIso2()
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
|
String |
getOriginalPhoneNumber()
The phone number that was sent in the request body.
|
String |
getPhoneType()
The description of the phone type.
|
Integer |
getPhoneTypeCode()
The phone type, represented by an integer.
|
String |
getTimezone()
The time zone for the location where the phone number was originally registered.
|
String |
getZipCode()
The postal or ZIP code for the location where the phone number was originally registered.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCarrier(String carrier)
The carrier or service provider that the phone number is currently registered with.
|
void |
setCity(String city)
The name of the city where the phone number was originally registered.
|
void |
setCleansedPhoneNumberE164(String cleansedPhoneNumberE164)
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
|
void |
setCleansedPhoneNumberNational(String cleansedPhoneNumberNational)
The cleansed phone number, in the format for the location where the phone number was originally registered.
|
void |
setCountry(String country)
The name of the country or region where the phone number was originally registered.
|
void |
setCountryCodeIso2(String countryCodeIso2)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was
originally registered.
|
void |
setCountryCodeNumeric(String countryCodeNumeric)
The numeric code for the country or region where the phone number was originally registered.
|
void |
setCounty(String county)
The name of the county where the phone number was originally registered.
|
void |
setOriginalCountryCodeIso2(String originalCountryCodeIso2)
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
|
void |
setOriginalPhoneNumber(String originalPhoneNumber)
The phone number that was sent in the request body.
|
void |
setPhoneType(String phoneType)
The description of the phone type.
|
void |
setPhoneTypeCode(Integer phoneTypeCode)
The phone type, represented by an integer.
|
void |
setTimezone(String timezone)
The time zone for the location where the phone number was originally registered.
|
void |
setZipCode(String zipCode)
The postal or ZIP code for the location where the phone number was originally registered.
|
String |
toString()
Returns a string representation of this object.
|
NumberValidateResponse |
withCarrier(String carrier)
The carrier or service provider that the phone number is currently registered with.
|
NumberValidateResponse |
withCity(String city)
The name of the city where the phone number was originally registered.
|
NumberValidateResponse |
withCleansedPhoneNumberE164(String cleansedPhoneNumberE164)
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
|
NumberValidateResponse |
withCleansedPhoneNumberNational(String cleansedPhoneNumberNational)
The cleansed phone number, in the format for the location where the phone number was originally registered.
|
NumberValidateResponse |
withCountry(String country)
The name of the country or region where the phone number was originally registered.
|
NumberValidateResponse |
withCountryCodeIso2(String countryCodeIso2)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was
originally registered.
|
NumberValidateResponse |
withCountryCodeNumeric(String countryCodeNumeric)
The numeric code for the country or region where the phone number was originally registered.
|
NumberValidateResponse |
withCounty(String county)
The name of the county where the phone number was originally registered.
|
NumberValidateResponse |
withOriginalCountryCodeIso2(String originalCountryCodeIso2)
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
|
NumberValidateResponse |
withOriginalPhoneNumber(String originalPhoneNumber)
The phone number that was sent in the request body.
|
NumberValidateResponse |
withPhoneType(String phoneType)
The description of the phone type.
|
NumberValidateResponse |
withPhoneTypeCode(Integer phoneTypeCode)
The phone type, represented by an integer.
|
NumberValidateResponse |
withTimezone(String timezone)
The time zone for the location where the phone number was originally registered.
|
NumberValidateResponse |
withZipCode(String zipCode)
The postal or ZIP code for the location where the phone number was originally registered.
|
public void setCarrier(String carrier)
The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.
carrier
- The carrier or service provider that the phone number is currently registered with. In some countries and
regions, this value may be the carrier or service provider that the phone number was originally registered
with.public String getCarrier()
The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.
public NumberValidateResponse withCarrier(String carrier)
The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.
carrier
- The carrier or service provider that the phone number is currently registered with. In some countries and
regions, this value may be the carrier or service provider that the phone number was originally registered
with.public void setCity(String city)
The name of the city where the phone number was originally registered.
city
- The name of the city where the phone number was originally registered.public String getCity()
The name of the city where the phone number was originally registered.
public NumberValidateResponse withCity(String city)
The name of the city where the phone number was originally registered.
city
- The name of the city where the phone number was originally registered.public void setCleansedPhoneNumberE164(String cleansedPhoneNumberE164)
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
cleansedPhoneNumberE164
- The cleansed phone number, in E.164 format, for the location where the phone number was originally
registered.public String getCleansedPhoneNumberE164()
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
public NumberValidateResponse withCleansedPhoneNumberE164(String cleansedPhoneNumberE164)
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
cleansedPhoneNumberE164
- The cleansed phone number, in E.164 format, for the location where the phone number was originally
registered.public void setCleansedPhoneNumberNational(String cleansedPhoneNumberNational)
The cleansed phone number, in the format for the location where the phone number was originally registered.
cleansedPhoneNumberNational
- The cleansed phone number, in the format for the location where the phone number was originally
registered.public String getCleansedPhoneNumberNational()
The cleansed phone number, in the format for the location where the phone number was originally registered.
public NumberValidateResponse withCleansedPhoneNumberNational(String cleansedPhoneNumberNational)
The cleansed phone number, in the format for the location where the phone number was originally registered.
cleansedPhoneNumberNational
- The cleansed phone number, in the format for the location where the phone number was originally
registered.public void setCountry(String country)
The name of the country or region where the phone number was originally registered.
country
- The name of the country or region where the phone number was originally registered.public String getCountry()
The name of the country or region where the phone number was originally registered.
public NumberValidateResponse withCountry(String country)
The name of the country or region where the phone number was originally registered.
country
- The name of the country or region where the phone number was originally registered.public void setCountryCodeIso2(String countryCodeIso2)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
countryCodeIso2
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was
originally registered.public String getCountryCodeIso2()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
public NumberValidateResponse withCountryCodeIso2(String countryCodeIso2)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
countryCodeIso2
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was
originally registered.public void setCountryCodeNumeric(String countryCodeNumeric)
The numeric code for the country or region where the phone number was originally registered.
countryCodeNumeric
- The numeric code for the country or region where the phone number was originally registered.public String getCountryCodeNumeric()
The numeric code for the country or region where the phone number was originally registered.
public NumberValidateResponse withCountryCodeNumeric(String countryCodeNumeric)
The numeric code for the country or region where the phone number was originally registered.
countryCodeNumeric
- The numeric code for the country or region where the phone number was originally registered.public void setCounty(String county)
The name of the county where the phone number was originally registered.
county
- The name of the county where the phone number was originally registered.public String getCounty()
The name of the county where the phone number was originally registered.
public NumberValidateResponse withCounty(String county)
The name of the county where the phone number was originally registered.
county
- The name of the county where the phone number was originally registered.public void setOriginalCountryCodeIso2(String originalCountryCodeIso2)
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
originalCountryCodeIso2
- The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.public String getOriginalCountryCodeIso2()
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
public NumberValidateResponse withOriginalCountryCodeIso2(String originalCountryCodeIso2)
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
originalCountryCodeIso2
- The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.public void setOriginalPhoneNumber(String originalPhoneNumber)
The phone number that was sent in the request body.
originalPhoneNumber
- The phone number that was sent in the request body.public String getOriginalPhoneNumber()
The phone number that was sent in the request body.
public NumberValidateResponse withOriginalPhoneNumber(String originalPhoneNumber)
The phone number that was sent in the request body.
originalPhoneNumber
- The phone number that was sent in the request body.public void setPhoneType(String phoneType)
The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.
phoneType
- The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.public String getPhoneType()
The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.
public NumberValidateResponse withPhoneType(String phoneType)
The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.
phoneType
- The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.public void setPhoneTypeCode(Integer phoneTypeCode)
The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).
phoneTypeCode
- The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3
(invalid), 4 (other), and 5 (prepaid).public Integer getPhoneTypeCode()
The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).
public NumberValidateResponse withPhoneTypeCode(Integer phoneTypeCode)
The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).
phoneTypeCode
- The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3
(invalid), 4 (other), and 5 (prepaid).public void setTimezone(String timezone)
The time zone for the location where the phone number was originally registered.
timezone
- The time zone for the location where the phone number was originally registered.public String getTimezone()
The time zone for the location where the phone number was originally registered.
public NumberValidateResponse withTimezone(String timezone)
The time zone for the location where the phone number was originally registered.
timezone
- The time zone for the location where the phone number was originally registered.public void setZipCode(String zipCode)
The postal or ZIP code for the location where the phone number was originally registered.
zipCode
- The postal or ZIP code for the location where the phone number was originally registered.public String getZipCode()
The postal or ZIP code for the location where the phone number was originally registered.
public NumberValidateResponse withZipCode(String zipCode)
The postal or ZIP code for the location where the phone number was originally registered.
zipCode
- The postal or ZIP code for the location where the phone number was originally registered.public String toString()
toString
in class Object
Object.toString()
public NumberValidateResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.