Interface RuleGroupSourceStatelessRuleMatchAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleGroupSourceStatelessRuleMatchAttributes.Builder,
,RuleGroupSourceStatelessRuleMatchAttributes> SdkBuilder<RuleGroupSourceStatelessRuleMatchAttributes.Builder,
,RuleGroupSourceStatelessRuleMatchAttributes> SdkPojo
- Enclosing class:
RuleGroupSourceStatelessRuleMatchAttributes
-
Method Summary
Modifier and TypeMethodDescriptiondestinationPorts
(Collection<RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts> destinationPorts) A list of port ranges to specify the destination ports to inspect for.destinationPorts
(Consumer<RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts.Builder>... destinationPorts) A list of port ranges to specify the destination ports to inspect for.destinationPorts
(RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts... destinationPorts) A list of port ranges to specify the destination ports to inspect for.The destination IP addresses and address ranges to inspect for, in CIDR notation.destinations
(Consumer<RuleGroupSourceStatelessRuleMatchAttributesDestinations.Builder>... destinations) The destination IP addresses and address ranges to inspect for, in CIDR notation.destinations
(RuleGroupSourceStatelessRuleMatchAttributesDestinations... destinations) The destination IP addresses and address ranges to inspect for, in CIDR notation.The protocols to inspect for.protocols
(Collection<Integer> protocols) The protocols to inspect for.A list of port ranges to specify the source ports to inspect for.sourcePorts
(Consumer<RuleGroupSourceStatelessRuleMatchAttributesSourcePorts.Builder>... sourcePorts) A list of port ranges to specify the source ports to inspect for.sourcePorts
(RuleGroupSourceStatelessRuleMatchAttributesSourcePorts... sourcePorts) A list of port ranges to specify the source ports to inspect for.The source IP addresses and address ranges to inspect for, in CIDR notation.The source IP addresses and address ranges to inspect for, in CIDR notation.The source IP addresses and address ranges to inspect for, in CIDR notation.The TCP flags and masks to inspect for.The TCP flags and masks to inspect for.The TCP flags and masks 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
-
destinationPorts
RuleGroupSourceStatelessRuleMatchAttributes.Builder destinationPorts(Collection<RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts> destinationPorts) A list of port ranges to specify the destination ports to inspect for.
- Parameters:
destinationPorts
- A list of port ranges to specify the destination ports to inspect for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPorts
RuleGroupSourceStatelessRuleMatchAttributes.Builder destinationPorts(RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts... destinationPorts) A list of port ranges to specify the destination ports to inspect for.
- Parameters:
destinationPorts
- A list of port ranges to specify the destination ports to inspect for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPorts
RuleGroupSourceStatelessRuleMatchAttributes.Builder destinationPorts(Consumer<RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts.Builder>... destinationPorts) A list of port ranges to specify the destination ports to inspect for.
This is a convenience method that creates an instance of theRuleGroupSourceStatelessRuleMatchAttributesDestinationPorts.Builder
avoiding the need to create one manually viaRuleGroupSourceStatelessRuleMatchAttributesDestinationPorts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationPorts(List<RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts>)
.- Parameters:
destinationPorts
- a consumer that will call methods onRuleGroupSourceStatelessRuleMatchAttributesDestinationPorts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinations
RuleGroupSourceStatelessRuleMatchAttributes.Builder destinations(Collection<RuleGroupSourceStatelessRuleMatchAttributesDestinations> destinations) The destination IP addresses and address ranges to inspect for, in CIDR notation.
- Parameters:
destinations
- The destination IP addresses and address ranges to inspect for, in CIDR notation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
RuleGroupSourceStatelessRuleMatchAttributes.Builder destinations(RuleGroupSourceStatelessRuleMatchAttributesDestinations... destinations) The destination IP addresses and address ranges to inspect for, in CIDR notation.
- Parameters:
destinations
- The destination IP addresses and address ranges to inspect for, in CIDR notation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
RuleGroupSourceStatelessRuleMatchAttributes.Builder destinations(Consumer<RuleGroupSourceStatelessRuleMatchAttributesDestinations.Builder>... destinations) The destination IP addresses and address ranges to inspect for, in CIDR notation.
This is a convenience method that creates an instance of theRuleGroupSourceStatelessRuleMatchAttributesDestinations.Builder
avoiding the need to create one manually viaRuleGroupSourceStatelessRuleMatchAttributesDestinations.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinations(List<RuleGroupSourceStatelessRuleMatchAttributesDestinations>)
.- Parameters:
destinations
- a consumer that will call methods onRuleGroupSourceStatelessRuleMatchAttributesDestinations.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocols
The protocols to inspect for.
- Parameters:
protocols
- The protocols to inspect for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocols
The protocols to inspect for.
- Parameters:
protocols
- The protocols to inspect for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePorts
RuleGroupSourceStatelessRuleMatchAttributes.Builder sourcePorts(Collection<RuleGroupSourceStatelessRuleMatchAttributesSourcePorts> sourcePorts) A list of port ranges to specify the source ports to inspect for.
- Parameters:
sourcePorts
- A list of port ranges to specify the source ports to inspect for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePorts
RuleGroupSourceStatelessRuleMatchAttributes.Builder sourcePorts(RuleGroupSourceStatelessRuleMatchAttributesSourcePorts... sourcePorts) A list of port ranges to specify the source ports to inspect for.
- Parameters:
sourcePorts
- A list of port ranges to specify the source ports to inspect for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePorts
RuleGroupSourceStatelessRuleMatchAttributes.Builder sourcePorts(Consumer<RuleGroupSourceStatelessRuleMatchAttributesSourcePorts.Builder>... sourcePorts) A list of port ranges to specify the source ports to inspect for.
This is a convenience method that creates an instance of theRuleGroupSourceStatelessRuleMatchAttributesSourcePorts.Builder
avoiding the need to create one manually viaRuleGroupSourceStatelessRuleMatchAttributesSourcePorts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourcePorts(List<RuleGroupSourceStatelessRuleMatchAttributesSourcePorts>)
.- Parameters:
sourcePorts
- a consumer that will call methods onRuleGroupSourceStatelessRuleMatchAttributesSourcePorts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sources
RuleGroupSourceStatelessRuleMatchAttributes.Builder sources(Collection<RuleGroupSourceStatelessRuleMatchAttributesSources> sources) The source IP addresses and address ranges to inspect for, in CIDR notation.
- Parameters:
sources
- The source IP addresses and address ranges to inspect for, in CIDR notation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
RuleGroupSourceStatelessRuleMatchAttributes.Builder sources(RuleGroupSourceStatelessRuleMatchAttributesSources... sources) The source IP addresses and address ranges to inspect for, in CIDR notation.
- Parameters:
sources
- The source IP addresses and address ranges to inspect for, in CIDR notation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
RuleGroupSourceStatelessRuleMatchAttributes.Builder sources(Consumer<RuleGroupSourceStatelessRuleMatchAttributesSources.Builder>... sources) The source IP addresses and address ranges to inspect for, in CIDR notation.
This is a convenience method that creates an instance of theRuleGroupSourceStatelessRuleMatchAttributesSources.Builder
avoiding the need to create one manually viaRuleGroupSourceStatelessRuleMatchAttributesSources.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<RuleGroupSourceStatelessRuleMatchAttributesSources>)
.- Parameters:
sources
- a consumer that will call methods onRuleGroupSourceStatelessRuleMatchAttributesSources.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tcpFlags
RuleGroupSourceStatelessRuleMatchAttributes.Builder tcpFlags(Collection<RuleGroupSourceStatelessRuleMatchAttributesTcpFlags> tcpFlags) The TCP flags and masks to inspect for.
- Parameters:
tcpFlags
- The TCP flags and masks to inspect for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tcpFlags
RuleGroupSourceStatelessRuleMatchAttributes.Builder tcpFlags(RuleGroupSourceStatelessRuleMatchAttributesTcpFlags... tcpFlags) The TCP flags and masks to inspect for.
- Parameters:
tcpFlags
- The TCP flags and masks to inspect for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tcpFlags
RuleGroupSourceStatelessRuleMatchAttributes.Builder tcpFlags(Consumer<RuleGroupSourceStatelessRuleMatchAttributesTcpFlags.Builder>... tcpFlags) The TCP flags and masks to inspect for.
This is a convenience method that creates an instance of theRuleGroupSourceStatelessRuleMatchAttributesTcpFlags.Builder
avoiding the need to create one manually viaRuleGroupSourceStatelessRuleMatchAttributesTcpFlags.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totcpFlags(List<RuleGroupSourceStatelessRuleMatchAttributesTcpFlags>)
.- Parameters:
tcpFlags
- a consumer that will call methods onRuleGroupSourceStatelessRuleMatchAttributesTcpFlags.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-