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 | 
|---|---|
| VolumeAutoScaleUpRule | getAutoScaleUpRule()Get turbo自动扩容策略 | 
| Float | getBandwidthLimit()Get 缓存卷吞吐上限(MiB/s)。 | 
| Long | getCapacity()Get 缓存卷大小(GB)。 | 
| String | getDefaultMountPath()Get 默认挂载路径。 | 
| String | getDescription()Get 描述。 | 
| String | getEnvironmentId()Get 环境ID。 | 
| Boolean | getIsDefault()Get 是否为默认缓存卷。 | 
| String | getMetaType()Get turbo元数据属性 | 
| String | getName()Get 名称。 | 
| String | getSpec()Get 缓存卷规格,取值范围:
- SD:通用标准型
- HP:通用性能型
- TB:turbo标准型
- TP:turbo性能型 | 
| String | getStatus()Get 状态。 | 
| String | getType()Get 缓存卷类型,取值范围:
 SHARED:多点挂载共享存储 | 
| Long | getUsage()Get 缓存卷使用量(Byte)。 | 
| String | getVolumeId()Get 缓存卷ID。 | 
| String | getZone()Get 可用区 | 
| void | setAutoScaleUpRule(VolumeAutoScaleUpRule AutoScaleUpRule)Set turbo自动扩容策略 | 
| void | setBandwidthLimit(Float BandwidthLimit)Set 缓存卷吞吐上限(MiB/s)。 | 
| void | setCapacity(Long Capacity)Set 缓存卷大小(GB)。 | 
| void | setDefaultMountPath(String DefaultMountPath)Set 默认挂载路径。 | 
| void | setDescription(String Description)Set 描述。 | 
| void | setEnvironmentId(String EnvironmentId)Set 环境ID。 | 
| void | setIsDefault(Boolean IsDefault)Set 是否为默认缓存卷。 | 
| void | setMetaType(String MetaType)Set turbo元数据属性 | 
| void | setName(String Name)Set 名称。 | 
| void | setSpec(String Spec)Set 缓存卷规格,取值范围:
- SD:通用标准型
- HP:通用性能型
- TB:turbo标准型
- TP:turbo性能型 | 
| void | setStatus(String Status)Set 状态。 | 
| void | setType(String Type)Set 缓存卷类型,取值范围:
 SHARED:多点挂载共享存储 | 
| void | setUsage(Long Usage)Set 缓存卷使用量(Byte)。 | 
| void | setVolumeId(String VolumeId)Set 缓存卷ID。 | 
| void | setZone(String Zone)Set 可用区 | 
| 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 - 缓存卷ID。public String getName()
public void setName(String Name)
Name - 名称。public String getDescription()
public void setDescription(String Description)
Description - 描述。public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId - 环境ID。public String getType()
public void setType(String Type)
Type - 缓存卷类型,取值范围:
 SHARED:多点挂载共享存储public String getSpec()
public void setSpec(String Spec)
Spec - 缓存卷规格,取值范围:
- SD:通用标准型
- HP:通用性能型
- TB:turbo标准型
- TP:turbo性能型public Long getCapacity()
public void setCapacity(Long Capacity)
Capacity - 缓存卷大小(GB)。public Long getUsage()
public void setUsage(Long Usage)
Usage - 缓存卷使用量(Byte)。public Float getBandwidthLimit()
public void setBandwidthLimit(Float BandwidthLimit)
BandwidthLimit - 缓存卷吞吐上限(MiB/s)。public String getDefaultMountPath()
public void setDefaultMountPath(String DefaultMountPath)
DefaultMountPath - 默认挂载路径。public Boolean getIsDefault()
public void setIsDefault(Boolean IsDefault)
IsDefault - 是否为默认缓存卷。public String getStatus()
public void setStatus(String Status)
Status - 状态。public VolumeAutoScaleUpRule getAutoScaleUpRule()
public void setAutoScaleUpRule(VolumeAutoScaleUpRule AutoScaleUpRule)
AutoScaleUpRule - turbo自动扩容策略public String getMetaType()
public void setMetaType(String MetaType)
MetaType - turbo元数据属性public String getZone()
public void setZone(String Zone)
Zone - 可用区Copyright © 2025. All rights reserved.