Class IPSetReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.wafv2.IPSetReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IPSetReference>
- Enclosing interface:
IPSetReference
@Stability(Stable)
public static final class IPSetReference.Builder
extends Object
implements software.amazon.jsii.Builder<IPSetReference>
A builder for
IPSetReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofIPSetReference.getIpSetArn()Sets the value ofIPSetReference.getIpSetId()Sets the value ofIPSetReference.getIpSetName()Sets the value ofIPSetReference.getScope()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipSetArn
Sets the value ofIPSetReference.getIpSetArn()- Parameters:
ipSetArn- The ARN of the IPSet resource. This parameter is required.- Returns:
this
-
ipSetId
Sets the value ofIPSetReference.getIpSetId()- Parameters:
ipSetId- The Id of the IPSet resource. This parameter is required.- Returns:
this
-
ipSetName
Sets the value ofIPSetReference.getIpSetName()- Parameters:
ipSetName- The Name of the IPSet resource. This parameter is required.- Returns:
this
-
scope
Sets the value ofIPSetReference.getScope()- Parameters:
scope- The Scope of the IPSet resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IPSetReference>- Returns:
- a new instance of
IPSetReference - Throws:
NullPointerException- if any required attribute was not provided
-