public static final class LBNodeUsageSummary.Builder
extends java.lang.Object
LBNodeUsageSummary.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
LBNodeUsageSummary. |
| Modifier and Type | Method and Description |
|---|---|
LBNodeUsageSummary |
build() |
LBNodeUsageSummary.Builder |
setAlarm(PolicyRuntimeAlarm alarm) |
LBNodeUsageSummary.Builder |
setCurrentLoadBalancerCredits(java.lang.Long currentLoadBalancerCredits)
Current load balancer credits in use for all nodes.
|
LBNodeUsageSummary.Builder |
setCurrentPoolMemberCount(java.lang.Long currentPoolMemberCount)
The overall count of pool members configured on all nodes.
|
LBNodeUsageSummary.Builder |
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is fetched.
|
LBNodeUsageSummary.Builder |
setLoadBalancerCreditCapacity(java.lang.Long loadBalancerCreditCapacity)
The load balancer credit capacity means the maximum credits which can be used
for load balancer service configuration for all nodes.
|
LBNodeUsageSummary.Builder |
setNodeCounts(java.util.List<LBNodeCountPerSeverity> nodeCounts)
The property identifies array of node count for each severity.
|
LBNodeUsageSummary.Builder |
setNodeUsages(java.util.List<com.vmware.vapi.bindings.Structure> nodeUsages)
The property identifies all LB node usages.
|
LBNodeUsageSummary.Builder |
setPoolMemberCapacity(java.lang.Long poolMemberCapacity)
Pool member capacity means maximum number of pool members which can be
configured on all nodes.
|
LBNodeUsageSummary.Builder |
setSeverity(java.lang.String severity)
Possible values are:
LBNodeUsageSummary.SEVERITY_GREEN LBNodeUsageSummary.SEVERITY_ORANGE LBNodeUsageSummary.SEVERITY_RED The
severity calculation is based on overall credit usage percentage of load
balancer for all nodes. |
LBNodeUsageSummary.Builder |
setUsagePercentage(java.lang.Double usagePercentage)
The overall usage percentage of all nodes for load balancer.
|
public Builder()
LBNodeUsageSummary.public LBNodeUsageSummary.Builder setAlarm(PolicyRuntimeAlarm alarm)
alarm - New value for the property.public LBNodeUsageSummary.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
enforcementPointPath - New value for the property.public LBNodeUsageSummary.Builder setCurrentLoadBalancerCredits(java.lang.Long currentLoadBalancerCredits)
currentLoadBalancerCredits - New value for the property.public LBNodeUsageSummary.Builder setCurrentPoolMemberCount(java.lang.Long currentPoolMemberCount)
currentPoolMemberCount - New value for the property.public LBNodeUsageSummary.Builder setLoadBalancerCreditCapacity(java.lang.Long loadBalancerCreditCapacity)
loadBalancerCreditCapacity - New value for the property.public LBNodeUsageSummary.Builder setNodeCounts(java.util.List<LBNodeCountPerSeverity> nodeCounts)
nodeCounts - New value for the property.public LBNodeUsageSummary.Builder setNodeUsages(java.util.List<com.vmware.vapi.bindings.Structure> nodeUsages)
nodeUsages - New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in LBNodeUsage. When methods return a value of this
class as a return value, the property will contain all the properties defined in
LBNodeUsage.public LBNodeUsageSummary.Builder setPoolMemberCapacity(java.lang.Long poolMemberCapacity)
poolMemberCapacity - New value for the property.public LBNodeUsageSummary.Builder setSeverity(java.lang.String severity)
severity - New value for the property.public LBNodeUsageSummary.Builder setUsagePercentage(java.lang.Double usagePercentage)
usagePercentage - New value for the property.public LBNodeUsageSummary build()