Class GlusterfsVolumeSource.Builder

  • Enclosing class:
    GlusterfsVolumeSource

    public static class GlusterfsVolumeSource.Builder
    extends java.lang.Object
    • 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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object