public class Platform extends Object implements Validatable
| Modifier and Type | Class and Description |
|---|---|
static class |
Platform.PlatformChild |
| Modifier and Type | Method and Description |
|---|---|
String |
getContainerId() |
Boolean |
getEnabled() |
Platform.PlatformChild |
getFileStores() |
Integer |
getInterval() |
String |
getMachineId() |
Platform.PlatformChild |
getMemory() |
Platform.PlatformChild |
getPowerSources() |
Platform.PlatformChild |
getProcessors() |
TimeUnits |
getTimeUnits() |
void |
setContainerId(String containerId) |
void |
setEnabled(Boolean enabled) |
void |
setFileStores(Platform.PlatformChild fileStores) |
void |
setInterval(Integer interval) |
void |
setMachineId(String machineId) |
void |
setMemory(Platform.PlatformChild memory) |
void |
setPowerSources(Platform.PlatformChild powerSources) |
void |
setProcessors(Platform.PlatformChild processors) |
void |
setTimeUnits(TimeUnits timeUnits) |
void |
validate()
Checks the state of the object to ensure it is valid.
|
public Platform()
public Platform(Platform original)
public void validate()
throws Exception
Validatablevalidate in interface ValidatableException - if the state of the object is not validpublic Boolean getEnabled()
public void setEnabled(Boolean enabled)
public Integer getInterval()
public void setInterval(Integer interval)
public TimeUnits getTimeUnits()
public void setTimeUnits(TimeUnits timeUnits)
public String getMachineId()
public void setMachineId(String machineId)
public String getContainerId()
public void setContainerId(String containerId)
public Platform.PlatformChild getFileStores()
public void setFileStores(Platform.PlatformChild fileStores)
public Platform.PlatformChild getMemory()
public void setMemory(Platform.PlatformChild memory)
public Platform.PlatformChild getProcessors()
public void setProcessors(Platform.PlatformChild processors)
public Platform.PlatformChild getPowerSources()
public void setPowerSources(Platform.PlatformChild powerSources)
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.