Class CfnPolicyPropsMixin.NetworkAclEntrySetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyPropsMixin.NetworkAclEntrySetProperty>
- Enclosing interface:
CfnPolicyPropsMixin.NetworkAclEntrySetProperty
CfnPolicyPropsMixin.NetworkAclEntrySetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.firstEntries(List<? extends Object> firstEntries) Sets the value ofCfnPolicyPropsMixin.NetworkAclEntrySetProperty.getFirstEntries()firstEntries(IResolvable firstEntries) Sets the value ofCfnPolicyPropsMixin.NetworkAclEntrySetProperty.getFirstEntries()forceRemediateForFirstEntries(Boolean forceRemediateForFirstEntries) forceRemediateForFirstEntries(IResolvable forceRemediateForFirstEntries) forceRemediateForLastEntries(Boolean forceRemediateForLastEntries) forceRemediateForLastEntries(IResolvable forceRemediateForLastEntries) lastEntries(List<? extends Object> lastEntries) Sets the value ofCfnPolicyPropsMixin.NetworkAclEntrySetProperty.getLastEntries()lastEntries(IResolvable lastEntries) Sets the value ofCfnPolicyPropsMixin.NetworkAclEntrySetProperty.getLastEntries()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
firstEntries
@Stability(Stable) public CfnPolicyPropsMixin.NetworkAclEntrySetProperty.Builder firstEntries(IResolvable firstEntries) Sets the value ofCfnPolicyPropsMixin.NetworkAclEntrySetProperty.getFirstEntries()- Parameters:
firstEntries- The rules that you want to run first in the Firewall Manager managed network ACLs.Provide these in the order in which you want them to run. Firewall Manager will assign the specific rule numbers for you, in the network ACLs that it creates.
You must specify at least one first entry or one last entry in any network ACL policy.
- Returns:
this
-
firstEntries
@Stability(Stable) public CfnPolicyPropsMixin.NetworkAclEntrySetProperty.Builder firstEntries(List<? extends Object> firstEntries) Sets the value ofCfnPolicyPropsMixin.NetworkAclEntrySetProperty.getFirstEntries()- Parameters:
firstEntries- The rules that you want to run first in the Firewall Manager managed network ACLs.Provide these in the order in which you want them to run. Firewall Manager will assign the specific rule numbers for you, in the network ACLs that it creates.
You must specify at least one first entry or one last entry in any network ACL policy.
- Returns:
this
-
forceRemediateForFirstEntries
@Stability(Stable) public CfnPolicyPropsMixin.NetworkAclEntrySetProperty.Builder forceRemediateForFirstEntries(Boolean forceRemediateForFirstEntries) - Parameters:
forceRemediateForFirstEntries- Applies only when remediation is enabled for the policy as a whole. Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries.If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see Remediation for managed network ACLs in the AWS Firewall Manager Developer Guide .
- Returns:
this
-
forceRemediateForFirstEntries
@Stability(Stable) public CfnPolicyPropsMixin.NetworkAclEntrySetProperty.Builder forceRemediateForFirstEntries(IResolvable forceRemediateForFirstEntries) - Parameters:
forceRemediateForFirstEntries- Applies only when remediation is enabled for the policy as a whole. Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries.If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see Remediation for managed network ACLs in the AWS Firewall Manager Developer Guide .
- Returns:
this
-
forceRemediateForLastEntries
@Stability(Stable) public CfnPolicyPropsMixin.NetworkAclEntrySetProperty.Builder forceRemediateForLastEntries(Boolean forceRemediateForLastEntries) - Parameters:
forceRemediateForLastEntries- Applies only when remediation is enabled for the policy as a whole. Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries.If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see Remediation for managed network ACLs in the AWS Firewall Manager Developer Guide .
- Returns:
this
-
forceRemediateForLastEntries
@Stability(Stable) public CfnPolicyPropsMixin.NetworkAclEntrySetProperty.Builder forceRemediateForLastEntries(IResolvable forceRemediateForLastEntries) - Parameters:
forceRemediateForLastEntries- Applies only when remediation is enabled for the policy as a whole. Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries.If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see Remediation for managed network ACLs in the AWS Firewall Manager Developer Guide .
- Returns:
this
-
lastEntries
@Stability(Stable) public CfnPolicyPropsMixin.NetworkAclEntrySetProperty.Builder lastEntries(IResolvable lastEntries) Sets the value ofCfnPolicyPropsMixin.NetworkAclEntrySetProperty.getLastEntries()- Parameters:
lastEntries- The rules that you want to run last in the Firewall Manager managed network ACLs.Provide these in the order in which you want them to run. Firewall Manager will assign the specific rule numbers for you, in the network ACLs that it creates.
You must specify at least one first entry or one last entry in any network ACL policy.
- Returns:
this
-
lastEntries
@Stability(Stable) public CfnPolicyPropsMixin.NetworkAclEntrySetProperty.Builder lastEntries(List<? extends Object> lastEntries) Sets the value ofCfnPolicyPropsMixin.NetworkAclEntrySetProperty.getLastEntries()- Parameters:
lastEntries- The rules that you want to run last in the Firewall Manager managed network ACLs.Provide these in the order in which you want them to run. Firewall Manager will assign the specific rule numbers for you, in the network ACLs that it creates.
You must specify at least one first entry or one last entry in any network ACL policy.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyPropsMixin.NetworkAclEntrySetProperty>- Returns:
- a new instance of
CfnPolicyPropsMixin.NetworkAclEntrySetProperty - Throws:
NullPointerException- if any required attribute was not provided
-