Class PhoneNumberField
- java.lang.Object
-
- software.amazon.awssdk.services.wafv2.model.PhoneNumberField
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PhoneNumberField.Builder,PhoneNumberField>
@Generated("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
RequestInspectionACFPdata type.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePhoneNumberField.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhoneNumberField.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringidentifier()The name of a single primary phone number field.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PhoneNumberField.Builder>serializableBuilderClass()PhoneNumberField.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
-
identifier
public 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, andprimaryphoneline3, the phone number field identifiers areprimaryphoneline1,primaryphoneline2, andprimaryphoneline3.
- Returns:
- 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, andprimaryphoneline3, the phone number field identifiers areprimaryphoneline1,primaryphoneline2, andprimaryphoneline3.
-
-
-
toBuilder
public PhoneNumberField.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PhoneNumberField.Builder,PhoneNumberField>
-
builder
public static PhoneNumberField.Builder builder()
-
serializableBuilderClass
public static Class<? extends PhoneNumberField.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-