Class Volume

    • Method Detail

      • getAwsElasticBlockStore

        public AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setAwsElasticBlockStore

        public void setAwsElasticBlockStore​(AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getAzureDisk

        public AzureDiskVolumeSource getAzureDisk()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setAzureDisk

        public void setAzureDisk​(AzureDiskVolumeSource azureDisk)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getAzureFile

        public AzureFileVolumeSource getAzureFile()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setAzureFile

        public void setAzureFile​(AzureFileVolumeSource azureFile)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getCephfs

        public CephFSVolumeSource getCephfs()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setCephfs

        public void setCephfs​(CephFSVolumeSource cephfs)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getCinder

        public CinderVolumeSource getCinder()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setCinder

        public void setCinder​(CinderVolumeSource cinder)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getConfigMap

        public ConfigMapVolumeSource getConfigMap()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setConfigMap

        public void setConfigMap​(ConfigMapVolumeSource configMap)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getCsi

        public CSIVolumeSource getCsi()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setCsi

        public void setCsi​(CSIVolumeSource csi)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getDownwardAPI

        public DownwardAPIVolumeSource getDownwardAPI()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setDownwardAPI

        public void setDownwardAPI​(DownwardAPIVolumeSource downwardAPI)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getEmptyDir

        public EmptyDirVolumeSource getEmptyDir()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setEmptyDir

        public void setEmptyDir​(EmptyDirVolumeSource emptyDir)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getEphemeral

        public EphemeralVolumeSource getEphemeral()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setEphemeral

        public void setEphemeral​(EphemeralVolumeSource ephemeral)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getFc

        public FCVolumeSource getFc()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setFc

        public void setFc​(FCVolumeSource fc)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getFlexVolume

        public FlexVolumeSource getFlexVolume()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setFlexVolume

        public void setFlexVolume​(FlexVolumeSource flexVolume)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getFlocker

        public FlockerVolumeSource getFlocker()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setFlocker

        public void setFlocker​(FlockerVolumeSource flocker)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getGcePersistentDisk

        public GCEPersistentDiskVolumeSource getGcePersistentDisk()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setGcePersistentDisk

        public void setGcePersistentDisk​(GCEPersistentDiskVolumeSource gcePersistentDisk)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getGitRepo

        public GitRepoVolumeSource getGitRepo()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setGitRepo

        public void setGitRepo​(GitRepoVolumeSource gitRepo)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getGlusterfs

        public GlusterfsVolumeSource getGlusterfs()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setGlusterfs

        public void setGlusterfs​(GlusterfsVolumeSource glusterfs)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getHostPath

        public HostPathVolumeSource getHostPath()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setHostPath

        public void setHostPath​(HostPathVolumeSource hostPath)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getImage

        public ImageVolumeSource getImage()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setImage

        public void setImage​(ImageVolumeSource image)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getIscsi

        public ISCSIVolumeSource getIscsi()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setIscsi

        public void setIscsi​(ISCSIVolumeSource iscsi)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getName

        public String getName()
        name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
      • setName

        public void setName​(String name)
        name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
      • getNfs

        public NFSVolumeSource getNfs()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setNfs

        public void setNfs​(NFSVolumeSource nfs)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getPersistentVolumeClaim

        public PersistentVolumeClaimVolumeSource getPersistentVolumeClaim()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setPersistentVolumeClaim

        public void setPersistentVolumeClaim​(PersistentVolumeClaimVolumeSource persistentVolumeClaim)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getPhotonPersistentDisk

        public PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setPhotonPersistentDisk

        public void setPhotonPersistentDisk​(PhotonPersistentDiskVolumeSource photonPersistentDisk)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getPortworxVolume

        public PortworxVolumeSource getPortworxVolume()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setPortworxVolume

        public void setPortworxVolume​(PortworxVolumeSource portworxVolume)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getProjected

        public ProjectedVolumeSource getProjected()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setProjected

        public void setProjected​(ProjectedVolumeSource projected)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getQuobyte

        public QuobyteVolumeSource getQuobyte()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setQuobyte

        public void setQuobyte​(QuobyteVolumeSource quobyte)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getRbd

        public RBDVolumeSource getRbd()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setRbd

        public void setRbd​(RBDVolumeSource rbd)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getScaleIO

        public ScaleIOVolumeSource getScaleIO()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setScaleIO

        public void setScaleIO​(ScaleIOVolumeSource scaleIO)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getSecret

        public SecretVolumeSource getSecret()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setSecret

        public void setSecret​(SecretVolumeSource secret)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getStorageos

        public StorageOSVolumeSource getStorageos()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setStorageos

        public void setStorageos​(StorageOSVolumeSource storageos)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getVsphereVolume

        public VsphereVirtualDiskVolumeSource getVsphereVolume()
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • setVsphereVolume

        public void setVsphereVolume​(VsphereVirtualDiskVolumeSource vsphereVolume)
        Volume represents a named volume in a pod that may be accessed by any container in the pod.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)