public static final class CapacityDashboardUsage.Builder
extends java.lang.Object
CapacityDashboardUsage
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
CapacityDashboardUsage . |
Modifier and Type | Method and Description |
---|---|
CapacityDashboardUsage |
build() |
CapacityDashboardUsage.Builder |
setCurrentUsageCount(java.lang.Long currentUsageCount)
Indicate the current usage count of object type.
|
CapacityDashboardUsage.Builder |
setCurrentUsagePercentage(java.lang.Double currentUsagePercentage)
Current usage percentage for object type
|
CapacityDashboardUsage.Builder |
setDisplayName(java.lang.String displayName)
Display name for NSX object type.
|
CapacityDashboardUsage.Builder |
setMaxSupportedCount(java.lang.Long maxSupportedCount)
This is the maximum supported count for object type in consideration.
|
CapacityDashboardUsage.Builder |
setMaxThresholdPercentage(java.lang.Double maxThresholdPercentage)
This indicates the maximum threshold percentage for object type.
|
CapacityDashboardUsage.Builder |
setMinThresholdPercentage(java.lang.Double minThresholdPercentage)
This indicates the minimum threshold percentage for object type.
|
CapacityDashboardUsage.Builder |
setSeverity(java.lang.String severity)
Possible values are:
CapacityDashboardUsage.SEVERITY_INFO CapacityDashboardUsage.SEVERITY_WARNING CapacityDashboardUsage.SEVERITY_CRITICAL CapacityDashboardUsage.SEVERITY_ERROR Severity
calculated from percentage usage |
CapacityDashboardUsage.Builder |
setUsageType(java.lang.String usageType)
Indicate the object type for which usage is calculated.
|
public Builder()
CapacityDashboardUsage
.public CapacityDashboardUsage.Builder setCurrentUsageCount(java.lang.Long currentUsageCount)
currentUsageCount
- New value for the property.public CapacityDashboardUsage.Builder setCurrentUsagePercentage(java.lang.Double currentUsagePercentage)
currentUsagePercentage
- New value for the property.public CapacityDashboardUsage.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public CapacityDashboardUsage.Builder setMaxSupportedCount(java.lang.Long maxSupportedCount)
maxSupportedCount
- New value for the property.public CapacityDashboardUsage.Builder setMaxThresholdPercentage(java.lang.Double maxThresholdPercentage)
maxThresholdPercentage
- New value for the property.public CapacityDashboardUsage.Builder setMinThresholdPercentage(java.lang.Double minThresholdPercentage)
minThresholdPercentage
- New value for the property.public CapacityDashboardUsage.Builder setSeverity(java.lang.String severity)
severity
- New value for the property.public CapacityDashboardUsage.Builder setUsageType(java.lang.String usageType)
usageType
- New value for the property.public CapacityDashboardUsage build()