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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
affinity |
protected Host |
host |
| 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
Hostpublic boolean isSetHost()
public String getAffinity()
Stringpublic void setAffinity(String value)
value - allowed object is
Stringpublic boolean isSetAffinity()
Copyright © 2012. All Rights Reserved.