Class CfnTemplate.Builder
java.lang.Object
software.amazon.awscdk.services.networksecuritymanager.CfnTemplate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate>
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static final class CfnTemplate.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate>
A fluent builder for
CfnTemplate.-
Method Summary
Modifier and TypeMethodDescriptionassociatedRuleList(List<? extends Object> associatedRuleList) List of rules associated with this template.associatedRuleList(IResolvable associatedRuleList) List of rules associated with this template.build()static CfnTemplate.BuilderfirewallType(String firewallType) The type of firewall.The tags associated with the template.templateDescription(String templateDescription) A description of the template.templateName(String templateName) The name of the template.
-
Method Details
-
create
@Stability(Stable) public static CfnTemplate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTemplate.Builder.
-
templateName
The name of the template.- Parameters:
templateName- The name of the template. This parameter is required.- Returns:
this- See Also:
-
associatedRuleList
List of rules associated with this template.- Parameters:
associatedRuleList- List of rules associated with this template. This parameter is required.- Returns:
this- See Also:
-
associatedRuleList
@Stability(Stable) public CfnTemplate.Builder associatedRuleList(List<? extends Object> associatedRuleList) List of rules associated with this template.- Parameters:
associatedRuleList- List of rules associated with this template. This parameter is required.- Returns:
this- See Also:
-
firewallType
The type of firewall.- Parameters:
firewallType- The type of firewall. This parameter is required.- Returns:
this- See Also:
-
tags
The tags associated with the template.- Parameters:
tags- The tags associated with the template. This parameter is required.- Returns:
this- See Also:
-
templateDescription
A description of the template.- Parameters:
templateDescription- A description of the template. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate>- Returns:
- a newly built instance of
CfnTemplate.
-