Package org.cdk8s.plus25.k8s
Interface NfsVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NfsVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.742Z") @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 classNfsVolumeSource.BuilderA builder forNfsVolumeSourcestatic classNfsVolumeSource.Jsii$ProxyAn implementation forNfsVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static NfsVolumeSource.Builderbuilder()StringgetPath()path that is exported by the NFS server.default BooleangetReadOnly()readOnly here will force the NFS export to be mounted with read-only permissions.StringgetServer()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.BuilderofNfsVolumeSource
-
-