public class OpenGaussVolume extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenGaussVolume.TypeEnum
磁盘类型。 仅支持ULTRAHIGH和ESSD,区分大小写,分别表示SSD和急速云盘。
|
| Constructor and Description |
|---|
OpenGaussVolume() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getSize()
磁盘大小。例如:该参数填写为“40”,表示为创建的实例分配40GB的磁盘空间。 取值范围:(分片数*40GB)~(分片数*16TB),且大小只能为分片数*40的整数倍。
|
OpenGaussVolume.TypeEnum |
getType()
磁盘类型。 仅支持ULTRAHIGH和ESSD,区分大小写,分别表示SSD和急速云盘。
|
int |
hashCode() |
void |
setSize(Integer size) |
void |
setType(OpenGaussVolume.TypeEnum type) |
String |
toString() |
OpenGaussVolume |
withSize(Integer size) |
OpenGaussVolume |
withType(OpenGaussVolume.TypeEnum type) |
public OpenGaussVolume withType(OpenGaussVolume.TypeEnum type)
public OpenGaussVolume.TypeEnum getType()
public void setType(OpenGaussVolume.TypeEnum type)
public OpenGaussVolume withSize(Integer size)
public Integer getSize()
public void setSize(Integer size)
Copyright © 2022. All rights reserved.