Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1PersistentVolumeClaimVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1PersistentVolumeClaimVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1PersistentVolumeClaimVolumeSource 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 Modifier and Type Field Description static StringJSON_PROPERTY_CLAIM_NAMEstatic StringJSON_PROPERTY_READ_ONLY
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1PersistentVolumeClaimVolumeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1PersistentVolumeClaimVolumeSourceclaimName(String claimName)booleanequals(Object o)StringgetClaimName()ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.BooleangetReadOnly()Will force the ReadOnly setting in VolumeMounts.inthashCode()IoK8sApiCoreV1PersistentVolumeClaimVolumeSourcereadOnly(Boolean readOnly)voidsetClaimName(String claimName)voidsetReadOnly(Boolean readOnly)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CLAIM_NAME
public static final String JSON_PROPERTY_CLAIM_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READ_ONLY
public static final String JSON_PROPERTY_READ_ONLY
- See Also:
- Constant Field Values
-
-
Method Detail
-
claimName
public IoK8sApiCoreV1PersistentVolumeClaimVolumeSource claimName(String claimName)
-
getClaimName
public String 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
public void setClaimName(String claimName)
-
readOnly
public IoK8sApiCoreV1PersistentVolumeClaimVolumeSource readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean getReadOnly()
Will force the ReadOnly setting in VolumeMounts. Default false.- Returns:
- readOnly
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
-