Interface RuleGroupSourceStatefulRulesHeaderDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroupSourceStatefulRulesHeaderDetails.Builder,RuleGroupSourceStatefulRulesHeaderDetails>,SdkBuilder<RuleGroupSourceStatefulRulesHeaderDetails.Builder,RuleGroupSourceStatefulRulesHeaderDetails>,SdkPojo
- Enclosing class:
- RuleGroupSourceStatefulRulesHeaderDetails
public static interface RuleGroupSourceStatefulRulesHeaderDetails.Builder extends SdkPojo, CopyableBuilder<RuleGroupSourceStatefulRulesHeaderDetails.Builder,RuleGroupSourceStatefulRulesHeaderDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuleGroupSourceStatefulRulesHeaderDetails.Builderdestination(String destination)The destination IP address or address range to inspect for, in CIDR notation.RuleGroupSourceStatefulRulesHeaderDetails.BuilderdestinationPort(String destinationPort)The destination port to inspect for.RuleGroupSourceStatefulRulesHeaderDetails.Builderdirection(String direction)The direction of traffic flow to inspect.RuleGroupSourceStatefulRulesHeaderDetails.Builderprotocol(String protocol)The protocol to inspect for.RuleGroupSourceStatefulRulesHeaderDetails.Buildersource(String source)The source IP address or address range to inspect for, in CIDR notation.RuleGroupSourceStatefulRulesHeaderDetails.BuildersourcePort(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 Detail
-
destination
RuleGroupSourceStatefulRulesHeaderDetails.Builder destination(String 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
RuleGroupSourceStatefulRulesHeaderDetails.Builder destinationPort(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 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
RuleGroupSourceStatefulRulesHeaderDetails.Builder direction(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 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
RuleGroupSourceStatefulRulesHeaderDetails.Builder protocol(String 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
RuleGroupSourceStatefulRulesHeaderDetails.Builder source(String 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
RuleGroupSourceStatefulRulesHeaderDetails.Builder sourcePort(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 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.
-
-