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 interface
AnalysisAclRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnalysisAclRule.Builder
builder()
String
cidr()
The IPv4 address range, in CIDR notation.Boolean
egress()
Indicates whether the rule is an outbound rule.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
PortRange
portRange()
The range of ports.String
protocol()
The protocol.String
ruleAction()
Indicates whether to allow or deny traffic that matches the rule.Integer
ruleNumber()
The rule number.List<SdkField<?>>
sdkFields()
static Class<? extends AnalysisAclRule.Builder>
serializableBuilderClass()
AnalysisAclRule.Builder
toBuilder()
String
toString()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-