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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAnalysisAclRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnalysisAclRule.Builderbuilder()Stringcidr()The IPv4 address range, in CIDR notation.Booleanegress()Indicates whether the rule is an outbound rule.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PortRangeportRange()The range of ports.Stringprotocol()The protocol.StringruleAction()Indicates whether to allow or deny traffic that matches the rule.IntegerruleNumber()The rule number.List<SdkField<?>>sdkFields()static Class<? extends AnalysisAclRule.Builder>serializableBuilderClass()AnalysisAclRule.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
-
cidr
public final String cidr()
The IPv4 address range, in CIDR notation.
- Returns:
- The IPv4 address range, in CIDR notation.
-
egress
public final Boolean egress()
Indicates whether the rule is an outbound rule.
- Returns:
- Indicates whether the rule is an outbound rule.
-
portRange
public final PortRange portRange()
The range of ports.
- Returns:
- The range of ports.
-
protocol
public final String protocol()
The protocol.
- Returns:
- The protocol.
-
ruleAction
public final String 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
public final Integer ruleNumber()
The rule number.
- Returns:
- The rule number.
-
toBuilder
public AnalysisAclRule.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AnalysisAclRule.Builder,AnalysisAclRule>
-
builder
public static AnalysisAclRule.Builder builder()
-
serializableBuilderClass
public static Class<? extends AnalysisAclRule.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.
-
-