public class PodVolume extends AbstractModel
| Constructor and Description | 
|---|
| PodVolume() | 
| Modifier and Type | Method and Description | 
|---|---|
| HostVolumeContext | getHostVolume()Get This field will take effect if `VolumeType` is `hostpath`. | 
| PersistentVolumeContext | getPVCVolume()Get This field will take effect if `VolumeType` is `pvc`. | 
| String | getVolumeType()Get Storage type. | 
| void | setHostVolume(HostVolumeContext HostVolume)Set This field will take effect if `VolumeType` is `hostpath`. | 
| void | setPVCVolume(PersistentVolumeContext PVCVolume)Set This field will take effect if `VolumeType` is `pvc`. | 
| void | setVolumeType(String VolumeType)Set Storage type. | 
| 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, toJsonStringpublic String getVolumeType()
public void setVolumeType(String VolumeType)
VolumeType - Storage type. Valid values: "pvc", "hostpath".
Note: this field may return null, indicating that no valid values can be obtained.public PersistentVolumeContext getPVCVolume()
public void setPVCVolume(PersistentVolumeContext PVCVolume)
PVCVolume - This field will take effect if `VolumeType` is `pvc`.
Note: this field may return null, indicating that no valid values can be obtained.public HostVolumeContext getHostVolume()
public void setHostVolume(HostVolumeContext HostVolume)
HostVolume - This field will take effect if `VolumeType` is `hostpath`.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.