Class PersistentVolumeSpec.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.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.plus25.k8s.PersistentVolumeSpec
PersistentVolumeSpec.Builder, PersistentVolumeSpec.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PersistentVolumeSpec.Builder builder)Constructor that initializes the object based on literal property values passed by thePersistentVolumeSpec.Builder.protectedJsii$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()booleanequals(Object o)List<String>getAccessModes()accessModes contains all ways the volume can be mounted.AwsElasticBlockStoreVolumeSourcegetAwsElasticBlockStore()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.AzureDiskVolumeSourcegetAzureDisk()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.AzureFilePersistentVolumeSourcegetAzureFile()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.CephFsPersistentVolumeSourcegetCephfs()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.CinderPersistentVolumeSourcegetCinder()cinder represents a cinder volume attached and mounted on kubelets host machine.ObjectReferencegetClaimRef()claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.CsiPersistentVolumeSourcegetCsi()csi represents storage that is handled by an external CSI driver (Beta feature).FcVolumeSourcegetFc()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.FlexPersistentVolumeSourcegetFlexVolume()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.FlockerVolumeSourcegetFlocker()flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.GcePersistentDiskVolumeSourcegetGcePersistentDisk()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.GlusterfsPersistentVolumeSourcegetGlusterfs()glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod.HostPathVolumeSourcegetHostPath()hostPath represents a directory on the host.IscsiPersistentVolumeSourcegetIscsi()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.LocalVolumeSourcegetLocal()local represents directly-attached storage with node affinity.List<String>getMountOptions()mountOptions is the list of mount options, e.g.NfsVolumeSourcegetNfs()nfs represents an NFS mount on the host.VolumeNodeAffinitygetNodeAffinity()nodeAffinity defines constraints that limit what nodes this volume can be accessed from.StringgetPersistentVolumeReclaimPolicy()persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim.PhotonPersistentDiskVolumeSourcegetPhotonPersistentDisk()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.PortworxVolumeSourcegetPortworxVolume()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.QuobyteVolumeSourcegetQuobyte()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.RbdPersistentVolumeSourcegetRbd()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.ScaleIoPersistentVolumeSourcegetScaleIo()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.StringgetStorageClassName()storageClassName is the name of StorageClass to which this persistent volume belongs.StorageOsPersistentVolumeSourcegetStorageos()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.StringgetVolumeMode()volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.VsphereVirtualDiskVolumeSourcegetVsphereVolume()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.inthashCode()
-
-
-
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:PersistentVolumeSpecaccessModes contains all ways the volume can be mounted.More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
- Specified by:
getAccessModesin interfacePersistentVolumeSpec
-
getAwsElasticBlockStore
public final AwsElasticBlockStoreVolumeSource getAwsElasticBlockStore()
Description copied from interface:PersistentVolumeSpecawsElasticBlockStore 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:
getAwsElasticBlockStorein interfacePersistentVolumeSpec
-
getAzureDisk
public final AzureDiskVolumeSource getAzureDisk()
Description copied from interface:PersistentVolumeSpecazureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.- Specified by:
getAzureDiskin interfacePersistentVolumeSpec
-
getAzureFile
public final AzureFilePersistentVolumeSource getAzureFile()
Description copied from interface:PersistentVolumeSpecazureFile represents an Azure File Service mount on the host and bind mount to the pod.- Specified by:
getAzureFilein interfacePersistentVolumeSpec
-
getCapacity
public final Map<String,Quantity> getCapacity()
Description copied from interface:PersistentVolumeSpeccapacity is the description of the persistent volume's resources and capacity.More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
- Specified by:
getCapacityin interfacePersistentVolumeSpec
-
getCephfs
public final CephFsPersistentVolumeSource getCephfs()
Description copied from interface:PersistentVolumeSpeccephFS represents a Ceph FS mount on the host that shares a pod's lifetime.- Specified by:
getCephfsin interfacePersistentVolumeSpec
-
getCinder
public final CinderPersistentVolumeSource getCinder()
Description copied from interface:PersistentVolumeSpeccinder represents a cinder volume attached and mounted on kubelets host machine.More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- Specified by:
getCinderin interfacePersistentVolumeSpec
-
getClaimRef
public final ObjectReference getClaimRef()
Description copied from interface:PersistentVolumeSpecclaimRef 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:
getClaimRefin interfacePersistentVolumeSpec
-
getCsi
public final CsiPersistentVolumeSource getCsi()
Description copied from interface:PersistentVolumeSpeccsi represents storage that is handled by an external CSI driver (Beta feature).- Specified by:
getCsiin interfacePersistentVolumeSpec
-
getFc
public final FcVolumeSource getFc()
Description copied from interface:PersistentVolumeSpecfc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.- Specified by:
getFcin interfacePersistentVolumeSpec
-
getFlexVolume
public final FlexPersistentVolumeSource getFlexVolume()
Description copied from interface:PersistentVolumeSpecflexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.- Specified by:
getFlexVolumein interfacePersistentVolumeSpec
-
getFlocker
public final FlockerVolumeSource getFlocker()
Description copied from interface:PersistentVolumeSpecflocker 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:
getFlockerin interfacePersistentVolumeSpec
-
getGcePersistentDisk
public final GcePersistentDiskVolumeSource getGcePersistentDisk()
Description copied from interface:PersistentVolumeSpecgcePersistentDisk 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:
getGcePersistentDiskin interfacePersistentVolumeSpec
-
getGlusterfs
public final GlusterfsPersistentVolumeSource getGlusterfs()
Description copied from interface:PersistentVolumeSpecglusterfs 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:
getGlusterfsin interfacePersistentVolumeSpec
-
getHostPath
public final HostPathVolumeSource getHostPath()
Description copied from interface:PersistentVolumeSpechostPath 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:
getHostPathin interfacePersistentVolumeSpec
-
getIscsi
public final IscsiPersistentVolumeSource getIscsi()
Description copied from interface:PersistentVolumeSpeciscsi 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:
getIscsiin interfacePersistentVolumeSpec
-
getLocal
public final LocalVolumeSource getLocal()
Description copied from interface:PersistentVolumeSpeclocal represents directly-attached storage with node affinity.- Specified by:
getLocalin interfacePersistentVolumeSpec
-
getMountOptions
public final List<String> getMountOptions()
Description copied from interface:PersistentVolumeSpecmountOptions 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:
getMountOptionsin interfacePersistentVolumeSpec
-
getNfs
public final NfsVolumeSource getNfs()
Description copied from interface:PersistentVolumeSpecnfs represents an NFS mount on the host.Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- Specified by:
getNfsin interfacePersistentVolumeSpec
-
getNodeAffinity
public final VolumeNodeAffinity getNodeAffinity()
Description copied from interface:PersistentVolumeSpecnodeAffinity 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:
getNodeAffinityin interfacePersistentVolumeSpec
-
getPersistentVolumeReclaimPolicy
public final String getPersistentVolumeReclaimPolicy()
Description copied from interface:PersistentVolumeSpecpersistentVolumeReclaimPolicy 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:
getPersistentVolumeReclaimPolicyin interfacePersistentVolumeSpec
-
getPhotonPersistentDisk
public final PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
Description copied from interface:PersistentVolumeSpecphotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.- Specified by:
getPhotonPersistentDiskin interfacePersistentVolumeSpec
-
getPortworxVolume
public final PortworxVolumeSource getPortworxVolume()
Description copied from interface:PersistentVolumeSpecportworxVolume represents a portworx volume attached and mounted on kubelets host machine.- Specified by:
getPortworxVolumein interfacePersistentVolumeSpec
-
getQuobyte
public final QuobyteVolumeSource getQuobyte()
Description copied from interface:PersistentVolumeSpecquobyte represents a Quobyte mount on the host that shares a pod's lifetime.- Specified by:
getQuobytein interfacePersistentVolumeSpec
-
getRbd
public final RbdPersistentVolumeSource getRbd()
Description copied from interface:PersistentVolumeSpecrbd 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:
getRbdin interfacePersistentVolumeSpec
-
getScaleIo
public final ScaleIoPersistentVolumeSource getScaleIo()
Description copied from interface:PersistentVolumeSpecscaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.- Specified by:
getScaleIoin interfacePersistentVolumeSpec
-
getStorageClassName
public final String getStorageClassName()
Description copied from interface:PersistentVolumeSpecstorageClassName 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:
getStorageClassNamein interfacePersistentVolumeSpec
-
getStorageos
public final StorageOsPersistentVolumeSource getStorageos()
Description copied from interface:PersistentVolumeSpecstorageOS 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:
getStorageosin interfacePersistentVolumeSpec
-
getVolumeMode
public final String getVolumeMode()
Description copied from interface:PersistentVolumeSpecvolumeMode 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:
getVolumeModein interfacePersistentVolumeSpec
-
getVsphereVolume
public final VsphereVirtualDiskVolumeSource getVsphereVolume()
Description copied from interface:PersistentVolumeSpecvsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.- Specified by:
getVsphereVolumein interfacePersistentVolumeSpec
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-