@Generated(value="org.jsonschema2pojo") public class PersistentVolumeSpec extends java.lang.Object implements KubernetesResource
public PersistentVolumeSpec()
public PersistentVolumeSpec(java.util.List<java.lang.String> accessModes,
AWSElasticBlockStoreVolumeSource awsElasticBlockStore,
AzureDiskVolumeSource azureDisk,
AzureFilePersistentVolumeSource azureFile,
java.util.Map<java.lang.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,
java.util.List<java.lang.String> mountOptions,
NFSVolumeSource nfs,
VolumeNodeAffinity nodeAffinity,
java.lang.String persistentVolumeReclaimPolicy,
PhotonPersistentDiskVolumeSource photonPersistentDisk,
PortworxVolumeSource portworxVolume,
QuobyteVolumeSource quobyte,
RBDPersistentVolumeSource rbd,
ScaleIOPersistentVolumeSource scaleIO,
java.lang.String storageClassName,
StorageOSPersistentVolumeSource storageos,
java.lang.String volumeMode,
VsphereVirtualDiskVolumeSource vsphereVolume)
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 - public java.util.List<java.lang.String> getAccessModes()
public void setAccessModes(java.util.List<java.lang.String> accessModes)
accessModes - The accessModespublic AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
public void setAwsElasticBlockStore(AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
awsElasticBlockStore - The awsElasticBlockStorepublic AzureDiskVolumeSource getAzureDisk()
public void setAzureDisk(AzureDiskVolumeSource azureDisk)
azureDisk - The azureDiskpublic AzureFilePersistentVolumeSource getAzureFile()
public void setAzureFile(AzureFilePersistentVolumeSource azureFile)
azureFile - The azureFilepublic java.util.Map<java.lang.String,Quantity> getCapacity()
public void setCapacity(java.util.Map<java.lang.String,Quantity> capacity)
capacity - The capacitypublic CephFSPersistentVolumeSource getCephfs()
public void setCephfs(CephFSPersistentVolumeSource cephfs)
cephfs - The cephfspublic CinderPersistentVolumeSource getCinder()
public void setCinder(CinderPersistentVolumeSource cinder)
cinder - The cinderpublic ObjectReference getClaimRef()
public void setClaimRef(ObjectReference claimRef)
claimRef - The claimRefpublic CSIPersistentVolumeSource getCsi()
public void setCsi(CSIPersistentVolumeSource csi)
csi - The csipublic FCVolumeSource getFc()
public void setFc(FCVolumeSource fc)
fc - The fcpublic FlexPersistentVolumeSource getFlexVolume()
public void setFlexVolume(FlexPersistentVolumeSource flexVolume)
flexVolume - The flexVolumepublic FlockerVolumeSource getFlocker()
public void setFlocker(FlockerVolumeSource flocker)
flocker - The flockerpublic GCEPersistentDiskVolumeSource getGcePersistentDisk()
public void setGcePersistentDisk(GCEPersistentDiskVolumeSource gcePersistentDisk)
gcePersistentDisk - The gcePersistentDiskpublic GlusterfsPersistentVolumeSource getGlusterfs()
public void setGlusterfs(GlusterfsPersistentVolumeSource glusterfs)
glusterfs - The glusterfspublic HostPathVolumeSource getHostPath()
public void setHostPath(HostPathVolumeSource hostPath)
hostPath - The hostPathpublic ISCSIPersistentVolumeSource getIscsi()
public void setIscsi(ISCSIPersistentVolumeSource iscsi)
iscsi - The iscsipublic LocalVolumeSource getLocal()
public void setLocal(LocalVolumeSource local)
local - The localpublic java.util.List<java.lang.String> getMountOptions()
public void setMountOptions(java.util.List<java.lang.String> mountOptions)
mountOptions - The mountOptionspublic NFSVolumeSource getNfs()
public void setNfs(NFSVolumeSource nfs)
nfs - The nfspublic VolumeNodeAffinity getNodeAffinity()
public void setNodeAffinity(VolumeNodeAffinity nodeAffinity)
nodeAffinity - The nodeAffinitypublic java.lang.String getPersistentVolumeReclaimPolicy()
public void setPersistentVolumeReclaimPolicy(java.lang.String persistentVolumeReclaimPolicy)
persistentVolumeReclaimPolicy - The persistentVolumeReclaimPolicypublic PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
public void setPhotonPersistentDisk(PhotonPersistentDiskVolumeSource photonPersistentDisk)
photonPersistentDisk - The photonPersistentDiskpublic PortworxVolumeSource getPortworxVolume()
public void setPortworxVolume(PortworxVolumeSource portworxVolume)
portworxVolume - The portworxVolumepublic QuobyteVolumeSource getQuobyte()
public void setQuobyte(QuobyteVolumeSource quobyte)
quobyte - The quobytepublic RBDPersistentVolumeSource getRbd()
public void setRbd(RBDPersistentVolumeSource rbd)
rbd - The rbdpublic ScaleIOPersistentVolumeSource getScaleIO()
public void setScaleIO(ScaleIOPersistentVolumeSource scaleIO)
scaleIO - The scaleIOpublic java.lang.String getStorageClassName()
public void setStorageClassName(java.lang.String storageClassName)
storageClassName - The storageClassNamepublic StorageOSPersistentVolumeSource getStorageos()
public void setStorageos(StorageOSPersistentVolumeSource storageos)
storageos - The storageospublic java.lang.String getVolumeMode()
public void setVolumeMode(java.lang.String volumeMode)
volumeMode - The volumeModepublic VsphereVirtualDiskVolumeSource getVsphereVolume()
public void setVsphereVolume(VsphereVirtualDiskVolumeSource vsphereVolume)
vsphereVolume - The vsphereVolumepublic java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
public void setAdditionalProperty(java.lang.String name,
java.lang.Object value)
Copyright © 2015-2019 Red Hat. All Rights Reserved.