Interface MatchAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MatchAttributes.Builder,MatchAttributes>,SdkBuilder<MatchAttributes.Builder,MatchAttributes>,SdkPojo
- Enclosing class:
- MatchAttributes
public static interface MatchAttributes.Builder extends SdkPojo, CopyableBuilder<MatchAttributes.Builder,MatchAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MatchAttributes.BuilderdestinationPorts(Collection<PortRange> destinationPorts)The destination ports to inspect for.MatchAttributes.BuilderdestinationPorts(Consumer<PortRange.Builder>... destinationPorts)The destination ports to inspect for.MatchAttributes.BuilderdestinationPorts(PortRange... destinationPorts)The destination ports to inspect for.MatchAttributes.Builderdestinations(Collection<Address> destinations)The destination IP addresses and address ranges to inspect for, in CIDR notation.MatchAttributes.Builderdestinations(Consumer<Address.Builder>... destinations)The destination IP addresses and address ranges to inspect for, in CIDR notation.MatchAttributes.Builderdestinations(Address... destinations)The destination IP addresses and address ranges to inspect for, in CIDR notation.MatchAttributes.Builderprotocols(Integer... protocols)The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA).MatchAttributes.Builderprotocols(Collection<Integer> protocols)The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA).MatchAttributes.BuildersourcePorts(Collection<PortRange> sourcePorts)The source ports to inspect for.MatchAttributes.BuildersourcePorts(Consumer<PortRange.Builder>... sourcePorts)The source ports to inspect for.MatchAttributes.BuildersourcePorts(PortRange... sourcePorts)The source ports to inspect for.MatchAttributes.Buildersources(Collection<Address> sources)The source IP addresses and address ranges to inspect for, in CIDR notation.MatchAttributes.Buildersources(Consumer<Address.Builder>... sources)The source IP addresses and address ranges to inspect for, in CIDR notation.MatchAttributes.Buildersources(Address... sources)The source IP addresses and address ranges to inspect for, in CIDR notation.MatchAttributes.BuildertcpFlags(Collection<TCPFlagField> tcpFlags)The TCP flags and masks to inspect for.MatchAttributes.BuildertcpFlags(Consumer<TCPFlagField.Builder>... tcpFlags)The TCP flags and masks to inspect for.MatchAttributes.BuildertcpFlags(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 Detail
-
sources
MatchAttributes.Builder sources(Collection<Address> 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
MatchAttributes.Builder sources(Address... 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
MatchAttributes.Builder sources(Consumer<Address.Builder>... 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.Builderavoiding the need to create one manually viaAddress.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 onAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sources(java.util.Collection)
-
destinations
MatchAttributes.Builder destinations(Collection<Address> 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
MatchAttributes.Builder destinations(Address... 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
MatchAttributes.Builder destinations(Consumer<Address.Builder>... 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.Builderavoiding the need to create one manually viaAddress.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 onAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#destinations(java.util.Collection)
-
sourcePorts
MatchAttributes.Builder sourcePorts(Collection<PortRange> sourcePorts)
The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).
You can specify individual ports, for example
1994and you can specify port ranges, for example1990:1994.- Parameters:
sourcePorts- The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).You can specify individual ports, for example
1994and you can specify port ranges, for example1990:1994.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePorts
MatchAttributes.Builder sourcePorts(PortRange... sourcePorts)
The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).
You can specify individual ports, for example
1994and you can specify port ranges, for example1990:1994.- Parameters:
sourcePorts- The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).You can specify individual ports, for example
1994and you can specify port ranges, for example1990:1994.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePorts
MatchAttributes.Builder sourcePorts(Consumer<PortRange.Builder>... sourcePorts)
The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).
You can specify individual ports, for example
This is a convenience method that creates an instance of the1994and you can specify port ranges, for example1990:1994.PortRange.Builderavoiding the need to create one manually viaPortRange.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 onPortRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sourcePorts(java.util.Collection)
-
destinationPorts
MatchAttributes.Builder destinationPorts(Collection<PortRange> destinationPorts)
The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).
You can specify individual ports, for example
1994and you can specify port ranges, for example1990:1994.- Parameters:
destinationPorts- The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).You can specify individual ports, for example
1994and you can specify port ranges, for example1990:1994.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPorts
MatchAttributes.Builder destinationPorts(PortRange... destinationPorts)
The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).
You can specify individual ports, for example
1994and you can specify port ranges, for example1990:1994.- Parameters:
destinationPorts- The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).You can specify individual ports, for example
1994and you can specify port ranges, for example1990:1994.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPorts
MatchAttributes.Builder destinationPorts(Consumer<PortRange.Builder>... destinationPorts)
The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).
You can specify individual ports, for example
This is a convenience method that creates an instance of the1994and you can specify port ranges, for example1990:1994.PortRange.Builderavoiding the need to create one manually viaPortRange.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 onPortRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#destinationPorts(java.util.Collection)
-
protocols
MatchAttributes.Builder protocols(Collection<Integer> protocols)
The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.
- Parameters:
protocols- The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocols
MatchAttributes.Builder protocols(Integer... protocols)
The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.
- Parameters:
protocols- The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tcpFlags
MatchAttributes.Builder tcpFlags(Collection<TCPFlagField> 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
MatchAttributes.Builder tcpFlags(TCPFlagField... 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
MatchAttributes.Builder tcpFlags(Consumer<TCPFlagField.Builder>... 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.Builderavoiding the need to create one manually viaTCPFlagField.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 onTCPFlagField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tcpFlags(java.util.Collection)
-
-