public static final class PortMirroringFilter.Builder
extends java.lang.Object
PortMirroringFilter
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PortMirroringFilter . |
Modifier and Type | Method and Description |
---|---|
PortMirroringFilter |
build() |
PortMirroringFilter.Builder |
setDstIps(IPAddresses dstIps) |
PortMirroringFilter.Builder |
setDstPorts(java.lang.String dstPorts)
Destination port in the form of a port or port range, used to match the
destination port of a packet.
|
PortMirroringFilter.Builder |
setFilterAction(java.lang.String filterAction)
Possible values are:
PortMirroringFilter.FILTER_ACTION_MIRROR PortMirroringFilter.FILTER_ACTION_DO_NOT_MIRROR
If set to MIRROR, packets will be mirrored. |
PortMirroringFilter.Builder |
setIpProtocol(java.lang.String ipProtocol)
Possible values are:
PortMirroringFilter.IP_PROTOCOL_TCP PortMirroringFilter.IP_PROTOCOL_UDP The
transport protocols of TCP or UDP, used to match the transport protocol of a
packet. |
PortMirroringFilter.Builder |
setSrcIps(IPAddresses srcIps) |
PortMirroringFilter.Builder |
setSrcPorts(java.lang.String srcPorts)
Source port in the form of a port or port range, used to match the source port
of a packet.
|
public Builder()
PortMirroringFilter
.public PortMirroringFilter.Builder setDstIps(IPAddresses dstIps)
dstIps
- New value for the property.public PortMirroringFilter.Builder setDstPorts(java.lang.String dstPorts)
dstPorts
- New value for the property.public PortMirroringFilter.Builder setFilterAction(java.lang.String filterAction)
filterAction
- New value for the property.public PortMirroringFilter.Builder setIpProtocol(java.lang.String ipProtocol)
ipProtocol
- New value for the property.public PortMirroringFilter.Builder setSrcIps(IPAddresses srcIps)
srcIps
- New value for the property.public PortMirroringFilter.Builder setSrcPorts(java.lang.String srcPorts)
srcPorts
- New value for the property.public PortMirroringFilter build()