Package org.cdk8s.plus24.k8s
Class StorageOsPersistentVolumeSource.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.StorageOsPersistentVolumeSource.Jsii$Proxy
-
- All Implemented Interfaces:
StorageOsPersistentVolumeSource
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- StorageOsPersistentVolumeSource
@Stability(Stable) @Internal public static final class StorageOsPersistentVolumeSource.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StorageOsPersistentVolumeSource
An implementation forStorageOsPersistentVolumeSource
-
-
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.StorageOsPersistentVolumeSource
StorageOsPersistentVolumeSource.Builder, StorageOsPersistentVolumeSource.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(StorageOsPersistentVolumeSource.Builder builder)
Constructor that initializes the object based on literal property values passed by theStorageOsPersistentVolumeSource.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)
String
getFsType()
fsType is the filesystem type to mount.Boolean
getReadOnly()
readOnly defaults to false (read/write).ObjectReference
getSecretRef()
secretRef specifies the secret to use for obtaining the StorageOS API credentials.String
getVolumeName()
volumeName is the human-readable name of the StorageOS volume.String
getVolumeNamespace()
volumeNamespace specifies the scope of the volume within StorageOS.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(StorageOsPersistentVolumeSource.Builder builder)
Constructor that initializes the object based on literal property values passed by theStorageOsPersistentVolumeSource.Builder
.
-
-
Method Detail
-
getFsType
public final String getFsType()
Description copied from interface:StorageOsPersistentVolumeSource
fsType is the filesystem type to mount.Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
- Specified by:
getFsType
in interfaceStorageOsPersistentVolumeSource
-
getReadOnly
public final Boolean getReadOnly()
Description copied from interface:StorageOsPersistentVolumeSource
readOnly defaults to false (read/write).ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Specified by:
getReadOnly
in interfaceStorageOsPersistentVolumeSource
-
getSecretRef
public final ObjectReference getSecretRef()
Description copied from interface:StorageOsPersistentVolumeSource
secretRef specifies the secret to use for obtaining the StorageOS API credentials.If not specified, default values will be attempted.
- Specified by:
getSecretRef
in interfaceStorageOsPersistentVolumeSource
-
getVolumeName
public final String getVolumeName()
Description copied from interface:StorageOsPersistentVolumeSource
volumeName is the human-readable name of the StorageOS volume.Volume names are only unique within a namespace.
- Specified by:
getVolumeName
in interfaceStorageOsPersistentVolumeSource
-
getVolumeNamespace
public final String getVolumeNamespace()
Description copied from interface:StorageOsPersistentVolumeSource
volumeNamespace specifies the scope of the volume within StorageOS.If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
- Specified by:
getVolumeNamespace
in interfaceStorageOsPersistentVolumeSource
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-