Class CfnRuleGroup.ReferenceSetsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkfirewall.CfnRuleGroup.ReferenceSetsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroup.ReferenceSetsProperty>
- Enclosing interface:
CfnRuleGroup.ReferenceSetsProperty
@Stability(Stable)
public static final class CfnRuleGroup.ReferenceSetsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroup.ReferenceSetsProperty>
A builder for
CfnRuleGroup.ReferenceSetsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ipSetReferences
(Map<String, ? extends Object> ipSetReferences) Sets the value ofCfnRuleGroup.ReferenceSetsProperty.getIpSetReferences()
ipSetReferences
(IResolvable ipSetReferences) Sets the value ofCfnRuleGroup.ReferenceSetsProperty.getIpSetReferences()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipSetReferences
@Stability(Stable) public CfnRuleGroup.ReferenceSetsProperty.Builder ipSetReferences(IResolvable ipSetReferences) Sets the value ofCfnRuleGroup.ReferenceSetsProperty.getIpSetReferences()
- Parameters:
ipSetReferences
- The IP set references to use in the stateful rule group.- Returns:
this
-
ipSetReferences
@Stability(Stable) public CfnRuleGroup.ReferenceSetsProperty.Builder ipSetReferences(Map<String, ? extends Object> ipSetReferences) Sets the value ofCfnRuleGroup.ReferenceSetsProperty.getIpSetReferences()
- Parameters:
ipSetReferences
- The IP set references to use in the stateful rule group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRuleGroup.ReferenceSetsProperty>
- Returns:
- a new instance of
CfnRuleGroup.ReferenceSetsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-