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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.final StringThe phone number to retrieve information about.static Class<? extends NumberValidateRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<NumberValidateRequest.Builder,NumberValidateRequest>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-