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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1QuobyteVolumeSource
Create an instance of V1QuobyteVolumeSource given an JSON stringgetGroup()
group to map volume access to Default is no groupreadOnly here will force the Quobyte volume to be mounted with read-only permissions.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 volumestenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugingetUser()
user to map volume access to Defaults to serivceaccount uservolume is a string that references an already created Quobyte volume by name.int
hashCode()
void
void
setReadOnly
(Boolean readOnly) void
setRegistry
(String registry) void
void
void
toJson()
Convert an instance of V1QuobyteVolumeSource to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_GROUP
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_REGISTRY
- See Also:
-
SERIALIZED_NAME_TENANT
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
SERIALIZED_NAME_VOLUME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1QuobyteVolumeSource
public V1QuobyteVolumeSource()
-
-
Method Details
-
group
-
getGroup
group to map volume access to Default is no group- Returns:
- group
-
setGroup
-
readOnly
-
getReadOnly
readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.- Returns:
- readOnly
-
setReadOnly
-
registry
-
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
-
tenant
-
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
-
user
-
getUser
user to map volume access to Defaults to serivceaccount user- Returns:
- user
-
setUser
-
volume
-
getVolume
volume is a string that references an already created Quobyte volume by name.- Returns:
- volume
-
setVolume
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
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
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
Convert an instance of V1QuobyteVolumeSource to an JSON string- Returns:
- JSON string
-