Class CfnRulePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networksecuritymanager.CfnRulePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRulePropsMixin>
- Enclosing class:
CfnRulePropsMixin
@Stability(Stable)
public static final class CfnRulePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRulePropsMixin>
A fluent builder for
CfnRulePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()configuration(String configuration) The rule configuration as a JSON string.static CfnRulePropsMixin.Buildercreate()static CfnRulePropsMixin.Buildercreate(CfnPropertyMixinOptions options) firewallType(String firewallType) The type of firewall for this rule.ruleDescription(String ruleDescription) A description of the rule.The name of the rule.The type of rule.The tags associated with the rule.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnRulePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnRulePropsMixin.Builder.
-
configuration
The rule configuration as a JSON string.- Parameters:
configuration- The rule configuration as a JSON string. This parameter is required.- Returns:
this- See Also:
-
firewallType
The type of firewall for this rule.- Parameters:
firewallType- The type of firewall for this rule. This parameter is required.- Returns:
this- See Also:
-
ruleDescription
A description of the rule.- Parameters:
ruleDescription- A description of the rule. This parameter is required.- Returns:
this- See Also:
-
ruleName
The name of the rule.- Parameters:
ruleName- The name of the rule. This parameter is required.- Returns:
this- See Also:
-
ruleType
The type of rule.- Parameters:
ruleType- The type of rule. This parameter is required.- Returns:
this- See Also:
-
tags
The tags associated with the rule.- Parameters:
tags- The tags associated with the rule. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRulePropsMixin>- Returns:
- a newly built instance of
CfnRulePropsMixin.
-