@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-09-20T22:55:54.394Z[Etc/UTC]") public class V1CephFSPersistentVolumeSource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_MONITORS |
static String |
SERIALIZED_NAME_PATH |
static String |
SERIALIZED_NAME_READ_ONLY |
static String |
SERIALIZED_NAME_SECRET_FILE |
static String |
SERIALIZED_NAME_SECRET_REF |
static String |
SERIALIZED_NAME_USER |
Constructor and Description |
---|
V1CephFSPersistentVolumeSource() |
Modifier and Type | Method and Description |
---|---|
V1CephFSPersistentVolumeSource |
addMonitorsItem(String monitorsItem) |
boolean |
equals(Object o) |
List<String> |
getMonitors()
Required: Monitors is a collection of Ceph monitors More info:
https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
String |
getPath()
Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
Boolean |
getReadOnly()
Optional: Defaults to false (read/write).
|
String |
getSecretFile()
Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More
info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
V1SecretReference |
getSecretRef()
Get secretRef
|
String |
getUser()
Optional: User is the rados user name, default is admin More info:
https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
int |
hashCode() |
V1CephFSPersistentVolumeSource |
monitors(List<String> monitors) |
V1CephFSPersistentVolumeSource |
path(String path) |
V1CephFSPersistentVolumeSource |
readOnly(Boolean readOnly) |
V1CephFSPersistentVolumeSource |
secretFile(String secretFile) |
V1CephFSPersistentVolumeSource |
secretRef(V1SecretReference secretRef) |
void |
setMonitors(List<String> monitors) |
void |
setPath(String path) |
void |
setReadOnly(Boolean readOnly) |
void |
setSecretFile(String secretFile) |
void |
setSecretRef(V1SecretReference secretRef) |
void |
setUser(String user) |
String |
toString() |
V1CephFSPersistentVolumeSource |
user(String user) |
public static final String SERIALIZED_NAME_MONITORS
public static final String SERIALIZED_NAME_PATH
public static final String SERIALIZED_NAME_READ_ONLY
public static final String SERIALIZED_NAME_SECRET_FILE
public static final String SERIALIZED_NAME_SECRET_REF
public static final String SERIALIZED_NAME_USER
public V1CephFSPersistentVolumeSource monitors(List<String> monitors)
public V1CephFSPersistentVolumeSource addMonitorsItem(String monitorsItem)
public List<String> getMonitors()
public V1CephFSPersistentVolumeSource path(String path)
@Nullable public String getPath()
public void setPath(String path)
public V1CephFSPersistentVolumeSource readOnly(Boolean readOnly)
@Nullable public Boolean getReadOnly()
public void setReadOnly(Boolean readOnly)
public V1CephFSPersistentVolumeSource secretFile(String secretFile)
@Nullable public String getSecretFile()
public void setSecretFile(String secretFile)
public V1CephFSPersistentVolumeSource secretRef(V1SecretReference secretRef)
@Nullable public V1SecretReference getSecretRef()
public void setSecretRef(V1SecretReference secretRef)
public V1CephFSPersistentVolumeSource user(String user)
@Nullable public String getUser()
public void setUser(String user)
Copyright © 2021. All rights reserved.