public class Platform
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Platform.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
Platform() |
Platform(java.lang.String nodeType,
java.lang.String chassisType,
java.lang.String cpuModel,
java.lang.Long nodeMemoryGB,
Optional<java.lang.String> platformConfigVersion) |
Platform(java.lang.String nodeType,
java.lang.String chassisType,
java.lang.String cpuModel,
java.lang.Long nodeMemoryGB,
Optional<java.lang.String> platformConfigVersion,
Optional<java.lang.Boolean> containerized) |
Modifier and Type | Method and Description |
---|---|
Platform.Builder |
asBuilder() |
static Platform.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getChassisType()
Name of the chassis (example: "R620").
|
Optional<java.lang.Boolean> |
getContainerized()
Whether Element software is running inside a container.
|
java.lang.String |
getCpuModel()
The model of CPU used on this platform.
|
java.lang.Long |
getNodeMemoryGB()
The amount of memory on this platform in GiB.
|
java.lang.String |
getNodeType()
SolidFire's name for this platform.
|
Optional<java.lang.String> |
getPlatformConfigVersion() |
int |
hashCode() |
void |
setChassisType(java.lang.String chassisType) |
void |
setContainerized(Optional<java.lang.Boolean> containerized) |
void |
setCpuModel(java.lang.String cpuModel) |
void |
setNodeMemoryGB(java.lang.Long nodeMemoryGB) |
void |
setNodeType(java.lang.String nodeType) |
void |
setPlatformConfigVersion(Optional<java.lang.String> platformConfigVersion) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public Platform(java.lang.String nodeType, java.lang.String chassisType, java.lang.String cpuModel, java.lang.Long nodeMemoryGB, Optional<java.lang.String> platformConfigVersion)
public java.lang.String getNodeType()
public void setNodeType(java.lang.String nodeType)
public java.lang.String getChassisType()
public void setChassisType(java.lang.String chassisType)
public java.lang.String getCpuModel()
public void setCpuModel(java.lang.String cpuModel)
public java.lang.Long getNodeMemoryGB()
public void setNodeMemoryGB(java.lang.Long nodeMemoryGB)
public Optional<java.lang.String> getPlatformConfigVersion()
public void setPlatformConfigVersion(Optional<java.lang.String> platformConfigVersion)
public Optional<java.lang.Boolean> getContainerized()
public void setContainerized(Optional<java.lang.Boolean> containerized)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static Platform.Builder builder()
public final Platform.Builder asBuilder()