public static final class CfnWebACLAssociationProps.Builder
extends java.lang.Object
CfnWebACLAssociationProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnWebACLAssociationProps |
build()
Builds the configured instance.
|
CfnWebACLAssociationProps.Builder |
resourceArn(java.lang.String resourceArn)
Sets the value of
CfnWebACLAssociationProps.getResourceArn() |
CfnWebACLAssociationProps.Builder |
webAclId(java.lang.String webAclId)
Sets the value of
CfnWebACLAssociationProps.getWebAclId() |
public CfnWebACLAssociationProps.Builder resourceArn(java.lang.String resourceArn)
CfnWebACLAssociationProps.getResourceArn()
resourceArn
- The Amazon Resource Name (ARN) of the resource to protect with the web ACL. This parameter is required.this
public CfnWebACLAssociationProps.Builder webAclId(java.lang.String webAclId)
CfnWebACLAssociationProps.getWebAclId()
webAclId
- A unique identifier (ID) for the web ACL. This parameter is required.this
public CfnWebACLAssociationProps build()
CfnWebACLAssociationProps
java.lang.NullPointerException
- if any required attribute was not provided