Interface NetworkAclEntrySet.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkAclEntrySet.Builder,NetworkAclEntrySet>,SdkBuilder<NetworkAclEntrySet.Builder,NetworkAclEntrySet>,SdkPojo
- Enclosing class:
- NetworkAclEntrySet
public static interface NetworkAclEntrySet.Builder extends SdkPojo, CopyableBuilder<NetworkAclEntrySet.Builder,NetworkAclEntrySet>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkAclEntrySet.BuilderfirstEntries(Collection<NetworkAclEntry> firstEntries)The rules that you want to run first in the Firewall Manager managed network ACLs.NetworkAclEntrySet.BuilderfirstEntries(Consumer<NetworkAclEntry.Builder>... firstEntries)The rules that you want to run first in the Firewall Manager managed network ACLs.NetworkAclEntrySet.BuilderfirstEntries(NetworkAclEntry... firstEntries)The rules that you want to run first in the Firewall Manager managed network ACLs.NetworkAclEntrySet.BuilderforceRemediateForFirstEntries(Boolean forceRemediateForFirstEntries)Applies only when remediation is enabled for the policy as a whole.NetworkAclEntrySet.BuilderforceRemediateForLastEntries(Boolean forceRemediateForLastEntries)Applies only when remediation is enabled for the policy as a whole.NetworkAclEntrySet.BuilderlastEntries(Collection<NetworkAclEntry> lastEntries)The rules that you want to run last in the Firewall Manager managed network ACLs.NetworkAclEntrySet.BuilderlastEntries(Consumer<NetworkAclEntry.Builder>... lastEntries)The rules that you want to run last in the Firewall Manager managed network ACLs.NetworkAclEntrySet.BuilderlastEntries(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 Detail
-
firstEntries
NetworkAclEntrySet.Builder firstEntries(Collection<NetworkAclEntry> 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
NetworkAclEntrySet.Builder firstEntries(NetworkAclEntry... 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
NetworkAclEntrySet.Builder firstEntries(Consumer<NetworkAclEntry.Builder>... 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.Builderavoiding the need to create one manually viaNetworkAclEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#firstEntries(List.) - 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:
#firstEntries(java.util.Collection)
-
forceRemediateForFirstEntries
NetworkAclEntrySet.Builder forceRemediateForFirstEntries(Boolean 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
NetworkAclEntrySet.Builder lastEntries(Collection<NetworkAclEntry> 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
NetworkAclEntrySet.Builder lastEntries(NetworkAclEntry... 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
NetworkAclEntrySet.Builder lastEntries(Consumer<NetworkAclEntry.Builder>... 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.Builderavoiding the need to create one manually viaNetworkAclEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lastEntries(List.) - 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:
#lastEntries(java.util.Collection)
-
forceRemediateForLastEntries
NetworkAclEntrySet.Builder forceRemediateForLastEntries(Boolean 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.
-
-