Interface NetworkAclEntrySet.Builder

    • 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.

        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.

        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.

        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.

        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.

        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).

        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:
        #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 Network access control list (ACL) policies 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 Network access control list (ACL) policies 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.

        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.

        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.

        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.

        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.

        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).

        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:
        #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 Network access control list (ACL) policies 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 Network access control list (ACL) policies in the Firewall Manager Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.