Class V1GlusterfsPersistentVolumeSource

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1GlusterfsPersistentVolumeSource 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

    • V1GlusterfsPersistentVolumeSource

      public V1GlusterfsPersistentVolumeSource()
  • Method Details

    • endpoints

      public V1GlusterfsPersistentVolumeSource 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)
    • endpointsNamespace

      public V1GlusterfsPersistentVolumeSource endpointsNamespace(String endpointsNamespace)
    • getEndpointsNamespace

      @Nullable public String getEndpointsNamespace()
      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:
      endpointsNamespace
    • setEndpointsNamespace

      public void setEndpointsNamespace(String endpointsNamespace)
    • 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 V1GlusterfsPersistentVolumeSource 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