Class V1PersistentVolumeClaimVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1PersistentVolumeClaimVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet claimName in a chainable fashion.boolean
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()
Set readOnly in a chainable fashion.void
setClaimName
(String claimName) Set the claimName property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuetoString()
-
Field Details
-
JSON_PROPERTY_CLAIM_NAME
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
-
Constructor Details
-
V1PersistentVolumeClaimVolumeSource
-
-
Method Details
-
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:
- the claimName property value
-
setClaimName
Set the claimName property value- Parameters:
claimName
- property value to set
-
claimName
Set claimName in a chainable fashion.- Returns:
- The same instance of V1PersistentVolumeClaimVolumeSource for chaining.
-
getReadOnly
readOnly Will force the ReadOnly setting in VolumeMounts. Default false.- Returns:
- the readOnly property value
-
setReadOnly
Set the readOnly property value- Parameters:
readOnly
- property value to set
-
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1PersistentVolumeClaimVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-