Package org.cdk8s.plus24.k8s
Interface NfsVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NfsVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-11-24T11:18:28.990Z") @Stability(Stable) public interface NfsVolumeSource extends software.amazon.jsii.JsiiSerializable
Represents an NFS mount that lasts the lifetime of a pod.NFS volumes do not support ownership management or SELinux relabeling.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
NfsVolumeSource.Builder
A builder forNfsVolumeSource
static class
NfsVolumeSource.Jsii$Proxy
An implementation forNfsVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static NfsVolumeSource.Builder
builder()
String
getPath()
path that is exported by the NFS server.default Boolean
getReadOnly()
readOnly here will force the NFS export to be mounted with read-only permissions.String
getServer()
server is the hostname or IP address of the NFS server.
-
-
-
Method Detail
-
getPath
@Stability(Stable) @NotNull String getPath()
path that is exported by the NFS server.More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
-
getServer
@Stability(Stable) @NotNull String getServer()
server is the hostname or IP address of the NFS server.More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
-
getReadOnly
@Stability(Stable) @Nullable default Boolean getReadOnly()
readOnly here will force the NFS export to be mounted with read-only permissions.Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
Default: false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
-
builder
@Stability(Stable) static NfsVolumeSource.Builder builder()
- Returns:
- a
NfsVolumeSource.Builder
ofNfsVolumeSource
-
-