Class CfnWebACL.FieldIdentifierProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.FieldIdentifierProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.FieldIdentifierProperty>
- Enclosing interface:
- CfnWebACL.FieldIdentifierProperty
@Stability(Stable)
public static final class CfnWebACL.FieldIdentifierProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.FieldIdentifierProperty>
A builder for
CfnWebACL.FieldIdentifierProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.identifier
(String identifier) Sets the value ofCfnWebACL.FieldIdentifierProperty.getIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
identifier
Sets the value ofCfnWebACL.FieldIdentifierProperty.getIdentifier()
- Parameters:
identifier
- The name of the username or password field, used in theManagedRuleGroupConfig
settings. This parameter is required. When thePayloadType
isJSON
, the identifier must be in JSON pointer syntax. For example/form/username
. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer .When the
PayloadType
isFORM_ENCODED
, use the HTML form names. For example,username
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWebACL.FieldIdentifierProperty>
- Returns:
- a new instance of
CfnWebACL.FieldIdentifierProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-