public static final class LBServiceUsageSummary.Builder
extends java.lang.Object
LBServiceUsageSummary.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
LBServiceUsageSummary. |
| Modifier and Type | Method and Description |
|---|---|
LBServiceUsageSummary |
build() |
LBServiceUsageSummary.Builder |
setCurrentPoolCount(java.lang.Long currentPoolCount)
The current count of pools configured for all load balancer services.
|
LBServiceUsageSummary.Builder |
setCurrentPoolMemberCount(java.lang.Long currentPoolMemberCount)
The current count of pool members configured for all load balancer services.
|
LBServiceUsageSummary.Builder |
setCurrentVirtualServerCount(java.lang.Long currentVirtualServerCount)
The current count of virtual servers configured for all load balancer services.
|
LBServiceUsageSummary.Builder |
setPoolCapacity(java.lang.Long poolCapacity)
Pool capacity means maximum number of pools which can be configured for all load
balancer services.
|
LBServiceUsageSummary.Builder |
setPoolMemberCapacity(java.lang.Long poolMemberCapacity)
Pool capacity means maximum number of pool members which can be configured for
all load balancer services.
|
LBServiceUsageSummary.Builder |
setPoolMemberSeverity(java.lang.String poolMemberSeverity)
Possible values are:
LBServiceUsageSummary.POOL_MEMBER_SEVERITY_GREEN
LBServiceUsageSummary.POOL_MEMBER_SEVERITY_ORANGE
LBServiceUsageSummary.POOL_MEMBER_SEVERITY_RED
The severity calculation is based on the overall usage percentage of pool
members for all load balancer services. |
LBServiceUsageSummary.Builder |
setPoolMemberUsagePercentage(java.lang.Double poolMemberUsagePercentage)
Overall pool member usage percentage for all load balancer services.
|
LBServiceUsageSummary.Builder |
setPoolSeverity(java.lang.String poolSeverity)
Possible values are:
LBServiceUsageSummary.POOL_SEVERITY_GREEN
LBServiceUsageSummary.POOL_SEVERITY_ORANGE
LBServiceUsageSummary.POOL_SEVERITY_RED
The severity calculation is based on the overall usage percentage of pools for
all load balancer services. |
LBServiceUsageSummary.Builder |
setPoolUsagePercentage(java.lang.Double poolUsagePercentage)
Overall pool usage percentage for all load balancer services.
|
LBServiceUsageSummary.Builder |
setServiceCounts(java.util.List<LBServiceCountPerSeverity> serviceCounts)
The service count for each load balancer usage severity.
|
LBServiceUsageSummary.Builder |
setServiceUsages(java.util.List<LBServiceUsage> serviceUsages)
The property identifies all lb service usages.
|
LBServiceUsageSummary.Builder |
setVirtualServerCapacity(java.lang.Long virtualServerCapacity)
Virtual server capacity means maximum number of virtual servers which can be
configured for all load balancer services.
|
LBServiceUsageSummary.Builder |
setVirtualServerSeverity(java.lang.String virtualServerSeverity)
Possible values are:
LBServiceUsageSummary.VIRTUAL_SERVER_SEVERITY_GREEN
LBServiceUsageSummary.VIRTUAL_SERVER_SEVERITY_ORANGE
LBServiceUsageSummary.VIRTUAL_SERVER_SEVERITY_RED
The severity calculation is based on the overall usage percentage of
virtual servers for all load balancer services. |
LBServiceUsageSummary.Builder |
setVirtualServerUsagePercentage(java.lang.Double virtualServerUsagePercentage)
Overall virtual server usage percentage for all load balancer services.
|
public Builder()
LBServiceUsageSummary.public LBServiceUsageSummary.Builder setCurrentPoolCount(java.lang.Long currentPoolCount)
currentPoolCount - New value for the property.public LBServiceUsageSummary.Builder setCurrentPoolMemberCount(java.lang.Long currentPoolMemberCount)
currentPoolMemberCount - New value for the property.public LBServiceUsageSummary.Builder setCurrentVirtualServerCount(java.lang.Long currentVirtualServerCount)
currentVirtualServerCount - New value for the property.public LBServiceUsageSummary.Builder setPoolCapacity(java.lang.Long poolCapacity)
poolCapacity - New value for the property.public LBServiceUsageSummary.Builder setPoolMemberCapacity(java.lang.Long poolMemberCapacity)
poolMemberCapacity - New value for the property.public LBServiceUsageSummary.Builder setPoolMemberSeverity(java.lang.String poolMemberSeverity)
poolMemberSeverity - New value for the property.public LBServiceUsageSummary.Builder setPoolMemberUsagePercentage(java.lang.Double poolMemberUsagePercentage)
poolMemberUsagePercentage - New value for the property.public LBServiceUsageSummary.Builder setPoolSeverity(java.lang.String poolSeverity)
poolSeverity - New value for the property.public LBServiceUsageSummary.Builder setPoolUsagePercentage(java.lang.Double poolUsagePercentage)
poolUsagePercentage - New value for the property.public LBServiceUsageSummary.Builder setServiceCounts(java.util.List<LBServiceCountPerSeverity> serviceCounts)
serviceCounts - New value for the property.public LBServiceUsageSummary.Builder setServiceUsages(java.util.List<LBServiceUsage> serviceUsages)
serviceUsages - New value for the property.public LBServiceUsageSummary.Builder setVirtualServerCapacity(java.lang.Long virtualServerCapacity)
virtualServerCapacity - New value for the property.public LBServiceUsageSummary.Builder setVirtualServerSeverity(java.lang.String virtualServerSeverity)
virtualServerSeverity - New value for the property.public LBServiceUsageSummary.Builder setVirtualServerUsagePercentage(java.lang.Double virtualServerUsagePercentage)
virtualServerUsagePercentage - New value for the property.public LBServiceUsageSummary build()