Interface RuleGroupSourceStatefulRulesHeaderDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleGroupSourceStatefulRulesHeaderDetails.Builder,
,RuleGroupSourceStatefulRulesHeaderDetails> SdkBuilder<RuleGroupSourceStatefulRulesHeaderDetails.Builder,
,RuleGroupSourceStatefulRulesHeaderDetails> SdkPojo
- Enclosing class:
RuleGroupSourceStatefulRulesHeaderDetails
-
Method Summary
Modifier and TypeMethodDescriptiondestination
(String destination) The destination IP address or address range to inspect for, in CIDR notation.destinationPort
(String destinationPort) The destination port to inspect for.The direction of traffic flow to inspect.The protocol to inspect for.The source IP address or address range to inspect for, in CIDR notation.sourcePort
(String sourcePort) The source port to inspect for.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
destination
The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify
ANY
.- Parameters:
destination
- The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specifyANY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPort
The destination port to inspect for. You can specify an individual port, such as
1994
. You also can specify a port range, such as1990:1994
. To match with any port, specifyANY
.- Parameters:
destinationPort
- The destination port to inspect for. You can specify an individual port, such as1994
. You also can specify a port range, such as1990:1994
. To match with any port, specifyANY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 toFORWARD
, the inspection only matches traffic going from the source to the destination.- Parameters:
direction
- The direction of traffic flow to inspect. If set toANY
, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set toFORWARD
, the inspection only matches traffic going from the source to the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocol to inspect for. To inspector for all protocols, use
IP
.- Parameters:
protocol
- The protocol to inspect for. To inspector for all protocols, useIP
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify
ANY
.- Parameters:
source
- The source IP address or address range to inspect for, in CIDR notation. To match with any address, specifyANY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePort
The source port to inspect for. You can specify an individual port, such as
1994
. You also can specify a port range, such as1990:1994
. To match with any port, specifyANY
.- Parameters:
sourcePort
- The source port to inspect for. You can specify an individual port, such as1994
. You also can specify a port range, such as1990:1994
. To match with any port, specifyANY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-