Class AddressField
- java.lang.Object
-
- software.amazon.awssdk.services.wafv2.model.AddressField
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AddressField.Builder,AddressField>
@Generated("software.amazon.awssdk:codegen") public final class AddressField extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AddressField.Builder,AddressField>
The name of a field in the request payload that contains part or all of your customer's primary physical address.
This data type is used in the
RequestInspectionACFPdata type.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAddressField.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddressField.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringidentifier()The name of a single primary address field.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AddressField.Builder>serializableBuilderClass()AddressField.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 address field.
How you specify the address 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": { "primaryaddressline1": "THE_ADDRESS1", "primaryaddressline2": "THE_ADDRESS2", "primaryaddressline3": "THE_ADDRESS3" } }, the address field idenfiers are/form/primaryaddressline1,/form/primaryaddressline2, and/form/primaryaddressline3. -
For form encoded payload types, use the HTML form names.
For example, for an HTML form with input elements named
primaryaddressline1,primaryaddressline2, andprimaryaddressline3, the address fields identifiers areprimaryaddressline1,primaryaddressline2, andprimaryaddressline3.
- Returns:
- The name of a single primary address field.
How you specify the address 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": { "primaryaddressline1": "THE_ADDRESS1", "primaryaddressline2": "THE_ADDRESS2", "primaryaddressline3": "THE_ADDRESS3" } }, the address field idenfiers are/form/primaryaddressline1,/form/primaryaddressline2, and/form/primaryaddressline3. -
For form encoded payload types, use the HTML form names.
For example, for an HTML form with input elements named
primaryaddressline1,primaryaddressline2, andprimaryaddressline3, the address fields identifiers areprimaryaddressline1,primaryaddressline2, andprimaryaddressline3.
-
-
-
toBuilder
public AddressField.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AddressField.Builder,AddressField>
-
builder
public static AddressField.Builder builder()
-
serializableBuilderClass
public static Class<? extends AddressField.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
-
-