VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::ovf::Property::Builder Class Reference

Builder class for Property. More...

List of all members.

Public Member Functions

 Builder ()
 Constructor with parameters for the required properties of Property.
Builder SetClassId (string classId)
 The classId of this OVF property.
Builder SetId (string id)
 The identifier of this OVF property.
Builder SetInstanceId (string instanceId)
 The instanceId of this OVF property.
Builder SetCategory (string category)
 If this is set to a non-empty string, this property starts a new category.
Builder SetUiOptional (bool?uiOptional)
 Whether a category is UI optional.
Builder SetLabel (string label)
 The display name of this OVF property.
Builder SetDescription (string description)
 A description of this OVF property.
Builder SetType (string type)
 The type of this OVF property.
Builder SetValue (string value_)
 The OVF property value.
Property Build ()

Detailed Description

Builder class for Property.


Constructor & Destructor Documentation

vmware::vcenter::ovf::Property::Builder::Builder ( ) [inline]

Constructor with parameters for the required properties of Property.


Member Function Documentation

Property vmware::vcenter::ovf::Property::Builder::Build ( ) [inline]
Builder vmware::vcenter::ovf::Property::Builder::SetCategory ( string  category) [inline]

If this is set to a non-empty string, this property starts a new category.

Builder vmware::vcenter::ovf::Property::Builder::SetClassId ( string  classId) [inline]

The classId of this OVF property.

Builder vmware::vcenter::ovf::Property::Builder::SetDescription ( string  description) [inline]

A description of this OVF property.

Builder vmware::vcenter::ovf::Property::Builder::SetId ( string  id) [inline]

The identifier of this OVF property.

Builder vmware::vcenter::ovf::Property::Builder::SetInstanceId ( string  instanceId) [inline]

The instanceId of this OVF property.

Builder vmware::vcenter::ovf::Property::Builder::SetLabel ( string  label) [inline]

The display name of this OVF property.

Builder vmware::vcenter::ovf::Property::Builder::SetType ( string  type) [inline]

The type of this OVF property.

Refer to the configuration of a virtual appliance/virtual machine for the valid values.

Builder vmware::vcenter::ovf::Property::Builder::SetUiOptional ( bool?  uiOptional) [inline]

Whether a category is UI optional.

This is only used if this property starts a new category (see Property.category ).

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.

Builder vmware::vcenter::ovf::Property::Builder::SetValue ( string  value_) [inline]

The OVF property value.

This contains the default value from ovf:defaultValue if ovf:value is not present when read.


The documentation for this class was generated from the following file: