All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redhat.rhevm.api.model.Cluster Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2011.09.04 at 05:40:00 PM IDT 
//


package com.redhat.rhevm.api.model;

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 Cluster complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Cluster">
 *   <complexContent>
 *     <extension base="{}BaseResource">
 *       <sequence>
 *         <element ref="{}cpu" minOccurs="0"/>
 *         <element ref="{}data_center" minOccurs="0"/>
 *         <element name="memory_policy" type="{}MemoryPolicy" minOccurs="0"/>
 *         <element name="scheduling_policy" type="{}SchedulingPolicy" minOccurs="0"/>
 *         <element name="version" type="{}Version" minOccurs="0"/>
 *         <element name="supported_versions" type="{}SupportedVersions" minOccurs="0"/>
 *         <element name="error_handling" type="{}ErrorHandling" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Cluster", propOrder = { "cpu", "dataCenter", "memoryPolicy", "schedulingPolicy", "version", "supportedVersions", "errorHandling" }) public class Cluster extends BaseResource { protected CPU cpu; @XmlElement(name = "data_center") protected DataCenter dataCenter; @XmlElement(name = "memory_policy") protected MemoryPolicy memoryPolicy; @XmlElement(name = "scheduling_policy") protected SchedulingPolicy schedulingPolicy; protected Version version; @XmlElement(name = "supported_versions") protected SupportedVersions supportedVersions; @XmlElement(name = "error_handling") protected ErrorHandling errorHandling; /** * Gets the value of the cpu property. * * @return * possible object is * {@link CPU } * */ public CPU getCpu() { return cpu; } /** * Sets the value of the cpu property. * * @param value * allowed object is * {@link CPU } * */ public void setCpu(CPU value) { this.cpu = value; } public boolean isSetCpu() { return (this.cpu!= null); } /** * Gets the value of the dataCenter property. * * @return * possible object is * {@link DataCenter } * */ public DataCenter getDataCenter() { return dataCenter; } /** * Sets the value of the dataCenter property. * * @param value * allowed object is * {@link DataCenter } * */ public void setDataCenter(DataCenter value) { this.dataCenter = value; } public boolean isSetDataCenter() { return (this.dataCenter!= null); } /** * Gets the value of the memoryPolicy property. * * @return * possible object is * {@link MemoryPolicy } * */ public MemoryPolicy getMemoryPolicy() { return memoryPolicy; } /** * Sets the value of the memoryPolicy property. * * @param value * allowed object is * {@link MemoryPolicy } * */ public void setMemoryPolicy(MemoryPolicy value) { this.memoryPolicy = value; } public boolean isSetMemoryPolicy() { return (this.memoryPolicy!= null); } /** * Gets the value of the schedulingPolicy property. * * @return * possible object is * {@link SchedulingPolicy } * */ public SchedulingPolicy getSchedulingPolicy() { return schedulingPolicy; } /** * Sets the value of the schedulingPolicy property. * * @param value * allowed object is * {@link SchedulingPolicy } * */ public void setSchedulingPolicy(SchedulingPolicy value) { this.schedulingPolicy = value; } public boolean isSetSchedulingPolicy() { return (this.schedulingPolicy!= null); } /** * Gets the value of the version property. * * @return * possible object is * {@link Version } * */ public Version getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link Version } * */ public void setVersion(Version value) { this.version = value; } public boolean isSetVersion() { return (this.version!= null); } /** * Gets the value of the supportedVersions property. * * @return * possible object is * {@link SupportedVersions } * */ public SupportedVersions getSupportedVersions() { return supportedVersions; } /** * Sets the value of the supportedVersions property. * * @param value * allowed object is * {@link SupportedVersions } * */ public void setSupportedVersions(SupportedVersions value) { this.supportedVersions = value; } public boolean isSetSupportedVersions() { return (this.supportedVersions!= null); } /** * Gets the value of the errorHandling property. * * @return * possible object is * {@link ErrorHandling } * */ public ErrorHandling getErrorHandling() { return errorHandling; } /** * Sets the value of the errorHandling property. * * @param value * allowed object is * {@link ErrorHandling } * */ public void setErrorHandling(ErrorHandling value) { this.errorHandling = value; } public boolean isSetErrorHandling() { return (this.errorHandling!= null); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy