Interface NetworkAclEntrySet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkAclEntrySet.Builder,
,NetworkAclEntrySet> SdkBuilder<NetworkAclEntrySet.Builder,
,NetworkAclEntrySet> SdkPojo
- Enclosing class:
NetworkAclEntrySet
-
Method Summary
Modifier and TypeMethodDescriptionfirstEntries
(Collection<NetworkAclEntry> firstEntries) The rules that you want to run first in the Firewall Manager managed network ACLs.firstEntries
(Consumer<NetworkAclEntry.Builder>... firstEntries) The rules that you want to run first in the Firewall Manager managed network ACLs.firstEntries
(NetworkAclEntry... firstEntries) The rules that you want to run first in the Firewall Manager managed network ACLs.forceRemediateForFirstEntries
(Boolean forceRemediateForFirstEntries) Applies only when remediation is enabled for the policy as a whole.forceRemediateForLastEntries
(Boolean forceRemediateForLastEntries) Applies only when remediation is enabled for the policy as a whole.lastEntries
(Collection<NetworkAclEntry> lastEntries) The rules that you want to run last in the Firewall Manager managed network ACLs.lastEntries
(Consumer<NetworkAclEntry.Builder>... lastEntries) The rules that you want to run last in the Firewall Manager managed network ACLs.lastEntries
(NetworkAclEntry... lastEntries) The rules that you want to run last in the Firewall Manager managed network ACLs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theNetworkAclEntry.Builder
avoiding the need to create one manually viaNetworkAclEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofirstEntries(List<NetworkAclEntry>)
.- Parameters:
firstEntries
- a consumer that will call methods onNetworkAclEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 Firewall Manager Developer Guide.
- 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 Firewall Manager Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theNetworkAclEntry.Builder
avoiding the need to create one manually viaNetworkAclEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastEntries(List<NetworkAclEntry>)
.- Parameters:
lastEntries
- a consumer that will call methods onNetworkAclEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 Firewall Manager Developer Guide.
- 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 Firewall Manager Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-