@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddressField extends Object implements Serializable, Cloneable, StructuredPojo
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 RequestInspectionACFP
data type.
Constructor and Description |
---|
AddressField() |
Modifier and Type | Method and Description |
---|---|
AddressField |
clone() |
boolean |
equals(Object obj) |
String |
getIdentifier()
The name of a single primary address field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIdentifier(String identifier)
The name of a single primary address field.
|
String |
toString()
Returns a string representation of this object.
|
AddressField |
withIdentifier(String identifier)
The name of a single primary address field.
|
public void setIdentifier(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
, and primaryaddressline3
, the address fields identifiers are
primaryaddressline1
, primaryaddressline2
, and primaryaddressline3
.
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
, and primaryaddressline3
, the address fields identifiers are
primaryaddressline1
, primaryaddressline2
, and primaryaddressline3
.
public String getIdentifier()
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
, and primaryaddressline3
, the address fields identifiers are
primaryaddressline1
, primaryaddressline2
, and primaryaddressline3
.
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
, and primaryaddressline3
, the address fields identifiers
are primaryaddressline1
, primaryaddressline2
, and
primaryaddressline3
.
public AddressField withIdentifier(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
, and primaryaddressline3
, the address fields identifiers are
primaryaddressline1
, primaryaddressline2
, and primaryaddressline3
.
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
, and primaryaddressline3
, the address fields identifiers are
primaryaddressline1
, primaryaddressline2
, and primaryaddressline3
.
public String toString()
toString
in class Object
Object.toString()
public AddressField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.