com.vmware.vim25.ClusterAction 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ClusterAction complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ClusterAction">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="target" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ClusterAction", propOrder = {
"type",
"target"
})
@XmlSeeAlso({
ClusterHostInfraUpdateHaModeAction.class,
ClusterHostPowerAction.class,
ClusterInitialPlacementAction.class,
ClusterMigrationAction.class,
PlacementAction.class,
HbrDiskMigrationAction.class,
StorageMigrationAction.class,
StoragePlacementAction.class
})
public class ClusterAction
extends DynamicData
{
@XmlElement(required = true)
protected String type;
protected ManagedObjectReference target;
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the target property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getTarget() {
return target;
}
/**
* Sets the value of the target property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setTarget(ManagedObjectReference value) {
this.target = value;
}
}