Class NumberValidateRequest
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.NumberValidateRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NumberValidateRequest.Builder,NumberValidateRequest>
@Generated("software.amazon.awssdk:codegen") public final class NumberValidateRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NumberValidateRequest.Builder,NumberValidateRequest>
Specifies a phone number to validate and retrieve information about.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNumberValidateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NumberValidateRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringisoCountryCode()The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.StringphoneNumber()The phone number to retrieve information about.List<SdkField<?>>sdkFields()static Class<? extends NumberValidateRequest.Builder>serializableBuilderClass()NumberValidateRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
isoCountryCode
public final String isoCountryCode()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
- Returns:
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
-
phoneNumber
public final String phoneNumber()
The phone number to retrieve information about. The phone number that you provide should include a valid numeric country code. Otherwise, the operation might result in an error.
- Returns:
- The phone number to retrieve information about. The phone number that you provide should include a valid numeric country code. Otherwise, the operation might result in an error.
-
toBuilder
public NumberValidateRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NumberValidateRequest.Builder,NumberValidateRequest>
-
builder
public static NumberValidateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends NumberValidateRequest.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-