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