Class GlusterfsVolumeSource.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.GlusterfsVolumeSource.Builder
-
- Enclosing class:
- GlusterfsVolumeSource
public static class GlusterfsVolumeSource.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlusterfsVolumeSource
build()
GlusterfsVolumeSource.Builder
endpoints(@NonNull java.lang.String endpoints)
EndpointsName is the endpoint name that details Glusterfs topology.GlusterfsVolumeSource.Builder
path(@NonNull java.lang.String path)
Path is the Glusterfs volume path.GlusterfsVolumeSource.Builder
readOnly(java.lang.Boolean readOnly)
ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.java.lang.String
toString()
-
-
-
Method Detail
-
endpoints
public GlusterfsVolumeSource.Builder endpoints(@NonNull @NonNull java.lang.String endpoints)
EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod- Returns:
this
.
-
path
public GlusterfsVolumeSource.Builder path(@NonNull @NonNull java.lang.String path)
Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod- Returns:
this
.
-
readOnly
public GlusterfsVolumeSource.Builder readOnly(java.lang.Boolean readOnly)
ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod- Returns:
this
.
-
build
public GlusterfsVolumeSource build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-