Package org.cdk8s.plus20
Class GCEPersistentDiskPersistentVolume
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.plus20.Resource
-
- org.cdk8s.plus20.PersistentVolume
-
- org.cdk8s.plus20.GCEPersistentDiskPersistentVolume
-
- All Implemented Interfaces:
IPersistentVolume,IResource,IStorage,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.56.0 (build 55e7d15)", date="2022-04-13T14:52:28.868Z") @Stability(Stable) public class GCEPersistentDiskPersistentVolume extends PersistentVolume
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGCEPersistentDiskPersistentVolume.BuilderA fluent builder forGCEPersistentDiskPersistentVolume.-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
-
Nested classes/interfaces inherited from interface org.cdk8s.plus20.IPersistentVolume
IPersistentVolume.Jsii$Default, IPersistentVolume.Jsii$Proxy
-
Nested classes/interfaces inherited from interface org.cdk8s.plus20.IResource
IResource.Jsii$Default
-
Nested classes/interfaces inherited from interface org.cdk8s.plus20.IStorage
IStorage.Jsii$Default, IStorage.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGCEPersistentDiskPersistentVolume(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedGCEPersistentDiskPersistentVolume(software.amazon.jsii.JsiiObjectRef objRef)GCEPersistentDiskPersistentVolume(software.constructs.Construct scope, String id, GCEPersistentDiskPersistentVolumeProps props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFsType()File system type of this volume.NumbergetPartition()Partition of this volume.StringgetPdName()PD resource in GCE of this volume.BooleangetReadOnly()Whether or not it is mounted as a read-only volume.-
Methods inherited from class org.cdk8s.plus20.PersistentVolume
asVolume, bind, fromPersistentVolumeName, getAccessModes, getApiObject, getClaim, getMode, getMountOptions, getReclaimPolicy, getStorage, getStorageClassName, reserve
-
Methods inherited from class org.cdk8s.plus20.Resource
getMetadata, getName
-
Methods inherited from class software.constructs.Construct
onPrepare, onSynthesize, onValidate, toString
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
GCEPersistentDiskPersistentVolume
protected GCEPersistentDiskPersistentVolume(software.amazon.jsii.JsiiObjectRef objRef)
-
GCEPersistentDiskPersistentVolume
protected GCEPersistentDiskPersistentVolume(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
GCEPersistentDiskPersistentVolume
@Stability(Stable) public GCEPersistentDiskPersistentVolume(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull GCEPersistentDiskPersistentVolumeProps props)- Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Detail
-
getFsType
@Stability(Stable) @NotNull public String getFsType()
File system type of this volume.
-
getPdName
@Stability(Stable) @NotNull public String getPdName()
PD resource in GCE of this volume.
-
getReadOnly
@Stability(Stable) @NotNull public Boolean getReadOnly()
Whether or not it is mounted as a read-only volume.
-
getPartition
@Stability(Stable) @Nullable public Number getPartition()
Partition of this volume.
-
-