Class GlusterfsPersistentVolumeSource.Builder

    • Method Detail

      • endpoints

        public GlusterfsPersistentVolumeSource.Builder endpoints​(@NonNull
                                                                 @NonNull java.lang.String endpoints)
        endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
        Returns:
        this.
      • endpointsNamespace

        public GlusterfsPersistentVolumeSource.Builder endpointsNamespace​(java.lang.String endpointsNamespace)
        endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
        Returns:
        this.
      • path

        public GlusterfsPersistentVolumeSource.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 GlusterfsPersistentVolumeSource.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