Class QuobyteVolumeSource
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuobyteVolumeSource.Builder
-
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 groupjava.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 volumesjava.lang.String
getTenant()
tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the pluginjava.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 groupvoid
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 volumesvoid
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 pluginvoid
setUser(java.lang.String user)
user to map volume access to Defaults to serivceaccount uservoid
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()
-
-
-
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
-
builder
public static QuobyteVolumeSource.Builder builder()
-
toBuilder
public QuobyteVolumeSource.Builder toBuilder()
-
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 classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-