public class CreateVolumeRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreateVolumeRequest()  | 
CreateVolumeRequest(CreateVolumeRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Long | 
getCapacity()
Get Volume size (GB), which is required to be specified for the Turbo series. 
 | 
String | 
getDescription()
Get Description 
 | 
String | 
getEnvironmentId()
Get Environment ID 
 | 
String | 
getName()
Get Name 
 | 
String | 
getSpec()
Get Volume specifications. 
 | 
String | 
getType()
Get Volume type. 
 | 
void | 
setCapacity(Long Capacity)
Set Volume size (GB), which is required to be specified for the Turbo series. 
 | 
void | 
setDescription(String Description)
Set Description 
 | 
void | 
setEnvironmentId(String EnvironmentId)
Set Environment ID 
 | 
void | 
setName(String Name)
Set Name 
 | 
void | 
setSpec(String Spec)
Set Volume specifications. 
 | 
void | 
setType(String Type)
Set Volume type. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateVolumeRequest()
public CreateVolumeRequest(CreateVolumeRequest source)
public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId - Environment IDpublic String getName()
public void setName(String Name)
Name - Namepublic String getType()
public void setType(String Type)
Type - Volume type. Valid values:
 SHARED: Multi-point mount shared storagepublic String getSpec()
public void setSpec(String Spec)
Spec - Volume specifications. Valid values:
- SD: standard
- HP: high-performance
- TB: standard Turbo
- TP: high-performance Turbopublic String getDescription()
public void setDescription(String Description)
Description - Descriptionpublic Long getCapacity()
public void setCapacity(Long Capacity)
Capacity - Volume size (GB), which is required to be specified for the Turbo series.Copyright © 2025. All rights reserved.