Package kubevirt.io
Class V1PersistentVolumeClaimVolumeSource
java.lang.Object
kubevirt.io.V1PersistentVolumeClaimVolumeSource
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2019-11-10T14:44:51.030+02:00")
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 TypeMethodDescriptionbooleanClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.inthashCode()Will force the ReadOnly setting in VolumeMounts.voidsetClaimName(String claimName) voidsetReadOnly(Boolean readOnly) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
claimName
-
readOnly
-
-
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
-
isReadOnly
Will force the ReadOnly setting in VolumeMounts. Default false.- Returns:
- readOnly
-
setReadOnly
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-