Class CfnPolicy.NetworkFirewallPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fms.CfnPolicy.NetworkFirewallPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicy.NetworkFirewallPolicyProperty>
- Enclosing interface:
CfnPolicy.NetworkFirewallPolicyProperty
@Stability(Stable)
public static final class CfnPolicy.NetworkFirewallPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicy.NetworkFirewallPolicyProperty>
A builder for
CfnPolicy.NetworkFirewallPolicyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.firewallDeploymentModel
(String firewallDeploymentModel) Sets the value ofCfnPolicy.NetworkFirewallPolicyProperty.getFirewallDeploymentModel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
firewallDeploymentModel
@Stability(Stable) public CfnPolicy.NetworkFirewallPolicyProperty.Builder firewallDeploymentModel(String firewallDeploymentModel) Sets the value ofCfnPolicy.NetworkFirewallPolicyProperty.getFirewallDeploymentModel()
- Parameters:
firewallDeploymentModel
- Defines the deployment model to use for the firewall policy. This parameter is required. To use a distributed model, set FirewallDeploymentModel toDISTRIBUTED
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPolicy.NetworkFirewallPolicyProperty>
- Returns:
- a new instance of
CfnPolicy.NetworkFirewallPolicyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-