Class QuobyteVolumeSource.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.QuobyteVolumeSource.Builder
-
- Enclosing class:
- QuobyteVolumeSource
public static class QuobyteVolumeSource.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuobyteVolumeSource
build()
QuobyteVolumeSource.Builder
group(java.lang.String group)
Group to map volume access to Default is no groupQuobyteVolumeSource.Builder
readOnly(java.lang.Boolean readOnly)
ReadOnly here will force the Quobyte volume to be mounted with read-only permissions.QuobyteVolumeSource.Builder
registry(@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 volumesQuobyteVolumeSource.Builder
tenant(java.lang.String tenant)
Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the pluginjava.lang.String
toString()
QuobyteVolumeSource.Builder
user(java.lang.String user)
User to map volume access to Defaults to serivceaccount userQuobyteVolumeSource.Builder
volume(@NonNull java.lang.String volume)
Volume is a string that references an already created Quobyte volume by name.
-
-
-
Method Detail
-
group
public QuobyteVolumeSource.Builder group(java.lang.String group)
Group to map volume access to Default is no group- Returns:
this
.
-
readOnly
public QuobyteVolumeSource.Builder readOnly(java.lang.Boolean readOnly)
ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.- Returns:
this
.
-
registry
public QuobyteVolumeSource.Builder registry(@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- Returns:
this
.
-
tenant
public QuobyteVolumeSource.Builder tenant(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- Returns:
this
.
-
user
public QuobyteVolumeSource.Builder user(java.lang.String user)
User to map volume access to Defaults to serivceaccount user- Returns:
this
.
-
volume
public QuobyteVolumeSource.Builder volume(@NonNull @NonNull java.lang.String volume)
Volume is a string that references an already created Quobyte volume by name.- Returns:
this
.
-
build
public QuobyteVolumeSource build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-