Interface NetworkAclEntrySet.Builder

  • 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

      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

      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 the NetworkAclEntry.Builder avoiding the need to create one manually via NetworkAclEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to firstEntries(List<NetworkAclEntry>).

      Parameters:
      firstEntries - a consumer that will call methods on NetworkAclEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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 the NetworkAclEntry.Builder avoiding the need to create one manually via NetworkAclEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lastEntries(List<NetworkAclEntry>).

      Parameters:
      lastEntries - a consumer that will call methods on NetworkAclEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.