Class WebACLAssociationReference.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.WebACLAssociationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WebACLAssociationReference>
- Enclosing interface:
WebACLAssociationReference
@Stability(Stable)
public static final class WebACLAssociationReference.Builder
extends Object
implements software.amazon.jsii.Builder<WebACLAssociationReference>
A builder for
WebACLAssociationReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.resourceArn
(String resourceArn) Sets the value ofWebACLAssociationReference.getResourceArn()
Sets the value ofWebACLAssociationReference.getWebAclArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceArn
Sets the value ofWebACLAssociationReference.getResourceArn()
- Parameters:
resourceArn
- The ResourceArn of the WebACLAssociation resource. This parameter is required.- Returns:
this
-
webAclArn
Sets the value ofWebACLAssociationReference.getWebAclArn()
- Parameters:
webAclArn
- The WebACLArn of the WebACLAssociation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<WebACLAssociationReference>
- Returns:
- a new instance of
WebACLAssociationReference
- Throws:
NullPointerException
- if any required attribute was not provided
-