Class CfnWebACLAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.waf.regional.CfnWebACLAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLAssociationProps>
- Enclosing interface:
CfnWebACLAssociationProps
@Stability(Stable)
public static final class CfnWebACLAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLAssociationProps>
A builder for
CfnWebACLAssociationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.resourceArn
(String resourceArn) Sets the value ofCfnWebACLAssociationProps.getResourceArn()
Sets the value ofCfnWebACLAssociationProps.getWebAclId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceArn
Sets the value ofCfnWebACLAssociationProps.getResourceArn()
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the resource to protect with the web ACL. This parameter is required.- Returns:
this
-
webAclId
Sets the value ofCfnWebACLAssociationProps.getWebAclId()
- Parameters:
webAclId
- A unique identifier (ID) for the web ACL. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWebACLAssociationProps>
- Returns:
- a new instance of
CfnWebACLAssociationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-