Class CfnPolicy.NetworkAclCommonPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fms.CfnPolicy.NetworkAclCommonPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicy.NetworkAclCommonPolicyProperty>
- Enclosing interface:
CfnPolicy.NetworkAclCommonPolicyProperty
@Stability(Stable)
public static final class CfnPolicy.NetworkAclCommonPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicy.NetworkAclCommonPolicyProperty>
A builder for
CfnPolicy.NetworkAclCommonPolicyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.networkAclEntrySet(IResolvable networkAclEntrySet) Sets the value ofCfnPolicy.NetworkAclCommonPolicyProperty.getNetworkAclEntrySet()networkAclEntrySet(CfnPolicy.NetworkAclEntrySetProperty networkAclEntrySet) Sets the value ofCfnPolicy.NetworkAclCommonPolicyProperty.getNetworkAclEntrySet()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
networkAclEntrySet
@Stability(Stable) public CfnPolicy.NetworkAclCommonPolicyProperty.Builder networkAclEntrySet(IResolvable networkAclEntrySet) Sets the value ofCfnPolicy.NetworkAclCommonPolicyProperty.getNetworkAclEntrySet()- Parameters:
networkAclEntrySet- The definition of the first and last rules for the network ACL policy. This parameter is required.- Returns:
this
-
networkAclEntrySet
@Stability(Stable) public CfnPolicy.NetworkAclCommonPolicyProperty.Builder networkAclEntrySet(CfnPolicy.NetworkAclEntrySetProperty networkAclEntrySet) Sets the value ofCfnPolicy.NetworkAclCommonPolicyProperty.getNetworkAclEntrySet()- Parameters:
networkAclEntrySet- The definition of the first and last rules for the network ACL policy. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicy.NetworkAclCommonPolicyProperty>- Returns:
- a new instance of
CfnPolicy.NetworkAclCommonPolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-