Class EntryDescription
- java.lang.Object
-
- software.amazon.awssdk.services.fms.model.EntryDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EntryDescription.Builder,EntryDescription>
@Generated("software.amazon.awssdk:codegen") public final class EntryDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EntryDescription.Builder,EntryDescription>
Describes a single rule in a network ACL.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEntryDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntryDescription.Builderbuilder()NetworkAclEntryentryDetail()Describes a rule in a network ACL.IntegerentryRuleNumber()The rule number for the entry.EntryTypeentryType()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.StringentryTypeAsString()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.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends EntryDescription.Builder>serializableBuilderClass()EntryDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
entryDetail
public final 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.
- Returns:
- 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.
-
entryRuleNumber
public final 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.
- Returns:
- 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.
-
entryType
public final 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.
If the service returns an enum value that is not available in the current SDK version,
entryTypewill returnEntryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromentryTypeAsString().- Returns:
- 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.
- See Also:
EntryType
-
entryTypeAsString
public final String entryTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
entryTypewill returnEntryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromentryTypeAsString().- Returns:
- 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.
- See Also:
EntryType
-
toBuilder
public EntryDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EntryDescription.Builder,EntryDescription>
-
builder
public static EntryDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends EntryDescription.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-