public class Volume extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Volume() | 
| Volume(Volume 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 | 
|---|---|
| Float | getBandwidthLimit()Get Volume throughput upper limit (MiB/s)
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getCapacity()Get Volume size (GB)
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getDefaultMountPath()Get Default mount path
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getDescription()Get Description
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getEnvironmentId()Get Environment ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| Boolean | getIsDefault()Get Whether it is the default volume. | 
| String | getName()Get Name
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getSpec()Get Volume specifications. | 
| String | getStatus()Get Status
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getType()Get Volume type. | 
| Long | getUsage()Get Volume usage (Byte)
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getVolumeId()Get Volume ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setBandwidthLimit(Float BandwidthLimit)Set Volume throughput upper limit (MiB/s)
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setCapacity(Long Capacity)Set Volume size (GB)
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setDefaultMountPath(String DefaultMountPath)Set Default mount path
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setDescription(String Description)Set Description
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setEnvironmentId(String EnvironmentId)Set Environment ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setIsDefault(Boolean IsDefault)Set Whether it is the default volume. | 
| void | setName(String Name)Set Name
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setSpec(String Spec)Set Volume specifications. | 
| void | setStatus(String Status)Set Status
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setType(String Type)Set Volume type. | 
| void | setUsage(Long Usage)Set Volume usage (Byte)
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setVolumeId(String VolumeId)Set Volume ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| 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 Volume()
public Volume(Volume source)
public String getVolumeId()
public void setVolumeId(String VolumeId)
VolumeId - Volume ID
Note: This field may return null, indicating that no valid values can be obtained.public String getName()
public void setName(String Name)
Name - Name
Note: This field may return null, indicating that no valid values can be obtained.public String getDescription()
public void setDescription(String Description)
Description - Description
Note: This field may return null, indicating that no valid values can be obtained.public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId - Environment ID
Note: This field may return null, indicating that no valid values can be obtained.public String getType()
public void setType(String Type)
Type - Volume type. Valid values:
 SHARED: Multi-point mount shared storage
Note: This field may return null, indicating that no valid values can be obtained.public String getSpec()
public void setSpec(String Spec)
Spec - Volume specifications. Valid values:
- SD: standard
- HP: high-performance
- TB: standard Turbo
- TP: high-performance Turbo
Note: This field may return null, indicating that no valid values can be obtained.public Long getCapacity()
public void setCapacity(Long Capacity)
Capacity - Volume size (GB)
Note: This field may return null, indicating that no valid values can be obtained.public Long getUsage()
public void setUsage(Long Usage)
Usage - Volume usage (Byte)
Note: This field may return null, indicating that no valid values can be obtained.public Float getBandwidthLimit()
public void setBandwidthLimit(Float BandwidthLimit)
BandwidthLimit - Volume throughput upper limit (MiB/s)
Note: This field may return null, indicating that no valid values can be obtained.public String getDefaultMountPath()
public void setDefaultMountPath(String DefaultMountPath)
DefaultMountPath - Default mount path
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getIsDefault()
public void setIsDefault(Boolean IsDefault)
IsDefault - Whether it is the default volume.
Note: This field may return null, indicating that no valid values can be obtained.public String getStatus()
public void setStatus(String Status)
Status - Status
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.