public class VmPlacementPolicy extends Object
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>
Constructor and Description |
---|
VmPlacementPolicy() |
Modifier and Type | Method and Description |
---|---|
String |
getAffinity()
Gets the value of the affinity property.
|
Host |
getHost()
Gets the value of the host property.
|
boolean |
isSetAffinity() |
boolean |
isSetHost() |
void |
setAffinity(String value)
Sets the value of the affinity property.
|
void |
setHost(Host value)
Sets the value of the host property.
|
public void setHost(Host value)
value
- allowed object is
Host
public boolean isSetHost()
public String getAffinity()
String
public void setAffinity(String value)
value
- allowed object is
String
public boolean isSetAffinity()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0