public class CpuMemory extends Object implements Serializable
| Constructor and Description |
|---|
CpuMemory() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getMemory()
The memory in Kubernetes syntax.
|
String |
getMilliCpu()
The CPUs formatted using Kubernetes syntax.
|
long |
memoryAsLong()
The memory in bytes
|
void |
memoryAsLong(long memory) |
int |
milliCpuAsInt()
The CPUs in "millicpus".
|
void |
milliCpuAsInt(int milliCpu) |
void |
setAdditionalProperty(String name,
Object value) |
void |
setMemory(String mem) |
void |
setMilliCpu(String milliCpu) |
public long memoryAsLong()
public void memoryAsLong(long memory)
public String getMemory()
public void setMemory(String mem)
public int milliCpuAsInt()
public void milliCpuAsInt(int milliCpu)
public String getMilliCpu()
public void setMilliCpu(String milliCpu)
Copyright © 2019. All rights reserved.