Package com.vmware.nsx_policy.model
Class LBStatisticsCounter.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBStatisticsCounter.Builder
-
- Enclosing class:
- LBStatisticsCounter
public static final class LBStatisticsCounter.Builder extends java.lang.ObjectBuilder class forLBStatisticsCounter.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofLBStatisticsCounter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBStatisticsCounterbuild()LBStatisticsCounter.BuildersetBytesIn(java.lang.Long bytesIn)Number of bytes in.LBStatisticsCounter.BuildersetBytesInRate(java.lang.Double bytesInRate)The average number of inbound bytes per second, the number is averaged over the last 5 one-second intervals.LBStatisticsCounter.BuildersetBytesOut(java.lang.Long bytesOut)Number of bytes out.LBStatisticsCounter.BuildersetBytesOutRate(java.lang.Double bytesOutRate)The average number of outbound bytes per second, the number is averaged over the last 5 one-second intervals.LBStatisticsCounter.BuildersetCurrentSessionRate(java.lang.Double currentSessionRate)The average number of current sessions per second, the number is averaged over the last 5 one-second intervals.LBStatisticsCounter.BuildersetCurrentSessions(java.lang.Long currentSessions)Number of current sessions.LBStatisticsCounter.BuildersetDroppedPacketsByAccessList(java.lang.Long droppedPacketsByAccessList)The total number of dropped TCP SYN or UDP packets by access list control.LBStatisticsCounter.BuildersetDroppedSessionsByLbruleAction(java.lang.Long droppedSessionsByLbruleAction)The total number of dropped sessions by LB rule action.LBStatisticsCounter.BuildersetHttpRequestRate(java.lang.Double httpRequestRate)The average number of http requests per second, the number is averaged over the last 5 one-second intervals.LBStatisticsCounter.BuildersetHttpRequests(java.lang.Long httpRequests)The total number of http requests.LBStatisticsCounter.BuildersetMaxSessions(java.lang.Long maxSessions)Number of maximum sessions.LBStatisticsCounter.BuildersetPacketsIn(java.lang.Long packetsIn)Number of packets in.LBStatisticsCounter.BuildersetPacketsInRate(java.lang.Double packetsInRate)The average number of inbound packets per second, the number is averaged over the last 5 one-second intervals.LBStatisticsCounter.BuildersetPacketsOut(java.lang.Long packetsOut)Number of packets out.LBStatisticsCounter.BuildersetPacketsOutRate(java.lang.Double packetsOutRate)The average number of outbound packets per second, the number is averaged over the last 5 one-second intervals.LBStatisticsCounter.BuildersetSourceIpPersistenceEntrySize(java.lang.Long sourceIpPersistenceEntrySize)Number of source IP persistence entries format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.LBStatisticsCounter.BuildersetTotalSessions(java.lang.Long totalSessions)Number of total sessions.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBStatisticsCounter.
-
-
Method Detail
-
setBytesIn
public LBStatisticsCounter.Builder setBytesIn(java.lang.Long bytesIn)
Number of bytes in. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
bytesIn- New value for the property.
-
setBytesInRate
public LBStatisticsCounter.Builder setBytesInRate(java.lang.Double bytesInRate)
The average number of inbound bytes per second, the number is averaged over the last 5 one-second intervals. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
bytesInRate- New value for the property.
-
setBytesOut
public LBStatisticsCounter.Builder setBytesOut(java.lang.Long bytesOut)
Number of bytes out. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
bytesOut- New value for the property.
-
setBytesOutRate
public LBStatisticsCounter.Builder setBytesOutRate(java.lang.Double bytesOutRate)
The average number of outbound bytes per second, the number is averaged over the last 5 one-second intervals. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
bytesOutRate- New value for the property.
-
setCurrentSessionRate
public LBStatisticsCounter.Builder setCurrentSessionRate(java.lang.Double currentSessionRate)
The average number of current sessions per second, the number is averaged over the last 5 one-second intervals. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
currentSessionRate- New value for the property.
-
setCurrentSessions
public LBStatisticsCounter.Builder setCurrentSessions(java.lang.Long currentSessions)
Number of current sessions. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
currentSessions- New value for the property.
-
setDroppedPacketsByAccessList
public LBStatisticsCounter.Builder setDroppedPacketsByAccessList(java.lang.Long droppedPacketsByAccessList)
The total number of dropped TCP SYN or UDP packets by access list control. format: int64- Parameters:
droppedPacketsByAccessList- New value for the property.
-
setDroppedSessionsByLbruleAction
public LBStatisticsCounter.Builder setDroppedSessionsByLbruleAction(java.lang.Long droppedSessionsByLbruleAction)
The total number of dropped sessions by LB rule action. format: int64- Parameters:
droppedSessionsByLbruleAction- New value for the property.
-
setHttpRequestRate
public LBStatisticsCounter.Builder setHttpRequestRate(java.lang.Double httpRequestRate)
The average number of http requests per second, the number is averaged over the last 5 one-second intervals. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
httpRequestRate- New value for the property.
-
setHttpRequests
public LBStatisticsCounter.Builder setHttpRequests(java.lang.Long httpRequests)
The total number of http requests. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
httpRequests- New value for the property.
-
setMaxSessions
public LBStatisticsCounter.Builder setMaxSessions(java.lang.Long maxSessions)
Number of maximum sessions. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
maxSessions- New value for the property.
-
setPacketsIn
public LBStatisticsCounter.Builder setPacketsIn(java.lang.Long packetsIn)
Number of packets in. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
packetsIn- New value for the property.
-
setPacketsInRate
public LBStatisticsCounter.Builder setPacketsInRate(java.lang.Double packetsInRate)
The average number of inbound packets per second, the number is averaged over the last 5 one-second intervals. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
packetsInRate- New value for the property.
-
setPacketsOut
public LBStatisticsCounter.Builder setPacketsOut(java.lang.Long packetsOut)
Number of packets out. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
packetsOut- New value for the property.
-
setPacketsOutRate
public LBStatisticsCounter.Builder setPacketsOutRate(java.lang.Double packetsOutRate)
The average number of outbound packets per second, the number is averaged over the last 5 one-second intervals. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
packetsOutRate- New value for the property.
-
setSourceIpPersistenceEntrySize
public LBStatisticsCounter.Builder setSourceIpPersistenceEntrySize(java.lang.Long sourceIpPersistenceEntrySize)
Number of source IP persistence entries format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
sourceIpPersistenceEntrySize- New value for the property.
-
setTotalSessions
public LBStatisticsCounter.Builder setTotalSessions(java.lang.Long totalSessions)
Number of total sessions. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
totalSessions- New value for the property.
-
build
public LBStatisticsCounter build()
-
-