Interface RuleGroupSourceStatelessRuleMatchAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroupSourceStatelessRuleMatchAttributes.Builder,RuleGroupSourceStatelessRuleMatchAttributes>,SdkBuilder<RuleGroupSourceStatelessRuleMatchAttributes.Builder,RuleGroupSourceStatelessRuleMatchAttributes>,SdkPojo
- Enclosing class:
- RuleGroupSourceStatelessRuleMatchAttributes
public static interface RuleGroupSourceStatelessRuleMatchAttributes.Builder extends SdkPojo, CopyableBuilder<RuleGroupSourceStatelessRuleMatchAttributes.Builder,RuleGroupSourceStatelessRuleMatchAttributes>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaRuleGroupSourceStatelessRuleMatchAttributesDestinationPorts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#destinationPorts(List.) - 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:
#destinationPorts(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaRuleGroupSourceStatelessRuleMatchAttributesDestinations.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#destinations(List.) - 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:
#destinations(java.util.Collection)
-
protocols
RuleGroupSourceStatelessRuleMatchAttributes.Builder protocols(Collection<Integer> 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
RuleGroupSourceStatelessRuleMatchAttributes.Builder protocols(Integer... 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.Builderavoiding the need to create one manually viaRuleGroupSourceStatelessRuleMatchAttributesSourcePorts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sourcePorts(List.) - 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:
#sourcePorts(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaRuleGroupSourceStatelessRuleMatchAttributesSources.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sources(List.) - 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:
#sources(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaRuleGroupSourceStatelessRuleMatchAttributesTcpFlags.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tcpFlags(List.) - 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:
#tcpFlags(java.util.Collection)
-
-