Class CfnTemplatePropsMixin.AssociatedRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networksecuritymanager.CfnTemplatePropsMixin.AssociatedRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.AssociatedRuleProperty>
- Enclosing interface:
CfnTemplatePropsMixin.AssociatedRuleProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.AssociatedRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.AssociatedRuleProperty>
A builder for
CfnTemplatePropsMixin.AssociatedRuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTemplatePropsMixin.AssociatedRuleProperty.getRuleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ruleArn
@Stability(Stable) public CfnTemplatePropsMixin.AssociatedRuleProperty.Builder ruleArn(String ruleArn) Sets the value ofCfnTemplatePropsMixin.AssociatedRuleProperty.getRuleArn()- Parameters:
ruleArn- ARN of the associated rule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.AssociatedRuleProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.AssociatedRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-