Package io.fabric8.kubernetes.api.model
Class PersistentVolumeSpec
java.lang.Object
io.fabric8.kubernetes.api.model.PersistentVolumeSpec
- All Implemented Interfaces:
KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class PersistentVolumeSpec extends Object implements KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PersistentVolumeSpec
public PersistentVolumeSpec()No args constructor for use in serialization -
PersistentVolumeSpec
public PersistentVolumeSpec(List<String> accessModes, AWSElasticBlockStoreVolumeSource awsElasticBlockStore, AzureDiskVolumeSource azureDisk, AzureFilePersistentVolumeSource azureFile, Map<String,Quantity> capacity, CephFSPersistentVolumeSource cephfs, CinderPersistentVolumeSource cinder, ObjectReference claimRef, CSIPersistentVolumeSource csi, FCVolumeSource fc, FlexPersistentVolumeSource flexVolume, FlockerVolumeSource flocker, GCEPersistentDiskVolumeSource gcePersistentDisk, GlusterfsPersistentVolumeSource glusterfs, HostPathVolumeSource hostPath, ISCSIPersistentVolumeSource iscsi, LocalVolumeSource local, List<String> mountOptions, NFSVolumeSource nfs, VolumeNodeAffinity nodeAffinity, String persistentVolumeReclaimPolicy, PhotonPersistentDiskVolumeSource photonPersistentDisk, PortworxVolumeSource portworxVolume, QuobyteVolumeSource quobyte, RBDPersistentVolumeSource rbd, ScaleIOPersistentVolumeSource scaleIO, String storageClassName, StorageOSPersistentVolumeSource storageos, String volumeMode, VsphereVirtualDiskVolumeSource vsphereVolume)- Parameters:
claimRef-quobyte-azureFile-flexVolume-mountOptions-local-capacity-cephfs-scaleIO-accessModes-glusterfs-gcePersistentDisk-photonPersistentDisk-azureDisk-cinder-awsElasticBlockStore-nodeAffinity-flocker-volumeMode-iscsi-rbd-storageClassName-storageos-csi-nfs-persistentVolumeReclaimPolicy-portworxVolume-vsphereVolume-fc-hostPath-
-
-
Method Details
-
getAccessModes
- Returns:
- The accessModes
-
setAccessModes
- Parameters:
accessModes- The accessModes
-
getAwsElasticBlockStore
- Returns:
- The awsElasticBlockStore
-
setAwsElasticBlockStore
- Parameters:
awsElasticBlockStore- The awsElasticBlockStore
-
getAzureDisk
- Returns:
- The azureDisk
-
setAzureDisk
- Parameters:
azureDisk- The azureDisk
-
getAzureFile
- Returns:
- The azureFile
-
setAzureFile
- Parameters:
azureFile- The azureFile
-
getCapacity
- Returns:
- The capacity
-
setCapacity
- Parameters:
capacity- The capacity
-
getCephfs
- Returns:
- The cephfs
-
setCephfs
- Parameters:
cephfs- The cephfs
-
getCinder
- Returns:
- The cinder
-
setCinder
- Parameters:
cinder- The cinder
-
getClaimRef
- Returns:
- The claimRef
-
setClaimRef
- Parameters:
claimRef- The claimRef
-
getCsi
- Returns:
- The csi
-
setCsi
- Parameters:
csi- The csi
-
getFc
- Returns:
- The fc
-
setFc
- Parameters:
fc- The fc
-
getFlexVolume
- Returns:
- The flexVolume
-
setFlexVolume
- Parameters:
flexVolume- The flexVolume
-
getFlocker
- Returns:
- The flocker
-
setFlocker
- Parameters:
flocker- The flocker
-
getGcePersistentDisk
- Returns:
- The gcePersistentDisk
-
setGcePersistentDisk
- Parameters:
gcePersistentDisk- The gcePersistentDisk
-
getGlusterfs
- Returns:
- The glusterfs
-
setGlusterfs
- Parameters:
glusterfs- The glusterfs
-
getHostPath
- Returns:
- The hostPath
-
setHostPath
- Parameters:
hostPath- The hostPath
-
getIscsi
- Returns:
- The iscsi
-
setIscsi
- Parameters:
iscsi- The iscsi
-
getLocal
- Returns:
- The local
-
setLocal
- Parameters:
local- The local
-
getMountOptions
- Returns:
- The mountOptions
-
setMountOptions
- Parameters:
mountOptions- The mountOptions
-
getNfs
- Returns:
- The nfs
-
setNfs
- Parameters:
nfs- The nfs
-
getNodeAffinity
- Returns:
- The nodeAffinity
-
setNodeAffinity
- Parameters:
nodeAffinity- The nodeAffinity
-
getPersistentVolumeReclaimPolicy
- Returns:
- The persistentVolumeReclaimPolicy
-
setPersistentVolumeReclaimPolicy
- Parameters:
persistentVolumeReclaimPolicy- The persistentVolumeReclaimPolicy
-
getPhotonPersistentDisk
- Returns:
- The photonPersistentDisk
-
setPhotonPersistentDisk
- Parameters:
photonPersistentDisk- The photonPersistentDisk
-
getPortworxVolume
- Returns:
- The portworxVolume
-
setPortworxVolume
- Parameters:
portworxVolume- The portworxVolume
-
getQuobyte
- Returns:
- The quobyte
-
setQuobyte
- Parameters:
quobyte- The quobyte
-
getRbd
- Returns:
- The rbd
-
setRbd
- Parameters:
rbd- The rbd
-
getScaleIO
- Returns:
- The scaleIO
-
setScaleIO
- Parameters:
scaleIO- The scaleIO
-
getStorageClassName
- Returns:
- The storageClassName
-
setStorageClassName
- Parameters:
storageClassName- The storageClassName
-
getStorageos
- Returns:
- The storageos
-
setStorageos
- Parameters:
storageos- The storageos
-
getVolumeMode
- Returns:
- The volumeMode
-
setVolumeMode
- Parameters:
volumeMode- The volumeMode
-
getVsphereVolume
- Returns:
- The vsphereVolume
-
setVsphereVolume
- Parameters:
vsphereVolume- The vsphereVolume
-
getAdditionalProperties
-
setAdditionalProperty
-