com.vmware.vim25.ClusterStatusChangedEvent 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 ClusterStatusChangedEvent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ClusterStatusChangedEvent">
* <complexContent>
* <extension base="{urn:vim25}ClusterEvent">
* <sequence>
* <element name="oldStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="newStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ClusterStatusChangedEvent", propOrder = {
"oldStatus",
"newStatus"
})
@XmlSeeAlso({
HostStatusChangedEvent.class
})
public class ClusterStatusChangedEvent
extends ClusterEvent
{
@XmlElement(required = true)
protected String oldStatus;
@XmlElement(required = true)
protected String newStatus;
/**
* Gets the value of the oldStatus property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOldStatus() {
return oldStatus;
}
/**
* Sets the value of the oldStatus property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOldStatus(String value) {
this.oldStatus = value;
}
/**
* Gets the value of the newStatus property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNewStatus() {
return newStatus;
}
/**
* Sets the value of the newStatus property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNewStatus(String value) {
this.newStatus = value;
}
}