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

com.redhat.rhevm.api.model.VmPlacementPolicy 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.XmlType;


/**
 * 

Java class for VmPlacementPolicy complex type. * *

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

 * <complexType name="VmPlacementPolicy">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="host" type="{}Host" minOccurs="0"/>
 *         <element name="affinity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VmPlacementPolicy", propOrder = { "host", "affinity" }) public class VmPlacementPolicy { protected Host host; protected String affinity; /** * Gets the value of the host property. * * @return * possible object is * {@link Host } * */ public Host getHost() { return host; } /** * Sets the value of the host property. * * @param value * allowed object is * {@link Host } * */ public void setHost(Host value) { this.host = value; } public boolean isSetHost() { return (this.host!= null); } /** * Gets the value of the affinity property. * * @return * possible object is * {@link String } * */ public String getAffinity() { return affinity; } /** * Sets the value of the affinity property. * * @param value * allowed object is * {@link String } * */ public void setAffinity(String value) { this.affinity = value; } public boolean isSetAffinity() { return (this.affinity!= null); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy