Package com.vmware.nsx_policy.model
Class LBServiceStatisticsCounter.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBServiceStatisticsCounter.Builder
-
- Enclosing class:
- LBServiceStatisticsCounter
public static final class LBServiceStatisticsCounter.Builder extends java.lang.Object
Builder class forLBServiceStatisticsCounter
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBServiceStatisticsCounter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBServiceStatisticsCounter
build()
LBServiceStatisticsCounter.Builder
setL4CurrentSessionRate(java.lang.Double l4CurrentSessionRate)
The average number of l4 current sessions per second, the number is averaged over the last 5 one-second intervals.LBServiceStatisticsCounter.Builder
setL4CurrentSessions(java.lang.Long l4CurrentSessions)
Number of l4 current sessions.LBServiceStatisticsCounter.Builder
setL4MaxSessions(java.lang.Long l4MaxSessions)
L4 max sessions is used to show the peak L4 max session data since load balancer starts to provide service.LBServiceStatisticsCounter.Builder
setL4TotalSessions(java.lang.Long l4TotalSessions)
Number of l4 total sessions.LBServiceStatisticsCounter.Builder
setL7CurrentSessionRate(java.lang.Double l7CurrentSessionRate)
The average number of l7 current requests per second, the number is averaged over the last 5 one-second intervals.LBServiceStatisticsCounter.Builder
setL7CurrentSessions(java.lang.Long l7CurrentSessions)
Number of l7 current sessions.LBServiceStatisticsCounter.Builder
setL7MaxSessions(java.lang.Long l7MaxSessions)
L7 max sessions is used to show the peak L7 max session data since load balancer starts to provide service.LBServiceStatisticsCounter.Builder
setL7TotalSessions(java.lang.Long l7TotalSessions)
Number of l7 total sessions.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBServiceStatisticsCounter
.
-
-
Method Detail
-
setL4CurrentSessionRate
public LBServiceStatisticsCounter.Builder setL4CurrentSessionRate(java.lang.Double l4CurrentSessionRate)
The average number of l4 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:
l4CurrentSessionRate
- New value for the property.
-
setL4CurrentSessions
public LBServiceStatisticsCounter.Builder setL4CurrentSessions(java.lang.Long l4CurrentSessions)
Number of l4 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:
l4CurrentSessions
- New value for the property.
-
setL4MaxSessions
public LBServiceStatisticsCounter.Builder setL4MaxSessions(java.lang.Long l4MaxSessions)
L4 max sessions is used to show the peak L4 max session data since load balancer starts to provide service. 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:
l4MaxSessions
- New value for the property.
-
setL4TotalSessions
public LBServiceStatisticsCounter.Builder setL4TotalSessions(java.lang.Long l4TotalSessions)
Number of l4 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:
l4TotalSessions
- New value for the property.
-
setL7CurrentSessionRate
public LBServiceStatisticsCounter.Builder setL7CurrentSessionRate(java.lang.Double l7CurrentSessionRate)
The average number of l7 current 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:
l7CurrentSessionRate
- New value for the property.
-
setL7CurrentSessions
public LBServiceStatisticsCounter.Builder setL7CurrentSessions(java.lang.Long l7CurrentSessions)
Number of l7 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:
l7CurrentSessions
- New value for the property.
-
setL7MaxSessions
public LBServiceStatisticsCounter.Builder setL7MaxSessions(java.lang.Long l7MaxSessions)
L7 max sessions is used to show the peak L7 max session data since load balancer starts to provide service. 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:
l7MaxSessions
- New value for the property.
-
setL7TotalSessions
public LBServiceStatisticsCounter.Builder setL7TotalSessions(java.lang.Long l7TotalSessions)
Number of l7 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:
l7TotalSessions
- New value for the property.
-
build
public LBServiceStatisticsCounter build()
-
-