Interface RequestInspection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RequestInspection.Builder,RequestInspection>,SdkBuilder<RequestInspection.Builder,RequestInspection>,SdkPojo
- Enclosing class:
- RequestInspection
public static interface RequestInspection.Builder extends SdkPojo, CopyableBuilder<RequestInspection.Builder,RequestInspection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RequestInspection.BuilderpasswordField(Consumer<PasswordField.Builder> passwordField)The name of the field in the request payload that contains your customer's password.RequestInspection.BuilderpasswordField(PasswordField passwordField)The name of the field in the request payload that contains your customer's password.RequestInspection.BuilderpayloadType(String payloadType)The payload type for your login endpoint, either JSON or form encoded.RequestInspection.BuilderpayloadType(PayloadType payloadType)The payload type for your login endpoint, either JSON or form encoded.default RequestInspection.BuilderusernameField(Consumer<UsernameField.Builder> usernameField)The name of the field in the request payload that contains your customer's username.RequestInspection.BuilderusernameField(UsernameField usernameField)The name of the field in the request payload that contains your customer's username.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
payloadType
RequestInspection.Builder payloadType(String payloadType)
The payload type for your login endpoint, either JSON or form encoded.
- Parameters:
payloadType- The payload type for your login endpoint, either JSON or form encoded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PayloadType,PayloadType
-
payloadType
RequestInspection.Builder payloadType(PayloadType payloadType)
The payload type for your login endpoint, either JSON or form encoded.
- Parameters:
payloadType- The payload type for your login endpoint, either JSON or form encoded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PayloadType,PayloadType
-
usernameField
RequestInspection.Builder usernameField(UsernameField usernameField)
The name of the field in the request payload that contains your customer's username.
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 isusername1
- Parameters:
usernameField- The name of the field in the request payload that contains your customer's username.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 isusername1
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
usernameField
default RequestInspection.Builder usernameField(Consumer<UsernameField.Builder> usernameField)
The name of the field in the request payload that contains your customer's username.
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 isusername1
UsernameField.Builderavoiding the need to create one manually viaUsernameField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousernameField(UsernameField).- Parameters:
usernameField- a consumer that will call methods onUsernameField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
usernameField(UsernameField)
-
-
passwordField
RequestInspection.Builder passwordField(PasswordField passwordField)
The name of the field in the request payload that contains your customer's password.
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 ispassword1.
- Parameters:
passwordField- The name of the field in the request payload that contains your customer's password.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 ispassword1.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
passwordField
default RequestInspection.Builder passwordField(Consumer<PasswordField.Builder> passwordField)
The name of the field in the request payload that contains your customer's password.
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 ispassword1.
PasswordField.Builderavoiding the need to create one manually viaPasswordField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topasswordField(PasswordField).- Parameters:
passwordField- a consumer that will call methods onPasswordField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
passwordField(PasswordField)
-
-
-