@Generated(value="software.amazon.awssdk:codegen") public final class NumberValidateResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NumberValidateResponse.Builder,NumberValidateResponse>
Provides information about a phone number.
Modifier and Type | Class and Description |
---|---|
static interface |
NumberValidateResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static NumberValidateResponse.Builder |
builder() |
String |
carrier()
The carrier or service provider that the phone number is currently registered with.
|
String |
city()
The name of the city where the phone number was originally registered.
|
String |
cleansedPhoneNumberE164()
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
|
String |
cleansedPhoneNumberNational()
The cleansed phone number, in the format for the location where the phone number was originally registered.
|
String |
country()
The name of the country or region where the phone number was originally registered.
|
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.
|
String |
countryCodeNumeric()
The numeric code for the country or region where the phone number was originally registered.
|
String |
county()
The name of the county where the phone number was originally registered.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
originalCountryCodeIso2()
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
|
String |
originalPhoneNumber()
The phone number that was sent in the request body.
|
String |
phoneType()
The description of the phone type.
|
Integer |
phoneTypeCode()
The phone type, represented by an integer.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NumberValidateResponse.Builder> |
serializableBuilderClass() |
String |
timezone()
The time zone for the location where the phone number was originally registered.
|
NumberValidateResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
zipCode()
The postal or ZIP code for the location where the phone number was originally registered.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String carrier()
The carrier or service provider that the phone number is currently registered with.
public String city()
The name of the city where the phone number was originally registered.
public String cleansedPhoneNumberE164()
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
public String cleansedPhoneNumberNational()
The cleansed phone number, in the format for the location where the phone number was originally registered.
public String country()
The name of the country or region where the phone number was originally registered.
public 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.
public String countryCodeNumeric()
The numeric code for the country or region where the phone number was originally registered.
public String county()
The name of the county where the phone number was originally registered.
public String originalCountryCodeIso2()
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
public String originalPhoneNumber()
The phone number that was sent in the request body.
public String phoneType()
The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.
public 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).
public String timezone()
The time zone for the location where the phone number was originally registered.
public String zipCode()
The postal or ZIP code for the location where the phone number was originally registered.
public NumberValidateResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<NumberValidateResponse.Builder,NumberValidateResponse>
public static NumberValidateResponse.Builder builder()
public static Class<? extends NumberValidateResponse.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.