public static final class PortMirrorFilter.Builder
extends java.lang.Object
PortMirrorFilter.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
PortMirrorFilter. |
| Modifier and Type | Method and Description |
|---|---|
PortMirrorFilter |
build() |
PortMirrorFilter.Builder |
setDestinationIps(IPAddresses destinationIps) |
PortMirrorFilter.Builder |
setDestinationPorts(java.lang.String destinationPorts)
Destination port in the form of a port or port range, used to match the
destination port of a packet.
|
PortMirrorFilter.Builder |
setProtocol(java.lang.String protocol)
Possible values are:
PortMirrorFilter.PROTOCOL_TCP
PortMirrorFilter.PROTOCOL_UDP
The transport protocols of TCP or UDP, used to match the transport
protocol of a packet. |
PortMirrorFilter.Builder |
setSourceIps(IPAddresses sourceIps) |
PortMirrorFilter.Builder |
setSourcePorts(java.lang.String sourcePorts)
Source port in the form of a port or port range, used to match the source port
of a packet.
|
public Builder()
PortMirrorFilter.public PortMirrorFilter.Builder setDestinationIps(IPAddresses destinationIps)
destinationIps - New value for the property.public PortMirrorFilter.Builder setDestinationPorts(java.lang.String destinationPorts)
destinationPorts - New value for the property.public PortMirrorFilter.Builder setProtocol(java.lang.String protocol)
protocol - New value for the property.public PortMirrorFilter.Builder setSourceIps(IPAddresses sourceIps)
sourceIps - New value for the property.public PortMirrorFilter.Builder setSourcePorts(java.lang.String sourcePorts)
sourcePorts - New value for the property.public PortMirrorFilter build()