public static final class PacketData.Builder
extends java.lang.Object
PacketData.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
PacketData. |
| Modifier and Type | Method and Description |
|---|---|
PacketData |
build() |
PacketData.Builder |
setFrameSize(java.lang.Long frameSize)
If the requested frame_size is too small (given the payload and traceflow
metadata requirement of 16 bytes), the traceflow request will fail with an
appropriate message.
|
PacketData.Builder |
setRouted(java.lang.Boolean routed)
When this flag is set, traceflow packet will have its destination overwritten as
the gateway address of the logical router to which the source logical switch is
connected.
|
PacketData.Builder |
setTransportType(java.lang.String transportType)
Possible values are:
PacketData.TRANSPORT_TYPE_BROADCAST
PacketData.TRANSPORT_TYPE_UNICAST
PacketData.TRANSPORT_TYPE_MULTICAST
PacketData.TRANSPORT_TYPE_UNKNOWN
This type takes effect only for IP packet. |
public Builder()
PacketData.public PacketData.Builder setFrameSize(java.lang.Long frameSize)
frameSize - New value for the property.public PacketData.Builder setRouted(java.lang.Boolean routed)
routed - New value for the property.public PacketData.Builder setTransportType(java.lang.String transportType)
transportType - New value for the property.public PacketData build()