Class V1PersistentVolumeClaimVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1PersistentVolumeClaimVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1PersistentVolumeClaimVolumeSource
extends Object
PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This
volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource
is, essentially, a wrapper around another type of volume that is owned by someone else (the
system).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.readOnly Will force the ReadOnly setting in VolumeMounts.int
hashCode()
void
setClaimName
(String claimName) void
setReadOnly
(Boolean readOnly) toString()
-
Field Details
-
SERIALIZED_NAME_CLAIM_NAME
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
-
Constructor Details
-
V1PersistentVolumeClaimVolumeSource
public V1PersistentVolumeClaimVolumeSource()
-
-
Method Details
-
claimName
-
getClaimName
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims- Returns:
- claimName
-
setClaimName
-
readOnly
-
getReadOnly
readOnly Will force the ReadOnly setting in VolumeMounts. Default false.- Returns:
- readOnly
-
setReadOnly
-
equals
-
hashCode
public int hashCode() -
toString
-