Class CfnRuleGroup.IPSetReferenceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkfirewall.CfnRuleGroup.IPSetReferenceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroup.IPSetReferenceProperty>
- Enclosing interface:
CfnRuleGroup.IPSetReferenceProperty
@Stability(Stable)
public static final class CfnRuleGroup.IPSetReferenceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroup.IPSetReferenceProperty>
A builder for
CfnRuleGroup.IPSetReferenceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.referenceArn
(String referenceArn) Sets the value ofCfnRuleGroup.IPSetReferenceProperty.getReferenceArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
referenceArn
@Stability(Stable) public CfnRuleGroup.IPSetReferenceProperty.Builder referenceArn(String referenceArn) Sets the value ofCfnRuleGroup.IPSetReferenceProperty.getReferenceArn()
- Parameters:
referenceArn
- The Amazon Resource Name (ARN) of the resource to include in theRuleGroup.IPSetReference
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRuleGroup.IPSetReferenceProperty>
- Returns:
- a new instance of
CfnRuleGroup.IPSetReferenceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-