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