Class CfnWebACLPropsMixin.RequestInspectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.RequestInspectionProperty>
- Enclosing interface:
CfnWebACLPropsMixin.RequestInspectionProperty
CfnWebACLPropsMixin.RequestInspectionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.passwordField(CfnWebACLPropsMixin.FieldIdentifierProperty passwordField) Sets the value ofCfnWebACLPropsMixin.RequestInspectionProperty.getPasswordField()passwordField(IResolvable passwordField) Sets the value ofCfnWebACLPropsMixin.RequestInspectionProperty.getPasswordField()payloadType(String payloadType) Sets the value ofCfnWebACLPropsMixin.RequestInspectionProperty.getPayloadType()usernameField(CfnWebACLPropsMixin.FieldIdentifierProperty usernameField) Sets the value ofCfnWebACLPropsMixin.RequestInspectionProperty.getUsernameField()usernameField(IResolvable usernameField) Sets the value ofCfnWebACLPropsMixin.RequestInspectionProperty.getUsernameField()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
passwordField
@Stability(Stable) public CfnWebACLPropsMixin.RequestInspectionProperty.Builder passwordField(IResolvable passwordField) Sets the value ofCfnWebACLPropsMixin.RequestInspectionProperty.getPasswordField()- 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:
this
-
passwordField
@Stability(Stable) public CfnWebACLPropsMixin.RequestInspectionProperty.Builder passwordField(CfnWebACLPropsMixin.FieldIdentifierProperty passwordField) Sets the value ofCfnWebACLPropsMixin.RequestInspectionProperty.getPasswordField()- 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:
this
-
payloadType
@Stability(Stable) public CfnWebACLPropsMixin.RequestInspectionProperty.Builder payloadType(String payloadType) Sets the value ofCfnWebACLPropsMixin.RequestInspectionProperty.getPayloadType()- Parameters:
payloadType- The payload type for your login endpoint, either JSON or form encoded.- Returns:
this
-
usernameField
@Stability(Stable) public CfnWebACLPropsMixin.RequestInspectionProperty.Builder usernameField(IResolvable usernameField) Sets the value ofCfnWebACLPropsMixin.RequestInspectionProperty.getUsernameField()- 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:
this
-
usernameField
@Stability(Stable) public CfnWebACLPropsMixin.RequestInspectionProperty.Builder usernameField(CfnWebACLPropsMixin.FieldIdentifierProperty usernameField) Sets the value ofCfnWebACLPropsMixin.RequestInspectionProperty.getUsernameField()- 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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.RequestInspectionProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.RequestInspectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-