@Generated(value="software.amazon.awssdk:codegen") public final class PhoneNumberField extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PhoneNumberField.Builder,PhoneNumberField>
The name of a field in the request payload that contains part or all of your customer's primary phone number.
This data type is used in the RequestInspectionACFP data type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PhoneNumberField.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PhoneNumberField.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
identifier()
The name of a single primary phone number field.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PhoneNumberField.Builder> |
serializableBuilderClass() |
PhoneNumberField.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String identifier()
The name of a single primary phone number field.
How you specify the phone number fields depends on the request inspection payload type.
For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.
For example, for the JSON payload
{ "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } }
, the phone number field identifiers are /form/primaryphoneline1,
/form/primaryphoneline2, and /form/primaryphoneline3.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with input elements named primaryphoneline1,
primaryphoneline2, and primaryphoneline3, the phone number field identifiers are
primaryphoneline1, primaryphoneline2, and primaryphoneline3.
How you specify the phone number fields depends on the request inspection payload type.
For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.
For example, for the JSON payload
{ "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } }
, the phone number field identifiers are /form/primaryphoneline1,
/form/primaryphoneline2, and /form/primaryphoneline3.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with input elements named primaryphoneline1,
primaryphoneline2, and primaryphoneline3, the phone number field identifiers
are primaryphoneline1, primaryphoneline2, and primaryphoneline3.
public PhoneNumberField.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PhoneNumberField.Builder,PhoneNumberField>public static PhoneNumberField.Builder builder()
public static Class<? extends PhoneNumberField.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.