Package com.vmware.nsx_policy.model
Class ApplianceLatencyDataItem.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ApplianceLatencyDataItem.Builder
-
- Enclosing class:
- ApplianceLatencyDataItem
public static final class ApplianceLatencyDataItem.Builder extends java.lang.Object
Builder class forApplianceLatencyDataItem
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofApplianceLatencyDataItem
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplianceLatencyDataItem
build()
ApplianceLatencyDataItem.Builder
setDestinationNodeId(java.lang.String destinationNodeId)
Display the appliance node id.ApplianceLatencyDataItem.Builder
setDestinationNodeIp(java.lang.String destinationNodeIp)
Display the appliance node ip.ApplianceLatencyDataItem.Builder
setDestinationNodeName(java.lang.String destinationNodeName)
Display the appliance node name.ApplianceLatencyDataItem.Builder
setPacketLossPercent(java.lang.String packetLossPercent)
Display the percentage of lost packet.ApplianceLatencyDataItem.Builder
setPacketReceived(java.lang.Long packetReceived)
Display the received packets.ApplianceLatencyDataItem.Builder
setPacketTransmitted(java.lang.Long packetTransmitted)
Display the transmitted packets in Ping format: int64ApplianceLatencyDataItem.Builder
setRttAvg(java.lang.Double rttAvg)
Display the average Round Trip Time in milliseconds.ApplianceLatencyDataItem.Builder
setRttMax(java.lang.Double rttMax)
Display the max Round Trip Time in milliseconds.ApplianceLatencyDataItem.Builder
setRttMdev(java.lang.Double rttMdev)
Display the mean Round Trip Time in milliseconds.ApplianceLatencyDataItem.Builder
setRttMin(java.lang.Double rttMin)
Display the min Round Trip Time in milliseconds.ApplianceLatencyDataItem.Builder
setSourceNodeIp(java.lang.String sourceNodeIp)
Display the appliance node ip.ApplianceLatencyDataItem.Builder
setStatus(java.lang.String status)
Possible values are:ApplianceLatencyDataItem.STATUS_UP
ApplianceLatencyDataItem.STATUS_DOWN
Display the connection status between source node and destination node.ApplianceLatencyDataItem.Builder
setTotalTime(java.lang.Long totalTime)
Display the total time of sending and receiving packets in milliseconds.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofApplianceLatencyDataItem
.
-
-
Method Detail
-
setDestinationNodeId
public ApplianceLatencyDataItem.Builder setDestinationNodeId(java.lang.String destinationNodeId)
Display the appliance node id.- Parameters:
destinationNodeId
- New value for the property.
-
setDestinationNodeIp
public ApplianceLatencyDataItem.Builder setDestinationNodeIp(java.lang.String destinationNodeIp)
Display the appliance node ip.- Parameters:
destinationNodeIp
- New value for the property.
-
setDestinationNodeName
public ApplianceLatencyDataItem.Builder setDestinationNodeName(java.lang.String destinationNodeName)
Display the appliance node name.- Parameters:
destinationNodeName
- New value for the property.
-
setPacketLossPercent
public ApplianceLatencyDataItem.Builder setPacketLossPercent(java.lang.String packetLossPercent)
Display the percentage of lost packet.- Parameters:
packetLossPercent
- New value for the property.
-
setPacketReceived
public ApplianceLatencyDataItem.Builder setPacketReceived(java.lang.Long packetReceived)
Display the received packets. format: int64- Parameters:
packetReceived
- New value for the property.
-
setPacketTransmitted
public ApplianceLatencyDataItem.Builder setPacketTransmitted(java.lang.Long packetTransmitted)
Display the transmitted packets in Ping format: int64- Parameters:
packetTransmitted
- New value for the property.
-
setRttAvg
public ApplianceLatencyDataItem.Builder setRttAvg(java.lang.Double rttAvg)
Display the average Round Trip Time in milliseconds.- Parameters:
rttAvg
- New value for the property.
-
setRttMax
public ApplianceLatencyDataItem.Builder setRttMax(java.lang.Double rttMax)
Display the max Round Trip Time in milliseconds.- Parameters:
rttMax
- New value for the property.
-
setRttMdev
public ApplianceLatencyDataItem.Builder setRttMdev(java.lang.Double rttMdev)
Display the mean Round Trip Time in milliseconds.- Parameters:
rttMdev
- New value for the property.
-
setRttMin
public ApplianceLatencyDataItem.Builder setRttMin(java.lang.Double rttMin)
Display the min Round Trip Time in milliseconds.- Parameters:
rttMin
- New value for the property.
-
setSourceNodeIp
public ApplianceLatencyDataItem.Builder setSourceNodeIp(java.lang.String sourceNodeIp)
Display the appliance node ip.- Parameters:
sourceNodeIp
- New value for the property.
-
setStatus
public ApplianceLatencyDataItem.Builder setStatus(java.lang.String status)
Possible values are: Display the connection status between source node and destination node.- Parameters:
status
- New value for the property.
-
setTotalTime
public ApplianceLatencyDataItem.Builder setTotalTime(java.lang.Long totalTime)
Display the total time of sending and receiving packets in milliseconds. format: int64- Parameters:
totalTime
- New value for the property.
-
build
public ApplianceLatencyDataItem build()
-
-