Class PersistentVolumeSpec.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.PersistentVolumeSpec.Jsii$Proxy
-
- All Implemented Interfaces:
PersistentVolumeSpec
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PersistentVolumeSpec
@Stability(Stable) @Internal public static final class PersistentVolumeSpec.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PersistentVolumeSpec
An implementation forPersistentVolumeSpec
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.k8s.PersistentVolumeSpec
PersistentVolumeSpec.Builder, PersistentVolumeSpec.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(PersistentVolumeSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by thePersistentVolumeSpec.Builder
.protected
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
$jsii$toJson()
boolean
equals(Object o)
List<String>
getAccessModes()
accessModes contains all ways the volume can be mounted.AwsElasticBlockStoreVolumeSource
getAwsElasticBlockStore()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.AzureDiskVolumeSource
getAzureDisk()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.AzureFilePersistentVolumeSource
getAzureFile()
azureFile represents an Azure File Service mount on the host and bind mount to the pod.Map<String,Quantity>
getCapacity()
capacity is the description of the persistent volume's resources and capacity.CephFsPersistentVolumeSource
getCephfs()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.CinderPersistentVolumeSource
getCinder()
cinder represents a cinder volume attached and mounted on kubelets host machine.ObjectReference
getClaimRef()
claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.CsiPersistentVolumeSource
getCsi()
csi represents storage that is handled by an external CSI driver (Beta feature).FcVolumeSource
getFc()
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.FlexPersistentVolumeSource
getFlexVolume()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.FlockerVolumeSource
getFlocker()
flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.GcePersistentDiskVolumeSource
getGcePersistentDisk()
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.GlusterfsPersistentVolumeSource
getGlusterfs()
glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod.HostPathVolumeSource
getHostPath()
hostPath represents a directory on the host.IscsiPersistentVolumeSource
getIscsi()
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.LocalVolumeSource
getLocal()
local represents directly-attached storage with node affinity.List<String>
getMountOptions()
mountOptions is the list of mount options, e.g.NfsVolumeSource
getNfs()
nfs represents an NFS mount on the host.VolumeNodeAffinity
getNodeAffinity()
nodeAffinity defines constraints that limit what nodes this volume can be accessed from.String
getPersistentVolumeReclaimPolicy()
persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim.PhotonPersistentDiskVolumeSource
getPhotonPersistentDisk()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.PortworxVolumeSource
getPortworxVolume()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine.QuobyteVolumeSource
getQuobyte()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime.RbdPersistentVolumeSource
getRbd()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.ScaleIoPersistentVolumeSource
getScaleIo()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.String
getStorageClassName()
storageClassName is the name of StorageClass to which this persistent volume belongs.StorageOsPersistentVolumeSource
getStorageos()
storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md.String
getVolumeMode()
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.VsphereVirtualDiskVolumeSource
getVsphereVolume()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.int
hashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(PersistentVolumeSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by thePersistentVolumeSpec.Builder
.
-
-
Method Detail
-
getAccessModes
public final List<String> getAccessModes()
Description copied from interface:PersistentVolumeSpec
accessModes contains all ways the volume can be mounted.More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
- Specified by:
getAccessModes
in interfacePersistentVolumeSpec
-
getAwsElasticBlockStore
public final AwsElasticBlockStoreVolumeSource getAwsElasticBlockStore()
Description copied from interface:PersistentVolumeSpec
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- Specified by:
getAwsElasticBlockStore
in interfacePersistentVolumeSpec
-
getAzureDisk
public final AzureDiskVolumeSource getAzureDisk()
Description copied from interface:PersistentVolumeSpec
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.- Specified by:
getAzureDisk
in interfacePersistentVolumeSpec
-
getAzureFile
public final AzureFilePersistentVolumeSource getAzureFile()
Description copied from interface:PersistentVolumeSpec
azureFile represents an Azure File Service mount on the host and bind mount to the pod.- Specified by:
getAzureFile
in interfacePersistentVolumeSpec
-
getCapacity
public final Map<String,Quantity> getCapacity()
Description copied from interface:PersistentVolumeSpec
capacity is the description of the persistent volume's resources and capacity.More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
- Specified by:
getCapacity
in interfacePersistentVolumeSpec
-
getCephfs
public final CephFsPersistentVolumeSource getCephfs()
Description copied from interface:PersistentVolumeSpec
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.- Specified by:
getCephfs
in interfacePersistentVolumeSpec
-
getCinder
public final CinderPersistentVolumeSource getCinder()
Description copied from interface:PersistentVolumeSpec
cinder represents a cinder volume attached and mounted on kubelets host machine.More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- Specified by:
getCinder
in interfacePersistentVolumeSpec
-
getClaimRef
public final ObjectReference getClaimRef()
Description copied from interface:PersistentVolumeSpec
claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding
- Specified by:
getClaimRef
in interfacePersistentVolumeSpec
-
getCsi
public final CsiPersistentVolumeSource getCsi()
Description copied from interface:PersistentVolumeSpec
csi represents storage that is handled by an external CSI driver (Beta feature).- Specified by:
getCsi
in interfacePersistentVolumeSpec
-
getFc
public final FcVolumeSource getFc()
Description copied from interface:PersistentVolumeSpec
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.- Specified by:
getFc
in interfacePersistentVolumeSpec
-
getFlexVolume
public final FlexPersistentVolumeSource getFlexVolume()
Description copied from interface:PersistentVolumeSpec
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.- Specified by:
getFlexVolume
in interfacePersistentVolumeSpec
-
getFlocker
public final FlockerVolumeSource getFlocker()
Description copied from interface:PersistentVolumeSpec
flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.This depends on the Flocker control service being running
- Specified by:
getFlocker
in interfacePersistentVolumeSpec
-
getGcePersistentDisk
public final GcePersistentDiskVolumeSource getGcePersistentDisk()
Description copied from interface:PersistentVolumeSpec
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- Specified by:
getGcePersistentDisk
in interfacePersistentVolumeSpec
-
getGlusterfs
public final GlusterfsPersistentVolumeSource getGlusterfs()
Description copied from interface:PersistentVolumeSpec
glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod.Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md
- Specified by:
getGlusterfs
in interfacePersistentVolumeSpec
-
getHostPath
public final HostPathVolumeSource getHostPath()
Description copied from interface:PersistentVolumeSpec
hostPath represents a directory on the host.Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- Specified by:
getHostPath
in interfacePersistentVolumeSpec
-
getIscsi
public final IscsiPersistentVolumeSource getIscsi()
Description copied from interface:PersistentVolumeSpec
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Provisioned by an admin.
- Specified by:
getIscsi
in interfacePersistentVolumeSpec
-
getLocal
public final LocalVolumeSource getLocal()
Description copied from interface:PersistentVolumeSpec
local represents directly-attached storage with node affinity.- Specified by:
getLocal
in interfacePersistentVolumeSpec
-
getMountOptions
public final List<String> getMountOptions()
Description copied from interface:PersistentVolumeSpec
mountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options.- Specified by:
getMountOptions
in interfacePersistentVolumeSpec
-
getNfs
public final NfsVolumeSource getNfs()
Description copied from interface:PersistentVolumeSpec
nfs represents an NFS mount on the host.Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- Specified by:
getNfs
in interfacePersistentVolumeSpec
-
getNodeAffinity
public final VolumeNodeAffinity getNodeAffinity()
Description copied from interface:PersistentVolumeSpec
nodeAffinity defines constraints that limit what nodes this volume can be accessed from.This field influences the scheduling of pods that use this volume.
- Specified by:
getNodeAffinity
in interfacePersistentVolumeSpec
-
getPersistentVolumeReclaimPolicy
public final String getPersistentVolumeReclaimPolicy()
Description copied from interface:PersistentVolumeSpec
persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim.Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
- Specified by:
getPersistentVolumeReclaimPolicy
in interfacePersistentVolumeSpec
-
getPhotonPersistentDisk
public final PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
Description copied from interface:PersistentVolumeSpec
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.- Specified by:
getPhotonPersistentDisk
in interfacePersistentVolumeSpec
-
getPortworxVolume
public final PortworxVolumeSource getPortworxVolume()
Description copied from interface:PersistentVolumeSpec
portworxVolume represents a portworx volume attached and mounted on kubelets host machine.- Specified by:
getPortworxVolume
in interfacePersistentVolumeSpec
-
getQuobyte
public final QuobyteVolumeSource getQuobyte()
Description copied from interface:PersistentVolumeSpec
quobyte represents a Quobyte mount on the host that shares a pod's lifetime.- Specified by:
getQuobyte
in interfacePersistentVolumeSpec
-
getRbd
public final RbdPersistentVolumeSource getRbd()
Description copied from interface:PersistentVolumeSpec
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.More info: https://examples.k8s.io/volumes/rbd/README.md
- Specified by:
getRbd
in interfacePersistentVolumeSpec
-
getScaleIo
public final ScaleIoPersistentVolumeSource getScaleIo()
Description copied from interface:PersistentVolumeSpec
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.- Specified by:
getScaleIo
in interfacePersistentVolumeSpec
-
getStorageClassName
public final String getStorageClassName()
Description copied from interface:PersistentVolumeSpec
storageClassName is the name of StorageClass to which this persistent volume belongs.Empty value means that this volume does not belong to any StorageClass.
- Specified by:
getStorageClassName
in interfacePersistentVolumeSpec
-
getStorageos
public final StorageOsPersistentVolumeSource getStorageos()
Description copied from interface:PersistentVolumeSpec
storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md.- Specified by:
getStorageos
in interfacePersistentVolumeSpec
-
getVolumeMode
public final String getVolumeMode()
Description copied from interface:PersistentVolumeSpec
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.Value of Filesystem is implied when not included in spec.
- Specified by:
getVolumeMode
in interfacePersistentVolumeSpec
-
getVsphereVolume
public final VsphereVirtualDiskVolumeSource getVsphereVolume()
Description copied from interface:PersistentVolumeSpec
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.- Specified by:
getVsphereVolume
in interfacePersistentVolumeSpec
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-