java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1Volume

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1Volume extends Object
Volume represents a named volume in a pod that may be accessed by any container in the pod.
  • Field Details

  • Constructor Details

    • V1Volume

      public V1Volume(String name)
  • Method Details

    • 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
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
      Parameters:
      name - property value to set
    • name

      public V1Volume name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getAwsElasticBlockStore

      public V1AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
      Returns:
      the awsElasticBlockStore property value
    • setAwsElasticBlockStore

      public void setAwsElasticBlockStore(V1AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
      Set the awsElasticBlockStore property value
      Parameters:
      awsElasticBlockStore - property value to set
    • awsElasticBlockStore

      public V1Volume awsElasticBlockStore(V1AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
      Set awsElasticBlockStore in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getAzureDisk

      public V1AzureDiskVolumeSource getAzureDisk()
      Returns:
      the azureDisk property value
    • setAzureDisk

      public void setAzureDisk(V1AzureDiskVolumeSource azureDisk)
      Set the azureDisk property value
      Parameters:
      azureDisk - property value to set
    • azureDisk

      public V1Volume azureDisk(V1AzureDiskVolumeSource azureDisk)
      Set azureDisk in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getAzureFile

      public V1AzureFileVolumeSource getAzureFile()
      Returns:
      the azureFile property value
    • setAzureFile

      public void setAzureFile(V1AzureFileVolumeSource azureFile)
      Set the azureFile property value
      Parameters:
      azureFile - property value to set
    • azureFile

      public V1Volume azureFile(V1AzureFileVolumeSource azureFile)
      Set azureFile in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getCephfs

      public V1CephFSVolumeSource getCephfs()
      Returns:
      the cephfs property value
    • setCephfs

      public void setCephfs(V1CephFSVolumeSource cephfs)
      Set the cephfs property value
      Parameters:
      cephfs - property value to set
    • cephfs

      public V1Volume cephfs(V1CephFSVolumeSource cephfs)
      Set cephfs in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getCinder

      public V1CinderVolumeSource getCinder()
      Returns:
      the cinder property value
    • setCinder

      public void setCinder(V1CinderVolumeSource cinder)
      Set the cinder property value
      Parameters:
      cinder - property value to set
    • cinder

      public V1Volume cinder(V1CinderVolumeSource cinder)
      Set cinder in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getConfigMap

      public V1ConfigMapVolumeSource getConfigMap()
      Returns:
      the configMap property value
    • setConfigMap

      public void setConfigMap(V1ConfigMapVolumeSource configMap)
      Set the configMap property value
      Parameters:
      configMap - property value to set
    • configMap

      public V1Volume configMap(V1ConfigMapVolumeSource configMap)
      Set configMap in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getCsi

      public V1CSIVolumeSource getCsi()
      Returns:
      the csi property value
    • setCsi

      public void setCsi(V1CSIVolumeSource csi)
      Set the csi property value
      Parameters:
      csi - property value to set
    • csi

      public V1Volume csi(V1CSIVolumeSource csi)
      Set csi in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getDownwardAPI

      public V1DownwardAPIVolumeSource getDownwardAPI()
      Returns:
      the downwardAPI property value
    • setDownwardAPI

      public void setDownwardAPI(V1DownwardAPIVolumeSource downwardAPI)
      Set the downwardAPI property value
      Parameters:
      downwardAPI - property value to set
    • downwardAPI

      public V1Volume downwardAPI(V1DownwardAPIVolumeSource downwardAPI)
      Set downwardAPI in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getEmptyDir

      public V1EmptyDirVolumeSource getEmptyDir()
      Returns:
      the emptyDir property value
    • setEmptyDir

      public void setEmptyDir(V1EmptyDirVolumeSource emptyDir)
      Set the emptyDir property value
      Parameters:
      emptyDir - property value to set
    • emptyDir

      public V1Volume emptyDir(V1EmptyDirVolumeSource emptyDir)
      Set emptyDir in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getEphemeral

      public V1EphemeralVolumeSource getEphemeral()
      Returns:
      the ephemeral property value
    • setEphemeral

      public void setEphemeral(V1EphemeralVolumeSource ephemeral)
      Set the ephemeral property value
      Parameters:
      ephemeral - property value to set
    • ephemeral

      public V1Volume ephemeral(V1EphemeralVolumeSource ephemeral)
      Set ephemeral in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getFc

      public V1FCVolumeSource getFc()
      Returns:
      the fc property value
    • setFc

      public void setFc(V1FCVolumeSource fc)
      Set the fc property value
      Parameters:
      fc - property value to set
    • fc

      public V1Volume fc(V1FCVolumeSource fc)
      Set fc in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getFlexVolume

      public V1FlexVolumeSource getFlexVolume()
      Returns:
      the flexVolume property value
    • setFlexVolume

      public void setFlexVolume(V1FlexVolumeSource flexVolume)
      Set the flexVolume property value
      Parameters:
      flexVolume - property value to set
    • flexVolume

      public V1Volume flexVolume(V1FlexVolumeSource flexVolume)
      Set flexVolume in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getFlocker

      public V1FlockerVolumeSource getFlocker()
      Returns:
      the flocker property value
    • setFlocker

      public void setFlocker(V1FlockerVolumeSource flocker)
      Set the flocker property value
      Parameters:
      flocker - property value to set
    • flocker

      public V1Volume flocker(V1FlockerVolumeSource flocker)
      Set flocker in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getGcePersistentDisk

      public V1GCEPersistentDiskVolumeSource getGcePersistentDisk()
      Returns:
      the gcePersistentDisk property value
    • setGcePersistentDisk

      public void setGcePersistentDisk(V1GCEPersistentDiskVolumeSource gcePersistentDisk)
      Set the gcePersistentDisk property value
      Parameters:
      gcePersistentDisk - property value to set
    • gcePersistentDisk

      public V1Volume gcePersistentDisk(V1GCEPersistentDiskVolumeSource gcePersistentDisk)
      Set gcePersistentDisk in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getGitRepo

      public V1GitRepoVolumeSource getGitRepo()
      Returns:
      the gitRepo property value
    • setGitRepo

      public void setGitRepo(V1GitRepoVolumeSource gitRepo)
      Set the gitRepo property value
      Parameters:
      gitRepo - property value to set
    • gitRepo

      public V1Volume gitRepo(V1GitRepoVolumeSource gitRepo)
      Set gitRepo in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getGlusterfs

      public V1GlusterfsVolumeSource getGlusterfs()
      Returns:
      the glusterfs property value
    • setGlusterfs

      public void setGlusterfs(V1GlusterfsVolumeSource glusterfs)
      Set the glusterfs property value
      Parameters:
      glusterfs - property value to set
    • glusterfs

      public V1Volume glusterfs(V1GlusterfsVolumeSource glusterfs)
      Set glusterfs in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getHostPath

      public V1HostPathVolumeSource getHostPath()
      Returns:
      the hostPath property value
    • setHostPath

      public void setHostPath(V1HostPathVolumeSource hostPath)
      Set the hostPath property value
      Parameters:
      hostPath - property value to set
    • hostPath

      public V1Volume hostPath(V1HostPathVolumeSource hostPath)
      Set hostPath in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getIscsi

      public V1ISCSIVolumeSource getIscsi()
      Returns:
      the iscsi property value
    • setIscsi

      public void setIscsi(V1ISCSIVolumeSource iscsi)
      Set the iscsi property value
      Parameters:
      iscsi - property value to set
    • iscsi

      public V1Volume iscsi(V1ISCSIVolumeSource iscsi)
      Set iscsi in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getNfs

      public V1NFSVolumeSource getNfs()
      Returns:
      the nfs property value
    • setNfs

      public void setNfs(V1NFSVolumeSource nfs)
      Set the nfs property value
      Parameters:
      nfs - property value to set
    • nfs

      public V1Volume nfs(V1NFSVolumeSource nfs)
      Set nfs in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getPersistentVolumeClaim

      public V1PersistentVolumeClaimVolumeSource getPersistentVolumeClaim()
      Returns:
      the persistentVolumeClaim property value
    • setPersistentVolumeClaim

      public void setPersistentVolumeClaim(V1PersistentVolumeClaimVolumeSource persistentVolumeClaim)
      Set the persistentVolumeClaim property value
      Parameters:
      persistentVolumeClaim - property value to set
    • persistentVolumeClaim

      public V1Volume persistentVolumeClaim(V1PersistentVolumeClaimVolumeSource persistentVolumeClaim)
      Set persistentVolumeClaim in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getPhotonPersistentDisk

      public V1PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
      Returns:
      the photonPersistentDisk property value
    • setPhotonPersistentDisk

      public void setPhotonPersistentDisk(V1PhotonPersistentDiskVolumeSource photonPersistentDisk)
      Set the photonPersistentDisk property value
      Parameters:
      photonPersistentDisk - property value to set
    • photonPersistentDisk

      public V1Volume photonPersistentDisk(V1PhotonPersistentDiskVolumeSource photonPersistentDisk)
      Set photonPersistentDisk in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getPortworxVolume

      public V1PortworxVolumeSource getPortworxVolume()
      Returns:
      the portworxVolume property value
    • setPortworxVolume

      public void setPortworxVolume(V1PortworxVolumeSource portworxVolume)
      Set the portworxVolume property value
      Parameters:
      portworxVolume - property value to set
    • portworxVolume

      public V1Volume portworxVolume(V1PortworxVolumeSource portworxVolume)
      Set portworxVolume in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getProjected

      public V1ProjectedVolumeSource getProjected()
      Returns:
      the projected property value
    • setProjected

      public void setProjected(V1ProjectedVolumeSource projected)
      Set the projected property value
      Parameters:
      projected - property value to set
    • projected

      public V1Volume projected(V1ProjectedVolumeSource projected)
      Set projected in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getQuobyte

      public V1QuobyteVolumeSource getQuobyte()
      Returns:
      the quobyte property value
    • setQuobyte

      public void setQuobyte(V1QuobyteVolumeSource quobyte)
      Set the quobyte property value
      Parameters:
      quobyte - property value to set
    • quobyte

      public V1Volume quobyte(V1QuobyteVolumeSource quobyte)
      Set quobyte in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getRbd

      public V1RBDVolumeSource getRbd()
      Returns:
      the rbd property value
    • setRbd

      public void setRbd(V1RBDVolumeSource rbd)
      Set the rbd property value
      Parameters:
      rbd - property value to set
    • rbd

      public V1Volume rbd(V1RBDVolumeSource rbd)
      Set rbd in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getScaleIO

      public V1ScaleIOVolumeSource getScaleIO()
      Returns:
      the scaleIO property value
    • setScaleIO

      public void setScaleIO(V1ScaleIOVolumeSource scaleIO)
      Set the scaleIO property value
      Parameters:
      scaleIO - property value to set
    • scaleIO

      public V1Volume scaleIO(V1ScaleIOVolumeSource scaleIO)
      Set scaleIO in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getSecret

      public V1SecretVolumeSource getSecret()
      Returns:
      the secret property value
    • setSecret

      public void setSecret(V1SecretVolumeSource secret)
      Set the secret property value
      Parameters:
      secret - property value to set
    • secret

      public V1Volume secret(V1SecretVolumeSource secret)
      Set secret in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getStorageos

      public V1StorageOSVolumeSource getStorageos()
      Returns:
      the storageos property value
    • setStorageos

      public void setStorageos(V1StorageOSVolumeSource storageos)
      Set the storageos property value
      Parameters:
      storageos - property value to set
    • storageos

      public V1Volume storageos(V1StorageOSVolumeSource storageos)
      Set storageos in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • getVsphereVolume

      public V1VsphereVirtualDiskVolumeSource getVsphereVolume()
      Returns:
      the vsphereVolume property value
    • setVsphereVolume

      public void setVsphereVolume(V1VsphereVirtualDiskVolumeSource vsphereVolume)
      Set the vsphereVolume property value
      Parameters:
      vsphereVolume - property value to set
    • vsphereVolume

      public V1Volume vsphereVolume(V1VsphereVirtualDiskVolumeSource vsphereVolume)
      Set vsphereVolume in a chainable fashion.
      Returns:
      The same instance of V1Volume for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object