public class HostVolumeContext extends AbstractModel
Constructor and Description |
---|
HostVolumeContext() |
HostVolumeContext(HostVolumeContext 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 |
---|---|
String |
getVolumePath()
Get Pod挂载宿主机的目录。资源对宿主机的挂载点,指定的挂载点对应了宿主机的路径,该挂载点在Pod中作为数据存储目录使用
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setVolumePath(String VolumePath)
Set Pod挂载宿主机的目录。资源对宿主机的挂载点,指定的挂载点对应了宿主机的路径,该挂载点在Pod中作为数据存储目录使用
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public HostVolumeContext()
public HostVolumeContext(HostVolumeContext source)
public String getVolumePath()
public void setVolumePath(String VolumePath)
VolumePath
- Pod挂载宿主机的目录。资源对宿主机的挂载点,指定的挂载点对应了宿主机的路径,该挂载点在Pod中作为数据存储目录使用
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.