public class Shape extends Object
Constructor and Description |
---|
Shape() |
Modifier and Type | Method and Description |
---|---|
Shape |
cpus(BigDecimal cpus) |
boolean |
equals(Object o) |
BigDecimal |
getCpus()
Number of CPUs or partial CPUs allocated to instances of this shape.
|
Long |
getGpus()
Number of gpu devices allocated to instances of this shape
|
Long |
getIo()
IO share allocated to instances of this shape.
|
Boolean |
getIsRootSsd()
Store the root disk image on SSD storage.
|
String |
getName()
Name of this shape.
|
Long |
getNdsIopsLimit()
Limits the rate of IO for NDS storage volumes.
|
List<String> |
getPlacementRequirements()
A list of strings specifying arbitrary tags on nodes to be matched on placement.
|
Long |
getRam()
Number of megabytes of memory allocated to instances of this shape.
|
Long |
getRootDiskSize()
Size of the root disk in bytes.
|
Long |
getSsdDataSize()
Size of the local SSD data disk in bytes.
|
String |
getUri()
Uniform Resource Identifier
|
Shape |
gpus(Long gpus) |
int |
hashCode() |
Shape |
io(Long io) |
Shape |
isRootSsd(Boolean isRootSsd) |
Shape |
name(String name) |
Shape |
ndsIopsLimit(Long ndsIopsLimit) |
Shape |
placementRequirements(List<String> placementRequirements) |
Shape |
ram(Long ram) |
Shape |
rootDiskSize(Long rootDiskSize) |
void |
setCpus(BigDecimal cpus) |
void |
setGpus(Long gpus) |
void |
setIo(Long io) |
void |
setIsRootSsd(Boolean isRootSsd) |
void |
setName(String name) |
void |
setNdsIopsLimit(Long ndsIopsLimit) |
void |
setPlacementRequirements(List<String> placementRequirements) |
void |
setRam(Long ram) |
void |
setRootDiskSize(Long rootDiskSize) |
void |
setSsdDataSize(Long ssdDataSize) |
void |
setUri(String uri) |
Shape |
ssdDataSize(Long ssdDataSize) |
String |
toString() |
Shape |
uri(String uri) |
public BigDecimal getCpus()
public void setCpus(BigDecimal cpus)
public Shape cpus(BigDecimal cpus)
public Long getGpus()
public void setGpus(Long gpus)
public Long getIo()
public void setIo(Long io)
public Boolean getIsRootSsd()
public void setIsRootSsd(Boolean isRootSsd)
public String getName()
public void setName(String name)
public Long getNdsIopsLimit()
public void setNdsIopsLimit(Long ndsIopsLimit)
public List<String> getPlacementRequirements()
public Long getRam()
public void setRam(Long ram)
public Long getRootDiskSize()
public void setRootDiskSize(Long rootDiskSize)
public Long getSsdDataSize()
public void setSsdDataSize(Long ssdDataSize)
public String getUri()
public void setUri(String uri)
Copyright © 2016–2018. All rights reserved.