Interface EntryDescription.Builder

  • Method Details

    • entryDetail

      EntryDescription.Builder entryDetail(NetworkAclEntry entryDetail)

      Describes a rule in a network ACL.

      Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the network ACL, Amazon Web Services processes the entries in the network ACL according to the rule numbers, in ascending order.

      When you manage an individual network ACL, you explicitly specify the rule numbers. When you specify the network ACL rules in a Firewall Manager policy, you provide the rules to run first, in the order that you want them to run, and the rules to run last, in the order that you want them to run. Firewall Manager assigns the rule numbers for you when you save the network ACL policy specification.

      Parameters:
      entryDetail - Describes a rule in a network ACL.

      Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the network ACL, Amazon Web Services processes the entries in the network ACL according to the rule numbers, in ascending order.

      When you manage an individual network ACL, you explicitly specify the rule numbers. When you specify the network ACL rules in a Firewall Manager policy, you provide the rules to run first, in the order that you want them to run, and the rules to run last, in the order that you want them to run. Firewall Manager assigns the rule numbers for you when you save the network ACL policy specification.

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

      default EntryDescription.Builder entryDetail(Consumer<NetworkAclEntry.Builder> entryDetail)

      Describes a rule in a network ACL.

      Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the network ACL, Amazon Web Services processes the entries in the network ACL according to the rule numbers, in ascending order.

      When you manage an individual network ACL, you explicitly specify the rule numbers. When you specify the network ACL rules in a Firewall Manager policy, you provide the rules to run first, in the order that you want them to run, and the rules to run last, in the order that you want them to run. Firewall Manager assigns the rule numbers for you when you save the network ACL policy specification.

      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 entryDetail(NetworkAclEntry).

      Parameters:
      entryDetail - 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:
    • entryRuleNumber

      EntryDescription.Builder entryRuleNumber(Integer entryRuleNumber)

      The rule number for the entry. ACL entries are processed in ascending order by rule number. In a Firewall Manager network ACL policy, Firewall Manager assigns rule numbers.

      Parameters:
      entryRuleNumber - The rule number for the entry. ACL entries are processed in ascending order by rule number. In a Firewall Manager network ACL policy, Firewall Manager assigns rule numbers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entryType

      EntryDescription.Builder entryType(String entryType)

      Specifies whether the entry is managed by Firewall Manager or by a user, and, for Firewall Manager-managed entries, specifies whether the entry is among those that run first in the network ACL or those that run last.

      Parameters:
      entryType - Specifies whether the entry is managed by Firewall Manager or by a user, and, for Firewall Manager-managed entries, specifies whether the entry is among those that run first in the network ACL or those that run last.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • entryType

      EntryDescription.Builder entryType(EntryType entryType)

      Specifies whether the entry is managed by Firewall Manager or by a user, and, for Firewall Manager-managed entries, specifies whether the entry is among those that run first in the network ACL or those that run last.

      Parameters:
      entryType - Specifies whether the entry is managed by Firewall Manager or by a user, and, for Firewall Manager-managed entries, specifies whether the entry is among those that run first in the network ACL or those that run last.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: