Interface MatchAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MatchAttributes.Builder,
,MatchAttributes> SdkBuilder<MatchAttributes.Builder,
,MatchAttributes> SdkPojo
- Enclosing class:
MatchAttributes
-
Method Summary
Modifier and TypeMethodDescriptiondestinationPorts
(Collection<PortRange> destinationPorts) The destination port to inspect for.destinationPorts
(Consumer<PortRange.Builder>... destinationPorts) The destination port to inspect for.destinationPorts
(PortRange... destinationPorts) The destination port to inspect for.destinations
(Collection<Address> destinations) The destination IP addresses and address ranges to inspect for, in CIDR notation.destinations
(Consumer<Address.Builder>... destinations) The destination IP addresses and address ranges to inspect for, in CIDR notation.destinations
(Address... destinations) The destination IP addresses and address ranges to inspect for, in CIDR notation.The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol.protocols
(Collection<Integer> protocols) The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol.sourcePorts
(Collection<PortRange> sourcePorts) The source port to inspect for.sourcePorts
(Consumer<PortRange.Builder>... sourcePorts) The source port to inspect for.sourcePorts
(PortRange... sourcePorts) The source port to inspect for.sources
(Collection<Address> sources) The source IP addresses and address ranges to inspect for, in CIDR notation.sources
(Consumer<Address.Builder>... sources) 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.tcpFlags
(Collection<TCPFlagField> tcpFlags) The TCP flags and masks to inspect for.tcpFlags
(Consumer<TCPFlagField.Builder>... tcpFlags) The TCP flags and masks to inspect for.tcpFlags
(TCPFlagField... tcpFlags) 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, sdkFieldNameToField, sdkFields
-
Method Details
-
sources
The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.
- Parameters:
sources
- The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.
- Parameters:
sources
- The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.
This is a convenience method that creates an instance of theAddress.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<Address>)
.- Parameters:
sources
- a consumer that will call methods onAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinations
The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.
- Parameters:
destinations
- The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.
- Parameters:
destinations
- The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.
This is a convenience method that creates an instance of theAddress.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinations(List<Address>)
.- Parameters:
destinations
- a consumer that will call methods onAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourcePorts
The source port to inspect for. You can specify an individual port, for example
1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.If not specified, this matches with any source port.
This setting is only used for protocols 6 (TCP) and 17 (UDP).
- Parameters:
sourcePorts
- The source port to inspect for. You can specify an individual port, for example1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.If not specified, this matches with any source port.
This setting is only used for protocols 6 (TCP) and 17 (UDP).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePorts
The source port to inspect for. You can specify an individual port, for example
1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.If not specified, this matches with any source port.
This setting is only used for protocols 6 (TCP) and 17 (UDP).
- Parameters:
sourcePorts
- The source port to inspect for. You can specify an individual port, for example1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.If not specified, this matches with any source port.
This setting is only used for protocols 6 (TCP) and 17 (UDP).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePorts
The source port to inspect for. You can specify an individual port, for example
1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.If not specified, this matches with any source port.
This setting is only used for protocols 6 (TCP) and 17 (UDP).
This is a convenience method that creates an instance of thePortRange.Builder
avoiding the need to create one manually viaPortRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourcePorts(List<PortRange>)
.- Parameters:
sourcePorts
- a consumer that will call methods onPortRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationPorts
The destination port to inspect for. You can specify an individual port, for example
1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.This setting is only used for protocols 6 (TCP) and 17 (UDP).
- Parameters:
destinationPorts
- The destination port to inspect for. You can specify an individual port, for example1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.This setting is only used for protocols 6 (TCP) and 17 (UDP).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPorts
The destination port to inspect for. You can specify an individual port, for example
1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.This setting is only used for protocols 6 (TCP) and 17 (UDP).
- Parameters:
destinationPorts
- The destination port to inspect for. You can specify an individual port, for example1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.This setting is only used for protocols 6 (TCP) and 17 (UDP).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPorts
The destination port to inspect for. You can specify an individual port, for example
1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.This setting is only used for protocols 6 (TCP) and 17 (UDP).
This is a convenience method that creates an instance of thePortRange.Builder
avoiding the need to create one manually viaPortRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationPorts(List<PortRange>)
.- Parameters:
destinationPorts
- a consumer that will call methods onPortRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocols
The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.
- Parameters:
protocols
- The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocols
The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.
- Parameters:
protocols
- The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tcpFlags
The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).
- Parameters:
tcpFlags
- The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tcpFlags
The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).
- Parameters:
tcpFlags
- The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tcpFlags
The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).
This is a convenience method that creates an instance of theTCPFlagField.Builder
avoiding the need to create one manually viaTCPFlagField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totcpFlags(List<TCPFlagField>)
.- Parameters:
tcpFlags
- a consumer that will call methods onTCPFlagField.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-