Class V1GlusterfsVolumeSource

java.lang.Object
io.kubernetes.client.openapi.models.V1GlusterfsVolumeSource

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1GlusterfsVolumeSource extends Object
Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
  • Field Details

  • Constructor Details

    • V1GlusterfsVolumeSource

      public V1GlusterfsVolumeSource()
  • Method Details

    • endpoints

      public V1GlusterfsVolumeSource endpoints(String endpoints)
    • getEndpoints

      public String getEndpoints()
      endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
      Returns:
      endpoints
    • setEndpoints

      public void setEndpoints(String endpoints)
    • path

      public V1GlusterfsVolumeSource path(String path)
    • getPath

      public String getPath()
      path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
      Returns:
      path
    • setPath

      public void setPath(String path)
    • readOnly

      public V1GlusterfsVolumeSource readOnly(Boolean readOnly)
    • getReadOnly

      @Nullable public Boolean getReadOnly()
      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:
      readOnly
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object