Class CfnWebACLPropsMixin.FieldToProtectProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.FieldToProtectProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.FieldToProtectProperty>
- Enclosing interface:
CfnWebACLPropsMixin.FieldToProtectProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.FieldToProtectProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.FieldToProtectProperty>
A builder for
CfnWebACLPropsMixin.FieldToProtectProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWebACLPropsMixin.FieldToProtectProperty.getFieldKeys()Sets the value ofCfnWebACLPropsMixin.FieldToProtectProperty.getFieldType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldKeys
@Stability(Stable) public CfnWebACLPropsMixin.FieldToProtectProperty.Builder fieldKeys(List<String> fieldKeys) Sets the value ofCfnWebACLPropsMixin.FieldToProtectProperty.getFieldKeys()- Parameters:
fieldKeys- Specifies the keys to protect for the specified field type. If you don't specify any key, then all keys for the field type are protected.- Returns:
this
-
fieldType
@Stability(Stable) public CfnWebACLPropsMixin.FieldToProtectProperty.Builder fieldType(String fieldType) Sets the value ofCfnWebACLPropsMixin.FieldToProtectProperty.getFieldType()- Parameters:
fieldType- Specifies the web request component type to protect.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.FieldToProtectProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.FieldToProtectProperty - Throws:
NullPointerException- if any required attribute was not provided
-