public class VolumeSetting extends AbstractModel
header, skipSign
Constructor and Description |
---|
VolumeSetting() |
VolumeSetting(VolumeSetting 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 |
---|---|
HostPathVolumeSource |
getHostPath()
Get 主机路径信息
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getVolumeType()
Get 数据卷类型
HOST_PATH表示支持本机路径
NEW_PVC表示新建PVC
组件角色支持的数据卷类型可参考 EMR on TKE 集群部署说明:[部署说明](https://cloud.tencent.com/document/product/589/94254)
|
void |
setHostPath(HostPathVolumeSource HostPath)
Set 主机路径信息
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setVolumeType(String VolumeType)
Set 数据卷类型
HOST_PATH表示支持本机路径
NEW_PVC表示新建PVC
组件角色支持的数据卷类型可参考 EMR on TKE 集群部署说明:[部署说明](https://cloud.tencent.com/document/product/589/94254)
|
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, toJsonString
public VolumeSetting()
public VolumeSetting(VolumeSetting source)
public String getVolumeType()
public void setVolumeType(String VolumeType)
VolumeType
- 数据卷类型
public HostPathVolumeSource getHostPath()
public void setHostPath(HostPathVolumeSource HostPath)
HostPath
- 主机路径信息
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.