Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
License . |
Modifier and Type | Method and Description |
---|---|
License |
build() |
License.Builder |
setCapacityType(java.lang.String capacityType)
Possible values are:
License.CAPACITY_TYPE_VM License.CAPACITY_TYPE_CPU License.CAPACITY_TYPE_USER License.CAPACITY_TYPE_CORE License.CAPACITY_TYPE_HOST License metrics
specifying the capacity type of license key. |
License.Builder |
setDescription(java.lang.String description)
license edition
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
License.Builder |
setExpiry(java.lang.Long expiry)
date that license expires 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.
|
License.Builder |
setFeatures(java.lang.String features)
semicolon delimited feature list
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
License.Builder |
setIsEval(java.lang.Boolean isEval)
true for evalution license
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
License.Builder |
setIsExpired(java.lang.Boolean isExpired)
whether the license has expired
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
License.Builder |
setIsMh(java.lang.Boolean isMh)
multi-hypervisor support
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
License.Builder |
setLicenseKey(java.lang.String licenseKey)
license key
|
License.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
License.Builder |
setProductName(java.lang.String productName)
product 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.
|
License.Builder |
setProductVersion(java.lang.String productVersion)
product version
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
License.Builder |
setQuantity(java.lang.Long quantity)
license capacity; 0 for unlimited 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.
|
License.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
License.Builder |
setSelf(SelfResourceLink self) |
public Builder()
License
.public License.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public License.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public License.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public License.Builder setCapacityType(java.lang.String capacityType)
capacityType
- New value for the property.public License.Builder setDescription(java.lang.String description)
description
- New value for the property.public License.Builder setExpiry(java.lang.Long expiry)
expiry
- New value for the property.public License.Builder setFeatures(java.lang.String features)
features
- New value for the property.public License.Builder setIsEval(java.lang.Boolean isEval)
isEval
- New value for the property.public License.Builder setIsExpired(java.lang.Boolean isExpired)
isExpired
- New value for the property.public License.Builder setIsMh(java.lang.Boolean isMh)
isMh
- New value for the property.public License.Builder setLicenseKey(java.lang.String licenseKey)
licenseKey
- New value for the property.public License.Builder setProductName(java.lang.String productName)
productName
- New value for the property.public License.Builder setProductVersion(java.lang.String productVersion)
productVersion
- New value for the property.public License.Builder setQuantity(java.lang.Long quantity)
quantity
- New value for the property.public License build()