Package org.cdk8s.plus24.k8s
Interface KeyToPath
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KeyToPath.Jsii$Proxy
@Generated(value="jsii-pacmak/1.75.0 (build 63bb957)", date="2023-02-20T02:42:02.096Z") @Stability(Stable) public interface KeyToPath extends software.amazon.jsii.JsiiSerializable
Maps a string key to a path within a volume.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
KeyToPath.Builder
A builder forKeyToPath
static class
KeyToPath.Jsii$Proxy
An implementation forKeyToPath
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static KeyToPath.Builder
builder()
String
getKey()
key is the key to project.default Number
getMode()
mode is Optional: mode bits used to set permissions on this file.String
getPath()
path is the relative path of the file to map the key to.
-
-
-
Method Detail
-
getKey
@Stability(Stable) @NotNull String getKey()
key is the key to project.
-
getPath
@Stability(Stable) @NotNull String getPath()
path is the relative path of the file to map the key to.May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
-
getMode
@Stability(Stable) @Nullable default Number getMode()
mode is Optional: mode bits used to set permissions on this file.Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
-
builder
@Stability(Stable) static KeyToPath.Builder builder()
- Returns:
- a
KeyToPath.Builder
ofKeyToPath
-
-