Class QuobyteVolumeSource

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class QuobyteVolumeSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.
    • Constructor Summary

      Constructors 
      Constructor Description
      QuobyteVolumeSource()  
      QuobyteVolumeSource​(java.lang.String group, java.lang.Boolean readOnly, @NonNull java.lang.String registry, java.lang.String tenant, java.lang.String user, @NonNull java.lang.String volume)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static QuobyteVolumeSource.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getGroup()
      group to map volume access to Default is no group
      java.lang.Boolean getReadOnly()
      readOnly here will force the Quobyte volume to be mounted with read-only permissions.
      @NonNull java.lang.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
      java.lang.String getTenant()
      tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
      java.lang.String getUser()
      user to map volume access to Defaults to serivceaccount user
      @NonNull java.lang.String getVolume()
      volume is a string that references an already created Quobyte volume by name.
      int hashCode()  
      void setGroup​(java.lang.String group)
      group to map volume access to Default is no group
      void setReadOnly​(java.lang.Boolean readOnly)
      readOnly here will force the Quobyte volume to be mounted with read-only permissions.
      void setRegistry​(@NonNull java.lang.String registry)
      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
      void setTenant​(java.lang.String tenant)
      tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
      void setUser​(java.lang.String user)
      user to map volume access to Defaults to serivceaccount user
      void setVolume​(@NonNull java.lang.String volume)
      volume is a string that references an already created Quobyte volume by name.
      QuobyteVolumeSource.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • QuobyteVolumeSource

        public QuobyteVolumeSource​(java.lang.String group,
                                   java.lang.Boolean readOnly,
                                   @NonNull
                                   @NonNull java.lang.String registry,
                                   java.lang.String tenant,
                                   java.lang.String user,
                                   @NonNull
                                   @NonNull java.lang.String volume)
      • QuobyteVolumeSource

        public QuobyteVolumeSource()
    • Method Detail

      • getGroup

        public java.lang.String getGroup()
        group to map volume access to Default is no group
      • getReadOnly

        public java.lang.Boolean getReadOnly()
        readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
      • getRegistry

        @NonNull
        public @NonNull java.lang.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
      • getTenant

        public java.lang.String getTenant()
        tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
      • getUser

        public java.lang.String getUser()
        user to map volume access to Defaults to serivceaccount user
      • getVolume

        @NonNull
        public @NonNull java.lang.String getVolume()
        volume is a string that references an already created Quobyte volume by name.
      • setGroup

        public void setGroup​(java.lang.String group)
        group to map volume access to Default is no group
      • setReadOnly

        public void setReadOnly​(java.lang.Boolean readOnly)
        readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
      • setRegistry

        public void setRegistry​(@NonNull
                                @NonNull java.lang.String registry)
        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
      • setTenant

        public void setTenant​(java.lang.String tenant)
        tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
      • setUser

        public void setUser​(java.lang.String user)
        user to map volume access to Defaults to serivceaccount user
      • setVolume

        public void setVolume​(@NonNull
                              @NonNull java.lang.String volume)
        volume is a string that references an already created Quobyte volume by name.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object