@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EmailField extends Object implements Serializable, Cloneable, StructuredPojo
The name of the field in the request payload that contains your customer's email.
This data type is used in the RequestInspectionACFP
data type.
Constructor and Description |
---|
EmailField() |
Modifier and Type | Method and Description |
---|---|
EmailField |
clone() |
boolean |
equals(Object obj) |
String |
getIdentifier()
The name of the email field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIdentifier(String identifier)
The name of the email field.
|
String |
toString()
Returns a string representation of this object.
|
EmailField |
withIdentifier(String identifier)
The name of the email field.
|
public void setIdentifier(String identifier)
The name of the email field.
How you specify this depends on the request inspection payload type.
For JSON payloads, specify the field name 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": { "email": "THE_EMAIL" } }
, the email field
specification is /form/email
.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with the input element named email1
, the email field specification is
email1
.
identifier
- The name of the email field.
How you specify this depends on the request inspection payload type.
For JSON payloads, specify the field name 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": { "email": "THE_EMAIL" } }
, the email field
specification is /form/email
.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with the input element named email1
, the email field
specification is email1
.
public String getIdentifier()
The name of the email field.
How you specify this depends on the request inspection payload type.
For JSON payloads, specify the field name 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": { "email": "THE_EMAIL" } }
, the email field
specification is /form/email
.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with the input element named email1
, the email field specification is
email1
.
How you specify this depends on the request inspection payload type.
For JSON payloads, specify the field name 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": { "email": "THE_EMAIL" } }
, the email field
specification is /form/email
.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with the input element named email1
, the email field
specification is email1
.
public EmailField withIdentifier(String identifier)
The name of the email field.
How you specify this depends on the request inspection payload type.
For JSON payloads, specify the field name 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": { "email": "THE_EMAIL" } }
, the email field
specification is /form/email
.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with the input element named email1
, the email field specification is
email1
.
identifier
- The name of the email field.
How you specify this depends on the request inspection payload type.
For JSON payloads, specify the field name 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": { "email": "THE_EMAIL" } }
, the email field
specification is /form/email
.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with the input element named email1
, the email field
specification is email1
.
public String toString()
toString
in class Object
Object.toString()
public EmailField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.