![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.ApplyHostProfileConfigurationSpec Maven / Gradle / Ivy
package com.vmware.vim25;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ApplyHostProfileConfigurationSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ApplyHostProfileConfigurationSpec">
* <complexContent>
* <extension base="{urn:vim25}ProfileExecuteResult">
* <sequence>
* <element name="host" type="{urn:vim25}ManagedObjectReference"/>
* <element name="taskListRequirement" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="taskDescription" type="{urn:vim25}LocalizableMessage" maxOccurs="unbounded" minOccurs="0"/>
* <element name="rebootStateless" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="rebootHost" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="faultData" type="{urn:vim25}LocalizedMethodFault" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ApplyHostProfileConfigurationSpec", propOrder = {
"host",
"taskListRequirement",
"taskDescription",
"rebootStateless",
"rebootHost",
"faultData"
})
public class ApplyHostProfileConfigurationSpec
extends ProfileExecuteResult
{
@XmlElement(required = true)
protected ManagedObjectReference host;
protected List taskListRequirement;
protected List taskDescription;
protected Boolean rebootStateless;
protected Boolean rebootHost;
protected LocalizedMethodFault faultData;
/**
* Gets the value of the host property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getHost() {
return host;
}
/**
* Sets the value of the host property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setHost(ManagedObjectReference value) {
this.host = value;
}
/**
* Gets the value of the taskListRequirement property.
*
*
* 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 taskListRequirement property.
*
*
* For example, to add a new item, do as follows:
*
* getTaskListRequirement().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getTaskListRequirement() {
if (taskListRequirement == null) {
taskListRequirement = new ArrayList();
}
return this.taskListRequirement;
}
/**
* Gets the value of the taskDescription property.
*
*
* 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 taskDescription property.
*
*
* For example, to add a new item, do as follows:
*
* getTaskDescription().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LocalizableMessage }
*
*
*/
public List getTaskDescription() {
if (taskDescription == null) {
taskDescription = new ArrayList();
}
return this.taskDescription;
}
/**
* Gets the value of the rebootStateless property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRebootStateless() {
return rebootStateless;
}
/**
* Sets the value of the rebootStateless property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRebootStateless(Boolean value) {
this.rebootStateless = value;
}
/**
* Gets the value of the rebootHost property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRebootHost() {
return rebootHost;
}
/**
* Sets the value of the rebootHost property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRebootHost(Boolean value) {
this.rebootHost = value;
}
/**
* Gets the value of the faultData property.
*
* @return
* possible object is
* {@link LocalizedMethodFault }
*
*/
public LocalizedMethodFault getFaultData() {
return faultData;
}
/**
* Sets the value of the faultData property.
*
* @param value
* allowed object is
* {@link LocalizedMethodFault }
*
*/
public void setFaultData(LocalizedMethodFault value) {
this.faultData = value;
}
}