public class AffinityGroup extends BaseResource
Java class for AffinityGroup complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AffinityGroup"> <complexContent> <extension base="{}BaseResource"> <sequence> <element ref="{}cluster"/> <element name="positive" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="enforcing" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </extension> </complexContent> </complexType>
Constructor and Description |
---|
AffinityGroup() |
Modifier and Type | Method and Description |
---|---|
Cluster |
getCluster()
Gets the value of the cluster property.
|
boolean |
isEnforcing()
Gets the value of the enforcing property.
|
boolean |
isPositive()
Gets the value of the positive property.
|
boolean |
isSetCluster() |
boolean |
isSetEnforcing() |
boolean |
isSetPositive() |
void |
setCluster(Cluster value)
Sets the value of the cluster property.
|
void |
setEnforcing(boolean value)
Sets the value of the enforcing property.
|
void |
setPositive(boolean value)
Sets the value of the positive property.
|
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinks
getActions, isSetActions, setActions
public Cluster getCluster()
Cluster
public void setCluster(Cluster value)
value
- allowed object is
Cluster
public boolean isSetCluster()
public boolean isPositive()
public void setPositive(boolean value)
public boolean isSetPositive()
public boolean isEnforcing()
public void setEnforcing(boolean value)
public boolean isSetEnforcing()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0