Class CfnTemplateMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networksecuritymanager.CfnTemplateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplateMixinProps>
- Enclosing interface:
CfnTemplateMixinProps
@Stability(Stable)
public static final class CfnTemplateMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplateMixinProps>
A builder for
CfnTemplateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociatedRuleList(List<? extends Object> associatedRuleList) Sets the value ofCfnTemplateMixinProps.getAssociatedRuleList()associatedRuleList(IResolvable associatedRuleList) Sets the value ofCfnTemplateMixinProps.getAssociatedRuleList()build()Builds the configured instance.firewallType(String firewallType) Sets the value ofCfnTemplateMixinProps.getFirewallType()Sets the value ofCfnTemplateMixinProps.getTags()templateDescription(String templateDescription) Sets the value ofCfnTemplateMixinProps.getTemplateDescription()templateName(String templateName) Sets the value ofCfnTemplateMixinProps.getTemplateName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associatedRuleList
@Stability(Stable) public CfnTemplateMixinProps.Builder associatedRuleList(IResolvable associatedRuleList) Sets the value ofCfnTemplateMixinProps.getAssociatedRuleList()- Parameters:
associatedRuleList- List of rules associated with this template.- Returns:
this
-
associatedRuleList
@Stability(Stable) public CfnTemplateMixinProps.Builder associatedRuleList(List<? extends Object> associatedRuleList) Sets the value ofCfnTemplateMixinProps.getAssociatedRuleList()- Parameters:
associatedRuleList- List of rules associated with this template.- Returns:
this
-
firewallType
Sets the value ofCfnTemplateMixinProps.getFirewallType()- Parameters:
firewallType- The type of firewall.- Returns:
this
-
tags
Sets the value ofCfnTemplateMixinProps.getTags()- Parameters:
tags- The tags associated with the template.- Returns:
this
-
templateDescription
@Stability(Stable) public CfnTemplateMixinProps.Builder templateDescription(String templateDescription) Sets the value ofCfnTemplateMixinProps.getTemplateDescription()- Parameters:
templateDescription- A description of the template.- Returns:
this
-
templateName
Sets the value ofCfnTemplateMixinProps.getTemplateName()- Parameters:
templateName- The name of the template.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplateMixinProps>- Returns:
- a new instance of
CfnTemplateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-