public class Cluster extends BaseResource
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"/> <element name="virt_service" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="gluster_service" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="threads_as_cores" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="tunnel_migration" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="trusted_service" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="ha_reservation" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="optional_reason" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="maintenance_reason_required" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="ballooning_enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element ref="{}display" minOccurs="0"/> <element ref="{}ksm" minOccurs="0"/> <element ref="{}serial_number" minOccurs="0"/> <element name="required_rng_sources" type="{}RngSources" minOccurs="0"/> <element ref="{}fencing_policy" minOccurs="0"/> <element ref="{}migration" minOccurs="0"/> <element name="management_network" type="{}Network" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Constructor and Description |
---|
Cluster() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getBallooningEnabled()
Gets the value of the ballooningEnabled property.
|
CPU |
getCpu()
Gets the value of the cpu property.
|
DataCenter |
getDataCenter()
Gets the value of the dataCenter property.
|
Display |
getDisplay()
Gets the value of the display property.
|
ErrorHandling |
getErrorHandling()
Gets the value of the errorHandling property.
|
FencingPolicy |
getFencingPolicy()
Gets the value of the fencingPolicy property.
|
Boolean |
getGlusterService()
Gets the value of the glusterService property.
|
Boolean |
getHaReservation()
Gets the value of the haReservation property.
|
KSM |
getKsm()
Gets the value of the ksm property.
|
Boolean |
getMaintenanceReasonRequired()
Gets the value of the maintenanceReasonRequired property.
|
Network |
getManagementNetwork()
Gets the value of the managementNetwork property.
|
MemoryPolicy |
getMemoryPolicy()
Gets the value of the memoryPolicy property.
|
MigrationOptions |
getMigration()
Gets the value of the migration property.
|
Boolean |
getOptionalReason()
Gets the value of the optionalReason property.
|
RngSources |
getRequiredRngSources()
Gets the value of the requiredRngSources property.
|
SchedulingPolicy |
getSchedulingPolicy()
Gets the value of the schedulingPolicy property.
|
SerialNumber |
getSerialNumber()
Gets the value of the serialNumber property.
|
SupportedVersions |
getSupportedVersions()
Gets the value of the supportedVersions property.
|
Boolean |
getThreadsAsCores()
Gets the value of the threadsAsCores property.
|
Boolean |
getTrustedService()
Gets the value of the trustedService property.
|
Boolean |
getTunnelMigration()
Gets the value of the tunnelMigration property.
|
Version |
getVersion()
Gets the value of the version property.
|
Boolean |
getVirtService()
Gets the value of the virtService property.
|
boolean |
isSetBallooningEnabled() |
boolean |
isSetCpu() |
boolean |
isSetDataCenter() |
boolean |
isSetDisplay() |
boolean |
isSetErrorHandling() |
boolean |
isSetFencingPolicy() |
boolean |
isSetGlusterService() |
boolean |
isSetHaReservation() |
boolean |
isSetKsm() |
boolean |
isSetMaintenanceReasonRequired() |
boolean |
isSetManagementNetwork() |
boolean |
isSetMemoryPolicy() |
boolean |
isSetMigration() |
boolean |
isSetOptionalReason() |
boolean |
isSetRequiredRngSources() |
boolean |
isSetSchedulingPolicy() |
boolean |
isSetSerialNumber() |
boolean |
isSetSupportedVersions() |
boolean |
isSetThreadsAsCores() |
boolean |
isSetTrustedService() |
boolean |
isSetTunnelMigration() |
boolean |
isSetVersion() |
boolean |
isSetVirtService() |
void |
setBallooningEnabled(Boolean value)
Sets the value of the ballooningEnabled property.
|
void |
setCpu(CPU value)
Sets the value of the cpu property.
|
void |
setDataCenter(DataCenter value)
Sets the value of the dataCenter property.
|
void |
setDisplay(Display value)
Sets the value of the display property.
|
void |
setErrorHandling(ErrorHandling value)
Sets the value of the errorHandling property.
|
void |
setFencingPolicy(FencingPolicy value)
Sets the value of the fencingPolicy property.
|
void |
setGlusterService(Boolean value)
Sets the value of the glusterService property.
|
void |
setHaReservation(Boolean value)
Sets the value of the haReservation property.
|
void |
setKsm(KSM value)
Sets the value of the ksm property.
|
void |
setMaintenanceReasonRequired(Boolean value)
Sets the value of the maintenanceReasonRequired property.
|
void |
setManagementNetwork(Network value)
Sets the value of the managementNetwork property.
|
void |
setMemoryPolicy(MemoryPolicy value)
Sets the value of the memoryPolicy property.
|
void |
setMigration(MigrationOptions value)
Sets the value of the migration property.
|
void |
setOptionalReason(Boolean value)
Sets the value of the optionalReason property.
|
void |
setRequiredRngSources(RngSources value)
Sets the value of the requiredRngSources property.
|
void |
setSchedulingPolicy(SchedulingPolicy value)
Sets the value of the schedulingPolicy property.
|
void |
setSerialNumber(SerialNumber value)
Sets the value of the serialNumber property.
|
void |
setSupportedVersions(SupportedVersions value)
Sets the value of the supportedVersions property.
|
void |
setThreadsAsCores(Boolean value)
Sets the value of the threadsAsCores property.
|
void |
setTrustedService(Boolean value)
Sets the value of the trustedService property.
|
void |
setTunnelMigration(Boolean value)
Sets the value of the tunnelMigration property.
|
void |
setVersion(Version value)
Sets the value of the version property.
|
void |
setVirtService(Boolean value)
Sets the value of the virtService 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 void setCpu(CPU value)
value
- allowed object is
CPU
public boolean isSetCpu()
public DataCenter getDataCenter()
DataCenter
public void setDataCenter(DataCenter value)
value
- allowed object is
DataCenter
public boolean isSetDataCenter()
public MemoryPolicy getMemoryPolicy()
MemoryPolicy
public void setMemoryPolicy(MemoryPolicy value)
value
- allowed object is
MemoryPolicy
public boolean isSetMemoryPolicy()
public SchedulingPolicy getSchedulingPolicy()
SchedulingPolicy
public void setSchedulingPolicy(SchedulingPolicy value)
value
- allowed object is
SchedulingPolicy
public boolean isSetSchedulingPolicy()
public Version getVersion()
Version
public void setVersion(Version value)
value
- allowed object is
Version
public boolean isSetVersion()
public SupportedVersions getSupportedVersions()
SupportedVersions
public void setSupportedVersions(SupportedVersions value)
value
- allowed object is
SupportedVersions
public boolean isSetSupportedVersions()
public ErrorHandling getErrorHandling()
ErrorHandling
public void setErrorHandling(ErrorHandling value)
value
- allowed object is
ErrorHandling
public boolean isSetErrorHandling()
public Boolean getVirtService()
Boolean
public void setVirtService(Boolean value)
value
- allowed object is
Boolean
public boolean isSetVirtService()
public Boolean getGlusterService()
Boolean
public void setGlusterService(Boolean value)
value
- allowed object is
Boolean
public boolean isSetGlusterService()
public Boolean getThreadsAsCores()
Boolean
public void setThreadsAsCores(Boolean value)
value
- allowed object is
Boolean
public boolean isSetThreadsAsCores()
public Boolean getTunnelMigration()
Boolean
public void setTunnelMigration(Boolean value)
value
- allowed object is
Boolean
public boolean isSetTunnelMigration()
public Boolean getTrustedService()
Boolean
public void setTrustedService(Boolean value)
value
- allowed object is
Boolean
public boolean isSetTrustedService()
public Boolean getHaReservation()
Boolean
public void setHaReservation(Boolean value)
value
- allowed object is
Boolean
public boolean isSetHaReservation()
public Boolean getOptionalReason()
Boolean
public void setOptionalReason(Boolean value)
value
- allowed object is
Boolean
public boolean isSetOptionalReason()
public Boolean getMaintenanceReasonRequired()
Boolean
public void setMaintenanceReasonRequired(Boolean value)
value
- allowed object is
Boolean
public boolean isSetMaintenanceReasonRequired()
public Boolean getBallooningEnabled()
Boolean
public void setBallooningEnabled(Boolean value)
value
- allowed object is
Boolean
public boolean isSetBallooningEnabled()
public Display getDisplay()
Display
public void setDisplay(Display value)
value
- allowed object is
Display
public boolean isSetDisplay()
public void setKsm(KSM value)
value
- allowed object is
KSM
public boolean isSetKsm()
public SerialNumber getSerialNumber()
SerialNumber
public void setSerialNumber(SerialNumber value)
value
- allowed object is
SerialNumber
public boolean isSetSerialNumber()
public RngSources getRequiredRngSources()
RngSources
public void setRequiredRngSources(RngSources value)
value
- allowed object is
RngSources
public boolean isSetRequiredRngSources()
public FencingPolicy getFencingPolicy()
FencingPolicy
public void setFencingPolicy(FencingPolicy value)
value
- allowed object is
FencingPolicy
public boolean isSetFencingPolicy()
public MigrationOptions getMigration()
MigrationOptions
public void setMigration(MigrationOptions value)
value
- allowed object is
MigrationOptions
public boolean isSetMigration()
public Network getManagementNetwork()
Network
public void setManagementNetwork(Network value)
value
- allowed object is
Network
public boolean isSetManagementNetwork()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0