@Generated(value="software.amazon.awssdk:codegen") public final class UsernameField extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UsernameField.Builder,UsernameField>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UsernameField.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UsernameField.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
identifier()
The name of the username field.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UsernameField.Builder> |
serializableBuilderClass() |
UsernameField.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UsernameField.Builder,UsernameField>public static UsernameField.Builder builder()
public static Class<? extends UsernameField.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.