Constructor and Description |
---|
Property.Builder()
Constructor with parameters for the required properties of
Property . |
Modifier and Type | Method and Description |
---|---|
Property |
build() |
Property.Builder |
setCategory(java.lang.String category)
If this is set to a non-empty string, this property starts a new category.
|
Property.Builder |
setClassId(java.lang.String classId)
The classId of this OVF property.
|
Property.Builder |
setDescription(java.lang.String description)
A description of this OVF property.
|
Property.Builder |
setId(java.lang.String id)
The identifier of this OVF property.
|
Property.Builder |
setInstanceId(java.lang.String instanceId)
The instanceId of this OVF property.
|
Property.Builder |
setLabel(java.lang.String label)
The display name of this OVF property.
|
Property.Builder |
setType(java.lang.String type)
The type of this OVF property.
|
Property.Builder |
setUiOptional(java.lang.Boolean uiOptional)
Whether a category is UI optional.
|
Property.Builder |
setValue(java.lang.String value)
The OVF property value.
|
public Property.Builder()
Property
.public Property.Builder setClassId(java.lang.String classId)
classId
- New value for the property.public Property.Builder setId(java.lang.String id)
id
- New value for the property.public Property.Builder setInstanceId(java.lang.String instanceId)
instanceId
- New value for the property.public Property.Builder setCategory(java.lang.String category)
null
, the property is in the same category as the previous
item, otherwise, it starts a new category.category
- New value for the property.public Property.Builder setUiOptional(java.lang.Boolean uiOptional)
Property.getCategory()
).
The value is stored in an optional attribute vmw:uioptional to the ovf:Category element. The default value is false. If this value is true, the properties within this category are optional. The UI renders this as a group with a check box, and the group is grayed out until the check box is selected. When the check box is selected, the input values are read and used in deployment. If properties within the same category specify conflicting values the default is used. Only implemented in vSphere Web Client 5.1 and later as of Nov 2012.
This property is not used in the input parameters when deploying an OVF package. This property is optional in the result when retrieving information about an OVF package.uiOptional
- New value for the property.public Property.Builder setLabel(java.lang.String label)
label
- New value for the property.public Property.Builder setDescription(java.lang.String description)
description
- New value for the property.public Property.Builder setType(java.lang.String type)
type
- New value for the property.public Property.Builder setValue(java.lang.String value)
value
- New value for the property.public Property build()