Class V1GlusterfsVolumeSource

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") 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(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 V1GlusterfsVolumeSource endpoints(String endpoints)
      Set endpoints in a chainable fashion.
      Returns:
      The same instance of V1GlusterfsVolumeSource 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

      public V1GlusterfsVolumeSource path(String path)
      Set path in a chainable fashion.
      Returns:
      The same instance of V1GlusterfsVolumeSource 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 V1GlusterfsVolumeSource readOnly(Boolean readOnly)
      Set readOnly in a chainable fashion.
      Returns:
      The same instance of V1GlusterfsVolumeSource 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