Class V1QuobyteVolumeSource

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1QuobyteVolumeSource extends Object
Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.
  • Field Details

  • Constructor Details

    • V1QuobyteVolumeSource

      public V1QuobyteVolumeSource(String registry, String volume)
  • Method Details

    • getGroup

      public String getGroup()
      group to map volume access to Default is no group
      Returns:
      the group property value
    • setGroup

      public void setGroup(String group)
      Set the group property value
    • group

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

      public Boolean getReadOnly()
      readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
      Returns:
      the readOnly property value
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
      Set the readOnly property value
    • readOnly

      public V1QuobyteVolumeSource readOnly(Boolean readOnly)
      Set readOnly in a chainable fashion.
      Returns:
      The same instance of V1QuobyteVolumeSource for chaining.
    • getRegistry

      public String getRegistry()
      registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
      Returns:
      the registry property value
    • setRegistry

      public void setRegistry(String registry)
      Set the registry property value
    • registry

      public V1QuobyteVolumeSource registry(String registry)
      Set registry in a chainable fashion.
      Returns:
      The same instance of V1QuobyteVolumeSource for chaining.
    • getTenant

      public String getTenant()
      tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
      Returns:
      the tenant property value
    • setTenant

      public void setTenant(String tenant)
      Set the tenant property value
    • tenant

      public V1QuobyteVolumeSource tenant(String tenant)
      Set tenant in a chainable fashion.
      Returns:
      The same instance of V1QuobyteVolumeSource for chaining.
    • getUser

      public String getUser()
      user to map volume access to Defaults to serivceaccount user
      Returns:
      the user property value
    • setUser

      public void setUser(String user)
      Set the user property value
    • user

      public V1QuobyteVolumeSource user(String user)
      Set user in a chainable fashion.
      Returns:
      The same instance of V1QuobyteVolumeSource for chaining.
    • getVolume

      public String getVolume()
      volume is a string that references an already created Quobyte volume by name.
      Returns:
      the volume property value
    • setVolume

      public void setVolume(String volume)
      Set the volume property value
    • volume

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