Class CfnPolicy.NetworkAclEntrySetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicy.NetworkAclEntrySetProperty>
- Enclosing interface:
CfnPolicy.NetworkAclEntrySetProperty
CfnPolicy.NetworkAclEntrySetProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.firstEntries
(List<? extends Object> firstEntries) Sets the value ofCfnPolicy.NetworkAclEntrySetProperty.getFirstEntries()
firstEntries
(IResolvable firstEntries) Sets the value ofCfnPolicy.NetworkAclEntrySetProperty.getFirstEntries()
forceRemediateForFirstEntries
(Boolean forceRemediateForFirstEntries) Sets the value ofCfnPolicy.NetworkAclEntrySetProperty.getForceRemediateForFirstEntries()
forceRemediateForFirstEntries
(IResolvable forceRemediateForFirstEntries) Sets the value ofCfnPolicy.NetworkAclEntrySetProperty.getForceRemediateForFirstEntries()
forceRemediateForLastEntries
(Boolean forceRemediateForLastEntries) Sets the value ofCfnPolicy.NetworkAclEntrySetProperty.getForceRemediateForLastEntries()
forceRemediateForLastEntries
(IResolvable forceRemediateForLastEntries) Sets the value ofCfnPolicy.NetworkAclEntrySetProperty.getForceRemediateForLastEntries()
lastEntries
(List<? extends Object> lastEntries) Sets the value ofCfnPolicy.NetworkAclEntrySetProperty.getLastEntries()
lastEntries
(IResolvable lastEntries) Sets the value ofCfnPolicy.NetworkAclEntrySetProperty.getLastEntries()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
forceRemediateForFirstEntries
@Stability(Stable) public CfnPolicy.NetworkAclEntrySetProperty.Builder forceRemediateForFirstEntries(Boolean forceRemediateForFirstEntries) Sets the value ofCfnPolicy.NetworkAclEntrySetProperty.getForceRemediateForFirstEntries()
- Parameters:
forceRemediateForFirstEntries
- Applies only when remediation is enabled for the policy as a whole. This parameter is required. 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 CfnPolicy.NetworkAclEntrySetProperty.Builder forceRemediateForFirstEntries(IResolvable forceRemediateForFirstEntries) Sets the value ofCfnPolicy.NetworkAclEntrySetProperty.getForceRemediateForFirstEntries()
- Parameters:
forceRemediateForFirstEntries
- Applies only when remediation is enabled for the policy as a whole. This parameter is required. 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 CfnPolicy.NetworkAclEntrySetProperty.Builder forceRemediateForLastEntries(Boolean forceRemediateForLastEntries) Sets the value ofCfnPolicy.NetworkAclEntrySetProperty.getForceRemediateForLastEntries()
- Parameters:
forceRemediateForLastEntries
- Applies only when remediation is enabled for the policy as a whole. This parameter is required. 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 CfnPolicy.NetworkAclEntrySetProperty.Builder forceRemediateForLastEntries(IResolvable forceRemediateForLastEntries) Sets the value ofCfnPolicy.NetworkAclEntrySetProperty.getForceRemediateForLastEntries()
- Parameters:
forceRemediateForLastEntries
- Applies only when remediation is enabled for the policy as a whole. This parameter is required. 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
-
firstEntries
@Stability(Stable) public CfnPolicy.NetworkAclEntrySetProperty.Builder firstEntries(IResolvable firstEntries) Sets the value ofCfnPolicy.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 CfnPolicy.NetworkAclEntrySetProperty.Builder firstEntries(List<? extends Object> firstEntries) Sets the value ofCfnPolicy.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
-
lastEntries
@Stability(Stable) public CfnPolicy.NetworkAclEntrySetProperty.Builder lastEntries(IResolvable lastEntries) Sets the value ofCfnPolicy.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 CfnPolicy.NetworkAclEntrySetProperty.Builder lastEntries(List<? extends Object> lastEntries) Sets the value ofCfnPolicy.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnPolicy.NetworkAclEntrySetProperty>
- Returns:
- a new instance of
CfnPolicy.NetworkAclEntrySetProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-