Package org.cdk8s.plus25
Interface CsiVolumeOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CsiVolumeOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.230Z") @Stability(Stable) public interface CsiVolumeOptions extends software.amazon.jsii.JsiiSerializable
Options for the CSI driver based volume.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCsiVolumeOptions.BuilderA builder forCsiVolumeOptionsstatic classCsiVolumeOptions.Jsii$ProxyAn implementation forCsiVolumeOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static CsiVolumeOptions.Builderbuilder()default Map<String,String>getAttributes()Any driver-specific attributes to pass to the CSI volume builder.default StringgetFsType()The filesystem type to mount.default StringgetName()The volume name.default BooleangetReadOnly()Whether the mounted volume should be read-only or not.
-
-
-
Method Detail
-
getAttributes
@Stability(Stable) @Nullable default Map<String,String> getAttributes()
Any driver-specific attributes to pass to the CSI volume builder.Default: - undefined
-
getFsType
@Stability(Stable) @Nullable default String getFsType()
The filesystem type to mount.Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver, which will determine the default filesystem to apply.
Default: - driver-dependent
-
getName
@Stability(Stable) @Nullable default String getName()
The volume name.Default: - auto-generated
-
getReadOnly
@Stability(Stable) @Nullable default Boolean getReadOnly()
Whether the mounted volume should be read-only or not.Default: - false
-
builder
@Stability(Stable) static CsiVolumeOptions.Builder builder()
- Returns:
- a
CsiVolumeOptions.BuilderofCsiVolumeOptions
-
-