@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, waitcopypublic final 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.
public final String city()
The name of the city where the phone number was originally registered.
public final String cleansedPhoneNumberE164()
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
public final String cleansedPhoneNumberNational()
The cleansed phone number, in the format for the location where the phone number was originally registered.
public final String country()
The name of the country or region where the phone number was originally registered.
public final 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 final String countryCodeNumeric()
The numeric code for the country or region where the phone number was originally registered.
public final String county()
The name of the county where the phone number was originally registered.
public final String originalCountryCodeIso2()
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
public final String originalPhoneNumber()
The phone number that was sent in the request body.
public final String phoneType()
The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.
public final 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 final String timezone()
The time zone for the location where the phone number was originally registered.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.