public class HostService extends DynamicData
Java class for HostService complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostService">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="uninstallable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="running" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="ruleset" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="policy" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="sourcePackage" type="{urn:vim25}HostServiceSourcePackage" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
key |
protected String |
label |
protected String |
policy |
protected boolean |
required |
protected List<String> |
ruleset |
protected boolean |
running |
protected HostServiceSourcePackage |
sourcePackage |
protected boolean |
uninstallable |
| Constructor and Description |
|---|
HostService() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Gets the value of the key property.
|
String |
getLabel()
Gets the value of the label property.
|
String |
getPolicy()
Gets the value of the policy property.
|
List<String> |
getRuleset()
Gets the value of the ruleset property.
|
HostServiceSourcePackage |
getSourcePackage()
Gets the value of the sourcePackage property.
|
boolean |
isRequired()
Gets the value of the required property.
|
boolean |
isRunning()
Gets the value of the running property.
|
boolean |
isUninstallable()
Gets the value of the uninstallable property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setLabel(String value)
Sets the value of the label property.
|
void |
setPolicy(String value)
Sets the value of the policy property.
|
void |
setRequired(boolean value)
Sets the value of the required property.
|
void |
setRunning(boolean value)
Sets the value of the running property.
|
void |
setSourcePackage(HostServiceSourcePackage value)
Sets the value of the sourcePackage property.
|
void |
setUninstallable(boolean value)
Sets the value of the uninstallable property.
|
protected String key
protected String label
protected boolean required
protected boolean uninstallable
protected boolean running
protected String policy
protected HostServiceSourcePackage sourcePackage
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic String getLabel()
Stringpublic void setLabel(String value)
value - allowed object is
Stringpublic boolean isRequired()
public void setRequired(boolean value)
public boolean isUninstallable()
public void setUninstallable(boolean value)
public boolean isRunning()
public void setRunning(boolean value)
public List<String> getRuleset()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the ruleset property.
For example, to add a new item, do as follows:
getRuleset().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getPolicy()
Stringpublic void setPolicy(String value)
value - allowed object is
Stringpublic HostServiceSourcePackage getSourcePackage()
HostServiceSourcePackagepublic void setSourcePackage(HostServiceSourcePackage value)
value - allowed object is
HostServiceSourcePackageCopyright © 2018. All rights reserved.