Class CfnFirewallPolicyMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnFirewallPolicyMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallPolicyMixinProps>
- Enclosing interface:
CfnFirewallPolicyMixinProps
@Stability(Stable)
public static final class CfnFirewallPolicyMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFirewallPolicyMixinProps>
A builder for
CfnFirewallPolicyMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnFirewallPolicyMixinProps.getDescription()firewallPolicy(CfnFirewallPolicyPropsMixin.FirewallPolicyProperty firewallPolicy) Sets the value ofCfnFirewallPolicyMixinProps.getFirewallPolicy()firewallPolicy(IResolvable firewallPolicy) Sets the value ofCfnFirewallPolicyMixinProps.getFirewallPolicy()firewallPolicyName(String firewallPolicyName) Sets the value ofCfnFirewallPolicyMixinProps.getFirewallPolicyName()Sets the value ofCfnFirewallPolicyMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnFirewallPolicyMixinProps.getDescription()- Parameters:
description- A description of the firewall policy.- Returns:
this
-
firewallPolicy
@Stability(Stable) public CfnFirewallPolicyMixinProps.Builder firewallPolicy(IResolvable firewallPolicy) Sets the value ofCfnFirewallPolicyMixinProps.getFirewallPolicy()- Parameters:
firewallPolicy- The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.- Returns:
this
-
firewallPolicy
@Stability(Stable) public CfnFirewallPolicyMixinProps.Builder firewallPolicy(CfnFirewallPolicyPropsMixin.FirewallPolicyProperty firewallPolicy) Sets the value ofCfnFirewallPolicyMixinProps.getFirewallPolicy()- Parameters:
firewallPolicy- The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.- Returns:
this
-
firewallPolicyName
@Stability(Stable) public CfnFirewallPolicyMixinProps.Builder firewallPolicyName(String firewallPolicyName) Sets the value ofCfnFirewallPolicyMixinProps.getFirewallPolicyName()- Parameters:
firewallPolicyName- The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.- Returns:
this
-
tags
Sets the value ofCfnFirewallPolicyMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFirewallPolicyMixinProps>- Returns:
- a new instance of
CfnFirewallPolicyMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-