Class V1QuobyteVolumeSource

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-02T17:56:12.287571Z[Etc/UTC]") 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()
  • Method Details

    • group

      public V1QuobyteVolumeSource group(String group)
    • getGroup

      @Nullable public String getGroup()
      group to map volume access to Default is no group
      Returns:
      group
    • setGroup

      public void setGroup(String group)
    • readOnly

      public V1QuobyteVolumeSource readOnly(Boolean readOnly)
    • getReadOnly

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

      public void setReadOnly(Boolean readOnly)
    • registry

      public V1QuobyteVolumeSource registry(String registry)
    • getRegistry

      @Nonnull 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:
      registry
    • setRegistry

      public void setRegistry(String registry)
    • tenant

      public V1QuobyteVolumeSource tenant(String tenant)
    • getTenant

      @Nullable 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:
      tenant
    • setTenant

      public void setTenant(String tenant)
    • user

      public V1QuobyteVolumeSource user(String user)
    • getUser

      @Nullable public String getUser()
      user to map volume access to Defaults to serivceaccount user
      Returns:
      user
    • setUser

      public void setUser(String user)
    • volume

      public V1QuobyteVolumeSource volume(String volume)
    • getVolume

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

      public void setVolume(String volume)
    • 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
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      Validates the JSON Object and throws an exception if issues found
      Parameters:
      jsonObj - JSON Object
      Throws:
      IOException - if the JSON Object is invalid with respect to V1QuobyteVolumeSource
    • fromJson

      public static V1QuobyteVolumeSource fromJson(String jsonString) throws IOException
      Create an instance of V1QuobyteVolumeSource given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of V1QuobyteVolumeSource
      Throws:
      IOException - if the JSON string is invalid with respect to V1QuobyteVolumeSource
    • toJson

      public String toJson()
      Convert an instance of V1QuobyteVolumeSource to an JSON string
      Returns:
      JSON string