Class AnalysisAclRule
java.lang.Object
software.amazon.awssdk.services.ec2.model.AnalysisAclRule
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AnalysisAclRule.Builder,AnalysisAclRule>
@Generated("software.amazon.awssdk:codegen")
public final class AnalysisAclRule
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<AnalysisAclRule.Builder,AnalysisAclRule>
Describes a network access control (ACL) rule.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AnalysisAclRule.Builderbuilder()final Stringcidr()The IPv4 address range, in CIDR notation.final Booleanegress()Indicates whether the rule is an outbound rule.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final PortRangeThe range of ports.final Stringprotocol()The protocol.final StringIndicates whether to allow or deny traffic that matches the rule.final IntegerThe rule number.static Class<? extends AnalysisAclRule.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
cidr
The IPv4 address range, in CIDR notation.
- Returns:
- The IPv4 address range, in CIDR notation.
-
egress
Indicates whether the rule is an outbound rule.
- Returns:
- Indicates whether the rule is an outbound rule.
-
portRange
The range of ports.
- Returns:
- The range of ports.
-
protocol
The protocol.
- Returns:
- The protocol.
-
ruleAction
Indicates whether to allow or deny traffic that matches the rule.
- Returns:
- Indicates whether to allow or deny traffic that matches the rule.
-
ruleNumber
The rule number.
- Returns:
- The rule number.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AnalysisAclRule.Builder,AnalysisAclRule>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-