Class V1Volume
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 Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionawsElasticBlockStore
(V1AWSElasticBlockStoreVolumeSource awsElasticBlockStore) Set awsElasticBlockStore in a chainable fashion.azureDisk
(V1AzureDiskVolumeSource azureDisk) Set azureDisk in a chainable fashion.azureFile
(V1AzureFileVolumeSource azureFile) Set azureFile in a chainable fashion.cephfs
(V1CephFSVolumeSource cephfs) Set cephfs in a chainable fashion.cinder
(V1CinderVolumeSource cinder) Set cinder in a chainable fashion.configMap
(V1ConfigMapVolumeSource configMap) Set configMap in a chainable fashion.csi
(V1CSIVolumeSource csi) Set csi in a chainable fashion.downwardAPI
(V1DownwardAPIVolumeSource downwardAPI) Set downwardAPI in a chainable fashion.emptyDir
(V1EmptyDirVolumeSource emptyDir) Set emptyDir in a chainable fashion.ephemeral
(V1EphemeralVolumeSource ephemeral) Set ephemeral in a chainable fashion.boolean
fc
(V1FCVolumeSource fc) Set fc in a chainable fashion.flexVolume
(V1FlexVolumeSource flexVolume) Set flexVolume in a chainable fashion.flocker
(V1FlockerVolumeSource flocker) Set flocker in a chainable fashion.gcePersistentDisk
(V1GCEPersistentDiskVolumeSource gcePersistentDisk) Set gcePersistentDisk in a chainable fashion.getCsi()
getFc()
getIscsi()
getName()
name of the volume.getNfs()
getRbd()
gitRepo
(V1GitRepoVolumeSource gitRepo) Set gitRepo in a chainable fashion.glusterfs
(V1GlusterfsVolumeSource glusterfs) Set glusterfs in a chainable fashion.int
hashCode()
hostPath
(V1HostPathVolumeSource hostPath) Set hostPath in a chainable fashion.iscsi
(V1ISCSIVolumeSource iscsi) Set iscsi in a chainable fashion.Set name in a chainable fashion.nfs
(V1NFSVolumeSource nfs) Set nfs in a chainable fashion.persistentVolumeClaim
(V1PersistentVolumeClaimVolumeSource persistentVolumeClaim) Set persistentVolumeClaim in a chainable fashion.photonPersistentDisk
(V1PhotonPersistentDiskVolumeSource photonPersistentDisk) Set photonPersistentDisk in a chainable fashion.portworxVolume
(V1PortworxVolumeSource portworxVolume) Set portworxVolume in a chainable fashion.projected
(V1ProjectedVolumeSource projected) Set projected in a chainable fashion.quobyte
(V1QuobyteVolumeSource quobyte) Set quobyte in a chainable fashion.rbd
(V1RBDVolumeSource rbd) Set rbd in a chainable fashion.scaleIO
(V1ScaleIOVolumeSource scaleIO) Set scaleIO in a chainable fashion.secret
(V1SecretVolumeSource secret) Set secret in a chainable fashion.void
setAwsElasticBlockStore
(V1AWSElasticBlockStoreVolumeSource awsElasticBlockStore) Set the awsElasticBlockStore property valuevoid
setAzureDisk
(V1AzureDiskVolumeSource azureDisk) Set the azureDisk property valuevoid
setAzureFile
(V1AzureFileVolumeSource azureFile) Set the azureFile property valuevoid
setCephfs
(V1CephFSVolumeSource cephfs) Set the cephfs property valuevoid
setCinder
(V1CinderVolumeSource cinder) Set the cinder property valuevoid
setConfigMap
(V1ConfigMapVolumeSource configMap) Set the configMap property valuevoid
setCsi
(V1CSIVolumeSource csi) Set the csi property valuevoid
setDownwardAPI
(V1DownwardAPIVolumeSource downwardAPI) Set the downwardAPI property valuevoid
setEmptyDir
(V1EmptyDirVolumeSource emptyDir) Set the emptyDir property valuevoid
setEphemeral
(V1EphemeralVolumeSource ephemeral) Set the ephemeral property valuevoid
Set the fc property valuevoid
setFlexVolume
(V1FlexVolumeSource flexVolume) Set the flexVolume property valuevoid
setFlocker
(V1FlockerVolumeSource flocker) Set the flocker property valuevoid
setGcePersistentDisk
(V1GCEPersistentDiskVolumeSource gcePersistentDisk) Set the gcePersistentDisk property valuevoid
setGitRepo
(V1GitRepoVolumeSource gitRepo) Set the gitRepo property valuevoid
setGlusterfs
(V1GlusterfsVolumeSource glusterfs) Set the glusterfs property valuevoid
setHostPath
(V1HostPathVolumeSource hostPath) Set the hostPath property valuevoid
setIscsi
(V1ISCSIVolumeSource iscsi) Set the iscsi property valuevoid
Set the name property valuevoid
setNfs
(V1NFSVolumeSource nfs) Set the nfs property valuevoid
setPersistentVolumeClaim
(V1PersistentVolumeClaimVolumeSource persistentVolumeClaim) Set the persistentVolumeClaim property valuevoid
setPhotonPersistentDisk
(V1PhotonPersistentDiskVolumeSource photonPersistentDisk) Set the photonPersistentDisk property valuevoid
setPortworxVolume
(V1PortworxVolumeSource portworxVolume) Set the portworxVolume property valuevoid
setProjected
(V1ProjectedVolumeSource projected) Set the projected property valuevoid
setQuobyte
(V1QuobyteVolumeSource quobyte) Set the quobyte property valuevoid
setRbd
(V1RBDVolumeSource rbd) Set the rbd property valuevoid
setScaleIO
(V1ScaleIOVolumeSource scaleIO) Set the scaleIO property valuevoid
setSecret
(V1SecretVolumeSource secret) Set the secret property valuevoid
setStorageos
(V1StorageOSVolumeSource storageos) Set the storageos property valuevoid
setVsphereVolume
(V1VsphereVirtualDiskVolumeSource vsphereVolume) Set the vsphereVolume property valuestorageos
(V1StorageOSVolumeSource storageos) Set storageos in a chainable fashion.toString()
vsphereVolume
(V1VsphereVirtualDiskVolumeSource vsphereVolume) Set vsphereVolume in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_AWS_ELASTIC_BLOCK_STORE
- See Also:
-
JSON_PROPERTY_AZURE_DISK
- See Also:
-
JSON_PROPERTY_AZURE_FILE
- See Also:
-
JSON_PROPERTY_CEPHFS
- See Also:
-
JSON_PROPERTY_CINDER
- See Also:
-
JSON_PROPERTY_CONFIG_MAP
- See Also:
-
JSON_PROPERTY_CSI
- See Also:
-
JSON_PROPERTY_DOWNWARD_A_P_I
- See Also:
-
JSON_PROPERTY_EMPTY_DIR
- See Also:
-
JSON_PROPERTY_EPHEMERAL
- See Also:
-
JSON_PROPERTY_FC
- See Also:
-
JSON_PROPERTY_FLEX_VOLUME
- See Also:
-
JSON_PROPERTY_FLOCKER
- See Also:
-
JSON_PROPERTY_GCE_PERSISTENT_DISK
- See Also:
-
JSON_PROPERTY_GIT_REPO
- See Also:
-
JSON_PROPERTY_GLUSTERFS
- See Also:
-
JSON_PROPERTY_HOST_PATH
- See Also:
-
JSON_PROPERTY_ISCSI
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NFS
- See Also:
-
JSON_PROPERTY_PERSISTENT_VOLUME_CLAIM
- See Also:
-
JSON_PROPERTY_PHOTON_PERSISTENT_DISK
- See Also:
-
JSON_PROPERTY_PORTWORX_VOLUME
- See Also:
-
JSON_PROPERTY_PROJECTED
- See Also:
-
JSON_PROPERTY_QUOBYTE
- See Also:
-
JSON_PROPERTY_RBD
- See Also:
-
JSON_PROPERTY_SCALE_I_O
- See Also:
-
JSON_PROPERTY_SECRET
- See Also:
-
JSON_PROPERTY_STORAGEOS
- See Also:
-
JSON_PROPERTY_VSPHERE_VOLUME
- See Also:
-
-
Constructor Details
-
V1Volume
-
-
Method Details
-
getAwsElasticBlockStore
- Returns:
- the awsElasticBlockStore property value
-
setAwsElasticBlockStore
Set the awsElasticBlockStore property value -
awsElasticBlockStore
Set awsElasticBlockStore in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getAzureDisk
- Returns:
- the azureDisk property value
-
setAzureDisk
Set the azureDisk property value -
azureDisk
Set azureDisk in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getAzureFile
- Returns:
- the azureFile property value
-
setAzureFile
Set the azureFile property value -
azureFile
Set azureFile in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getCephfs
- Returns:
- the cephfs property value
-
setCephfs
Set the cephfs property value -
cephfs
Set cephfs in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getCinder
- Returns:
- the cinder property value
-
setCinder
Set the cinder property value -
cinder
Set cinder in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getConfigMap
- Returns:
- the configMap property value
-
setConfigMap
Set the configMap property value -
configMap
Set configMap in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getCsi
- Returns:
- the csi property value
-
setCsi
Set the csi property value -
csi
Set csi in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getDownwardAPI
- Returns:
- the downwardAPI property value
-
setDownwardAPI
Set the downwardAPI property value -
downwardAPI
Set downwardAPI in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getEmptyDir
- Returns:
- the emptyDir property value
-
setEmptyDir
Set the emptyDir property value -
emptyDir
Set emptyDir in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getEphemeral
- Returns:
- the ephemeral property value
-
setEphemeral
Set the ephemeral property value -
ephemeral
Set ephemeral in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getFc
- Returns:
- the fc property value
-
setFc
Set the fc property value -
fc
Set fc in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getFlexVolume
- Returns:
- the flexVolume property value
-
setFlexVolume
Set the flexVolume property value -
flexVolume
Set flexVolume in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getFlocker
- Returns:
- the flocker property value
-
setFlocker
Set the flocker property value -
flocker
Set flocker in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getGcePersistentDisk
- Returns:
- the gcePersistentDisk property value
-
setGcePersistentDisk
Set the gcePersistentDisk property value -
gcePersistentDisk
Set gcePersistentDisk in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getGitRepo
- Returns:
- the gitRepo property value
-
setGitRepo
Set the gitRepo property value -
gitRepo
Set gitRepo in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getGlusterfs
- Returns:
- the glusterfs property value
-
setGlusterfs
Set the glusterfs property value -
glusterfs
Set glusterfs in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getHostPath
- Returns:
- the hostPath property value
-
setHostPath
Set the hostPath property value -
hostPath
Set hostPath in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getIscsi
- Returns:
- the iscsi property value
-
setIscsi
Set the iscsi property value -
iscsi
Set iscsi in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
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
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getNfs
- Returns:
- the nfs property value
-
setNfs
Set the nfs property value -
nfs
Set nfs in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getPersistentVolumeClaim
- Returns:
- the persistentVolumeClaim property value
-
setPersistentVolumeClaim
Set the persistentVolumeClaim property value -
persistentVolumeClaim
Set persistentVolumeClaim in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getPhotonPersistentDisk
- Returns:
- the photonPersistentDisk property value
-
setPhotonPersistentDisk
Set the photonPersistentDisk property value -
photonPersistentDisk
Set photonPersistentDisk in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getPortworxVolume
- Returns:
- the portworxVolume property value
-
setPortworxVolume
Set the portworxVolume property value -
portworxVolume
Set portworxVolume in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getProjected
- Returns:
- the projected property value
-
setProjected
Set the projected property value -
projected
Set projected in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getQuobyte
- Returns:
- the quobyte property value
-
setQuobyte
Set the quobyte property value -
quobyte
Set quobyte in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getRbd
- Returns:
- the rbd property value
-
setRbd
Set the rbd property value -
rbd
Set rbd in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getScaleIO
- Returns:
- the scaleIO property value
-
setScaleIO
Set the scaleIO property value -
scaleIO
Set scaleIO in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getSecret
- Returns:
- the secret property value
-
setSecret
Set the secret property value -
secret
Set secret in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getStorageos
- Returns:
- the storageos property value
-
setStorageos
Set the storageos property value -
storageos
Set storageos in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
getVsphereVolume
- Returns:
- the vsphereVolume property value
-
setVsphereVolume
Set the vsphereVolume property value -
vsphereVolume
Set vsphereVolume in a chainable fashion.- Returns:
- The same instance of V1Volume for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-