Package org.cdk8s.plus24
Class AzureDiskPersistentVolumeProps.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.AzureDiskPersistentVolumeProps.Jsii$Proxy
-
- All Implemented Interfaces:
AzureDiskPersistentVolumeProps
,PersistentVolumeProps
,ResourceProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- AzureDiskPersistentVolumeProps
@Stability(Stable) @Internal public static final class AzureDiskPersistentVolumeProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AzureDiskPersistentVolumeProps
An implementation forAzureDiskPersistentVolumeProps
-
-
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.AzureDiskPersistentVolumeProps
AzureDiskPersistentVolumeProps.Builder, AzureDiskPersistentVolumeProps.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(AzureDiskPersistentVolumeProps.Builder builder)
Constructor that initializes the object based on literal property values passed by theAzureDiskPersistentVolumeProps.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<PersistentVolumeAccessMode>
getAccessModes()
Contains all ways the volume can be mounted.AzureDiskPersistentVolumeCachingMode
getCachingMode()
Host Caching mode.IPersistentVolumeClaim
getClaim()
Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.String
getDiskName()
The Name of the data disk in the blob storage.String
getDiskUri()
The URI the data disk in the blob storage.String
getFsType()
Filesystem type to mount.AzureDiskPersistentVolumeKind
getKind()
Kind of disk.org.cdk8s.ApiObjectMetadata
getMetadata()
Metadata that all persisted resources must have, which includes all objects users must create.List<String>
getMountOptions()
A list of mount options, e.g.Boolean
getReadOnly()
Force the ReadOnly setting in VolumeMounts.PersistentVolumeReclaimPolicy
getReclaimPolicy()
When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource.org.cdk8s.Size
getStorage()
What is the storage capacity of this volume.String
getStorageClassName()
Name of StorageClass to which this persistent volume belongs.PersistentVolumeMode
getVolumeMode()
Defines what type of volume is required by the claim.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(AzureDiskPersistentVolumeProps.Builder builder)
Constructor that initializes the object based on literal property values passed by theAzureDiskPersistentVolumeProps.Builder
.
-
-
Method Detail
-
getDiskName
public final String getDiskName()
Description copied from interface:AzureDiskPersistentVolumeProps
The Name of the data disk in the blob storage.- Specified by:
getDiskName
in interfaceAzureDiskPersistentVolumeProps
-
getDiskUri
public final String getDiskUri()
Description copied from interface:AzureDiskPersistentVolumeProps
The URI the data disk in the blob storage.- Specified by:
getDiskUri
in interfaceAzureDiskPersistentVolumeProps
-
getCachingMode
public final AzureDiskPersistentVolumeCachingMode getCachingMode()
Description copied from interface:AzureDiskPersistentVolumeProps
Host Caching mode.Default: - AzureDiskPersistentVolumeCachingMode.NONE.
- Specified by:
getCachingMode
in interfaceAzureDiskPersistentVolumeProps
-
getFsType
public final String getFsType()
Description copied from interface:AzureDiskPersistentVolumeProps
Filesystem type to mount.Must be a filesystem type supported by the host operating system.
Default: 'ext4'
- Specified by:
getFsType
in interfaceAzureDiskPersistentVolumeProps
-
getKind
public final AzureDiskPersistentVolumeKind getKind()
Description copied from interface:AzureDiskPersistentVolumeProps
Kind of disk.Default: AzureDiskPersistentVolumeKind.SHARED
- Specified by:
getKind
in interfaceAzureDiskPersistentVolumeProps
-
getReadOnly
public final Boolean getReadOnly()
Description copied from interface:AzureDiskPersistentVolumeProps
Force the ReadOnly setting in VolumeMounts.Default: false
- Specified by:
getReadOnly
in interfaceAzureDiskPersistentVolumeProps
-
getAccessModes
public final List<PersistentVolumeAccessMode> getAccessModes()
Description copied from interface:PersistentVolumeProps
Contains all ways the volume can be mounted.Default: - No access modes.
- Specified by:
getAccessModes
in interfacePersistentVolumeProps
- See Also:
- https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
-
getClaim
public final IPersistentVolumeClaim getClaim()
Description copied from interface:PersistentVolumeProps
Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.Expected to be non-nil when bound.
Default: - Not bound to a specific claim.
- Specified by:
getClaim
in interfacePersistentVolumeProps
- See Also:
- https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding
-
getMountOptions
public final List<String> getMountOptions()
Description copied from interface:PersistentVolumeProps
A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid.Default: - No options.
- Specified by:
getMountOptions
in interfacePersistentVolumeProps
- See Also:
- https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options
-
getReclaimPolicy
public final PersistentVolumeReclaimPolicy getReclaimPolicy()
Description copied from interface:PersistentVolumeProps
When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource.The reclaim policy tells the cluster what to do with the volume after it has been released of its claim.
Default: PersistentVolumeReclaimPolicy.RETAIN
- Specified by:
getReclaimPolicy
in interfacePersistentVolumeProps
- See Also:
- https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
-
getStorage
public final org.cdk8s.Size getStorage()
Description copied from interface:PersistentVolumeProps
What is the storage capacity of this volume.Default: - No specified.
- Specified by:
getStorage
in interfacePersistentVolumeProps
- See Also:
- https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
-
getStorageClassName
public final String getStorageClassName()
Description copied from interface:PersistentVolumeProps
Name of StorageClass to which this persistent volume belongs.Default: - Volume does not belong to any storage class.
- Specified by:
getStorageClassName
in interfacePersistentVolumeProps
-
getVolumeMode
public final PersistentVolumeMode getVolumeMode()
Description copied from interface:PersistentVolumeProps
Defines what type of volume is required by the claim.Default: VolumeMode.FILE_SYSTEM
- Specified by:
getVolumeMode
in interfacePersistentVolumeProps
-
getMetadata
public final org.cdk8s.ApiObjectMetadata getMetadata()
Description copied from interface:ResourceProps
Metadata that all persisted resources must have, which includes all objects users must create.- Specified by:
getMetadata
in interfaceResourceProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-