Package com.vmware.nsx_policy.model
Class QuotaStats.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.QuotaStats.Builder
-
- Enclosing class:
- QuotaStats
public static final class QuotaStats.Builder extends java.lang.ObjectBuilder class forQuotaStats.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofQuotaStats.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuotaStatsbuild()QuotaStats.BuildersetAssignedMaxLimit(java.lang.Long assignedMaxLimit)Assigned max workload count.QuotaStats.BuildersetCurrentInventory(java.lang.Long currentInventory)Current workload count.QuotaStats.BuildersetObjectType(java.lang.String objectType)Resource type name.QuotaStats.BuildersetQuotaName(java.lang.String quotaName)Quota name.QuotaStats.BuildersetQuotaOwnerId(java.lang.String quotaOwnerId)This is a UUID generated by the system for knowing whoes owns this object.QuotaStats.BuildersetQuotaPath(java.lang.String quotaPath)Quota policy path.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofQuotaStats.
-
-
Method Detail
-
setAssignedMaxLimit
public QuotaStats.Builder setAssignedMaxLimit(java.lang.Long assignedMaxLimit)
Assigned max workload count. 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:
assignedMaxLimit- New value for the property.
-
setCurrentInventory
public QuotaStats.Builder setCurrentInventory(java.lang.Long currentInventory)
Current workload count. 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:
currentInventory- New value for the property.
-
setObjectType
public QuotaStats.Builder setObjectType(java.lang.String objectType)
Resource type name. 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:
objectType- New value for the property.
-
setQuotaName
public QuotaStats.Builder setQuotaName(java.lang.String quotaName)
Quota name. 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:
quotaName- New value for the property.
-
setQuotaOwnerId
public QuotaStats.Builder setQuotaOwnerId(java.lang.String quotaOwnerId)
This is a UUID generated by the system for knowing whoes owns this object. This is used in NSX+. 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:
quotaOwnerId- New value for the property.
-
setQuotaPath
public QuotaStats.Builder setQuotaPath(java.lang.String quotaPath)
Quota policy path. 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:
quotaPath- New value for the property.
-
build
public QuotaStats build()
-
-