Package com.vmware.nsx_policy.model
Class CapacityDashboardUsage.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.CapacityDashboardUsage.Builder
-
- Enclosing class:
- CapacityDashboardUsage
public static final class CapacityDashboardUsage.Builder extends java.lang.ObjectBuilder class forCapacityDashboardUsage.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofCapacityDashboardUsage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CapacityDashboardUsagebuild()CapacityDashboardUsage.BuildersetCurrentUsageCount(java.lang.Long currentUsageCount)Indicate the current usage count of object type.CapacityDashboardUsage.BuildersetCurrentUsagePercentage(java.lang.Double currentUsagePercentage)Current usage percentage for object typeCapacityDashboardUsage.BuildersetDisplayName(java.lang.String displayName)Display name for NSX object type.CapacityDashboardUsage.BuildersetMaxSupportedCount(java.lang.Long maxSupportedCount)This is the maximum supported count for object type in consideration.CapacityDashboardUsage.BuildersetMaxThresholdPercentage(java.lang.Double maxThresholdPercentage)This indicates the maximum threshold percentage for object type.CapacityDashboardUsage.BuildersetMinThresholdPercentage(java.lang.Double minThresholdPercentage)This indicates the minimum threshold percentage for object type.CapacityDashboardUsage.BuildersetSeverity(java.lang.String severity)Possible values are:CapacityDashboardUsage.SEVERITY_INFOCapacityDashboardUsage.SEVERITY_WARNINGCapacityDashboardUsage.SEVERITY_CRITICALCapacityDashboardUsage.SEVERITY_ERRORSeverity calculated from percentage usageCapacityDashboardUsage.BuildersetUsageType(java.lang.String usageType)Indicate the object type for which usage is calculated.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofCapacityDashboardUsage.
-
-
Method Detail
-
setCurrentUsageCount
public CapacityDashboardUsage.Builder setCurrentUsageCount(java.lang.Long currentUsageCount)
Indicate the current usage count of object type. format: int64- Parameters:
currentUsageCount- New value for the property.
-
setCurrentUsagePercentage
public CapacityDashboardUsage.Builder setCurrentUsagePercentage(java.lang.Double currentUsagePercentage)
Current usage percentage for object type- Parameters:
currentUsagePercentage- New value for the property.
-
setDisplayName
public CapacityDashboardUsage.Builder setDisplayName(java.lang.String displayName)
Display name for NSX object type.- Parameters:
displayName- New value for the property.
-
setMaxSupportedCount
public CapacityDashboardUsage.Builder setMaxSupportedCount(java.lang.Long maxSupportedCount)
This is the maximum supported count for object type in consideration. format: int64- Parameters:
maxSupportedCount- New value for the property.
-
setMaxThresholdPercentage
public CapacityDashboardUsage.Builder setMaxThresholdPercentage(java.lang.Double maxThresholdPercentage)
This indicates the maximum threshold percentage for object type.- Parameters:
maxThresholdPercentage- New value for the property.
-
setMinThresholdPercentage
public CapacityDashboardUsage.Builder setMinThresholdPercentage(java.lang.Double minThresholdPercentage)
This indicates the minimum threshold percentage for object type.- Parameters:
minThresholdPercentage- New value for the property.
-
setSeverity
public CapacityDashboardUsage.Builder setSeverity(java.lang.String severity)
Possible values are: Severity calculated from percentage usage- Parameters:
severity- New value for the property.
-
setUsageType
public CapacityDashboardUsage.Builder setUsageType(java.lang.String usageType)
Indicate the object type for which usage is calculated.- Parameters:
usageType- New value for the property.
-
build
public CapacityDashboardUsage build()
-
-