Class NFSVolumeSource.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.NFSVolumeSource.Builder
-
- Enclosing class:
- NFSVolumeSource
public static class NFSVolumeSource.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NFSVolumeSource
build()
NFSVolumeSource.Builder
path(@NonNull java.lang.String path)
path that is exported by the NFS server.NFSVolumeSource.Builder
readOnly(java.lang.Boolean readOnly)
readOnly here will force the NFS export to be mounted with read-only permissions.NFSVolumeSource.Builder
server(@NonNull java.lang.String server)
server is the hostname or IP address of the NFS server.java.lang.String
toString()
-
-
-
Method Detail
-
path
public NFSVolumeSource.Builder path(@NonNull @NonNull java.lang.String path)
path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs- Returns:
this
.
-
readOnly
public NFSVolumeSource.Builder readOnly(java.lang.Boolean readOnly)
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- Returns:
this
.
-
server
public NFSVolumeSource.Builder server(@NonNull @NonNull java.lang.String server)
server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs- Returns:
this
.
-
build
public NFSVolumeSource build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-