com.vmware.vim25.CannotPowerOffVmInCluster Maven / Gradle / Ivy
package com.vmware.vim25;
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 CannotPowerOffVmInCluster complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CannotPowerOffVmInCluster">
* <complexContent>
* <extension base="{urn:vim25}InvalidState">
* <sequence>
* <element name="operation" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="vm" type="{urn:vim25}ManagedObjectReference"/>
* <element name="vmName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CannotPowerOffVmInCluster", propOrder = {
"operation",
"vm",
"vmName"
})
public class CannotPowerOffVmInCluster
extends InvalidState
{
@XmlElement(required = true)
protected String operation;
@XmlElement(required = true)
protected ManagedObjectReference vm;
@XmlElement(required = true)
protected String vmName;
/**
* Gets the value of the operation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOperation() {
return operation;
}
/**
* Sets the value of the operation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOperation(String value) {
this.operation = value;
}
/**
* Gets the value of the vm property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getVm() {
return vm;
}
/**
* Sets the value of the vm property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setVm(ManagedObjectReference value) {
this.vm = value;
}
/**
* Gets the value of the vmName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVmName() {
return vmName;
}
/**
* Sets the value of the vmName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVmName(String value) {
this.vmName = value;
}
}