Class V1GlusterfsPersistentVolumeSource

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1GlusterfsPersistentVolumeSource

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") 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(String endpoints, String path)
  • Method Details

    • 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:
      the endpoints property value
    • setEndpoints

      public void setEndpoints(String endpoints)
      Set the endpoints property value
      Parameters:
      endpoints - property value to set
    • endpoints

      public V1GlusterfsPersistentVolumeSource endpoints(String endpoints)
      Set endpoints in a chainable fashion.
      Returns:
      The same instance of V1GlusterfsPersistentVolumeSource for chaining.
    • getPath

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

      public void setPath(String path)
      Set the path property value
      Parameters:
      path - property value to set
    • path

      Set path in a chainable fashion.
      Returns:
      The same instance of V1GlusterfsPersistentVolumeSource for chaining.
    • getEndpointsNamespace

      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:
      the endpointsNamespace property value
    • setEndpointsNamespace

      public void setEndpointsNamespace(String endpointsNamespace)
      Set the endpointsNamespace property value
      Parameters:
      endpointsNamespace - property value to set
    • endpointsNamespace

      public V1GlusterfsPersistentVolumeSource endpointsNamespace(String endpointsNamespace)
      Set endpointsNamespace in a chainable fashion.
      Returns:
      The same instance of V1GlusterfsPersistentVolumeSource for chaining.
    • getReadOnly

      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:
      the readOnly property value
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
      Set the readOnly property value
      Parameters:
      readOnly - property value to set
    • readOnly

      public V1GlusterfsPersistentVolumeSource readOnly(Boolean readOnly)
      Set readOnly in a chainable fashion.
      Returns:
      The same instance of V1GlusterfsPersistentVolumeSource for chaining.
    • 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