@Generated(value="software.amazon.awssdk:codegen") public final class RuleGroupSourceStatefulRulesHeaderDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleGroupSourceStatefulRulesHeaderDetails.Builder,RuleGroupSourceStatefulRulesHeaderDetails>
The inspection criteria for a stateful rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuleGroupSourceStatefulRulesHeaderDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RuleGroupSourceStatefulRulesHeaderDetails.Builder |
builder() |
String |
destination()
The destination IP address or address range to inspect for, in CIDR notation.
|
String |
destinationPort()
The destination port to inspect for.
|
String |
direction()
The direction of traffic flow to inspect.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
protocol()
The protocol to inspect for.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RuleGroupSourceStatefulRulesHeaderDetails.Builder> |
serializableBuilderClass() |
String |
source()
The source IP address or address range to inspect for, in CIDR notation.
|
String |
sourcePort()
The source port to inspect for.
|
RuleGroupSourceStatefulRulesHeaderDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String destination()
The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify
ANY.
ANY.public final String destinationPort()
The destination port to inspect for. You can specify an individual port, such as 1994. You also can
specify a port range, such as 1990:1994. To match with any port, specify ANY.
1994. You
also can specify a port range, such as 1990:1994. To match with any port, specify
ANY.public final String direction()
The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional
traffic, both from the source to the destination and from the destination to the source. If set to
FORWARD, the inspection only matches traffic going from the source to the destination.
ANY, the inspection matches
bidirectional traffic, both from the source to the destination and from the destination to the source. If
set to FORWARD, the inspection only matches traffic going from the source to the
destination.public final String protocol()
The protocol to inspect for. To inspector for all protocols, use IP.
IP.public final String source()
The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify
ANY.
ANY.public final String sourcePort()
The source port to inspect for. You can specify an individual port, such as 1994. You also can
specify a port range, such as 1990:1994. To match with any port, specify ANY.
1994. You also
can specify a port range, such as 1990:1994. To match with any port, specify
ANY.public RuleGroupSourceStatefulRulesHeaderDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RuleGroupSourceStatefulRulesHeaderDetails.Builder,RuleGroupSourceStatefulRulesHeaderDetails>public static RuleGroupSourceStatefulRulesHeaderDetails.Builder builder()
public static Class<? extends RuleGroupSourceStatefulRulesHeaderDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.