Class AwsElasticBlockStorePersistentVolumeProps.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.AwsElasticBlockStorePersistentVolumeProps.Jsii$Proxy
-
- All Implemented Interfaces:
AwsElasticBlockStorePersistentVolumeProps,PersistentVolumeProps,ResourceProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- AwsElasticBlockStorePersistentVolumeProps
@Stability(Stable) @Internal public static final class AwsElasticBlockStorePersistentVolumeProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AwsElasticBlockStorePersistentVolumeProps
An implementation forAwsElasticBlockStorePersistentVolumeProps
-
-
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.AwsElasticBlockStorePersistentVolumeProps
AwsElasticBlockStorePersistentVolumeProps.Builder, AwsElasticBlockStorePersistentVolumeProps.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(AwsElasticBlockStorePersistentVolumeProps.Builder builder)Constructor that initializes the object based on literal property values passed by theAwsElasticBlockStorePersistentVolumeProps.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<PersistentVolumeAccessMode>getAccessModes()Contains all ways the volume can be mounted.IPersistentVolumeClaimgetClaim()Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.StringgetFsType()Filesystem type of the volume that you want to mount.org.cdk8s.ApiObjectMetadatagetMetadata()Metadata that all persisted resources must have, which includes all objects users must create.List<String>getMountOptions()A list of mount options, e.g.NumbergetPartition()The partition in the volume that you want to mount.BooleangetReadOnly()Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".PersistentVolumeReclaimPolicygetReclaimPolicy()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.SizegetStorage()What is the storage capacity of this volume.StringgetStorageClassName()Name of StorageClass to which this persistent volume belongs.StringgetVolumeId()Unique ID of the persistent disk resource in AWS (Amazon EBS volume).PersistentVolumeModegetVolumeMode()Defines what type of volume is required by the claim.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(AwsElasticBlockStorePersistentVolumeProps.Builder builder)
Constructor that initializes the object based on literal property values passed by theAwsElasticBlockStorePersistentVolumeProps.Builder.
-
-
Method Detail
-
getVolumeId
public final String getVolumeId()
Description copied from interface:AwsElasticBlockStorePersistentVolumePropsUnique ID of the persistent disk resource in AWS (Amazon EBS volume).More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- Specified by:
getVolumeIdin interfaceAwsElasticBlockStorePersistentVolumeProps- See Also:
- https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
-
getFsType
public final String getFsType()
Description copied from interface:AwsElasticBlockStorePersistentVolumePropsFilesystem type of the volume that you want to mount.Tip: Ensure that the filesystem type is supported by the host operating system.
Default: 'ext4'
- Specified by:
getFsTypein interfaceAwsElasticBlockStorePersistentVolumeProps- See Also:
- https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
-
getPartition
public final Number getPartition()
Description copied from interface:AwsElasticBlockStorePersistentVolumePropsThe partition in the volume that you want to mount.If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
Default: - No partition.
- Specified by:
getPartitionin interfaceAwsElasticBlockStorePersistentVolumeProps
-
getReadOnly
public final Boolean getReadOnly()
Description copied from interface:AwsElasticBlockStorePersistentVolumePropsSpecify "true" to force and set the ReadOnly property in VolumeMounts to "true".Default: false
- Specified by:
getReadOnlyin interfaceAwsElasticBlockStorePersistentVolumeProps- See Also:
- https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
-
getAccessModes
public final List<PersistentVolumeAccessMode> getAccessModes()
Description copied from interface:PersistentVolumePropsContains all ways the volume can be mounted.Default: - No access modes.
- Specified by:
getAccessModesin interfacePersistentVolumeProps- See Also:
- https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
-
getClaim
public final IPersistentVolumeClaim getClaim()
Description copied from interface:PersistentVolumePropsPart 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:
getClaimin interfacePersistentVolumeProps- See Also:
- https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding
-
getMountOptions
public final List<String> getMountOptions()
Description copied from interface:PersistentVolumePropsA list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid.Default: - No options.
- Specified by:
getMountOptionsin interfacePersistentVolumeProps- See Also:
- https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options
-
getReclaimPolicy
public final PersistentVolumeReclaimPolicy getReclaimPolicy()
Description copied from interface:PersistentVolumePropsWhen 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:
getReclaimPolicyin interfacePersistentVolumeProps- See Also:
- https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
-
getStorage
public final org.cdk8s.Size getStorage()
Description copied from interface:PersistentVolumePropsWhat is the storage capacity of this volume.Default: - No specified.
- Specified by:
getStoragein interfacePersistentVolumeProps- See Also:
- https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
-
getStorageClassName
public final String getStorageClassName()
Description copied from interface:PersistentVolumePropsName of StorageClass to which this persistent volume belongs.Default: - Volume does not belong to any storage class.
- Specified by:
getStorageClassNamein interfacePersistentVolumeProps
-
getVolumeMode
public final PersistentVolumeMode getVolumeMode()
Description copied from interface:PersistentVolumePropsDefines what type of volume is required by the claim.Default: VolumeMode.FILE_SYSTEM
- Specified by:
getVolumeModein interfacePersistentVolumeProps
-
getMetadata
public final org.cdk8s.ApiObjectMetadata getMetadata()
Description copied from interface:ResourcePropsMetadata that all persisted resources must have, which includes all objects users must create.- Specified by:
getMetadatain interfaceResourceProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-