Package kubevirt.io
Class V1alpha1DataVolumeSpec
java.lang.Object
kubevirt.io.V1alpha1DataVolumeSpec
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2019-11-10T14:44:51.030+02:00")
public class V1alpha1DataVolumeSpec
extends Object
DataVolumeSpec defines our specification for a DataVolume type
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate V1PersistentVolumeClaimSpecprivate V1alpha1DataVolumeSource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentType(String contentType) booleanDataVolumeContentType options: \"kubevirt\", \"archive\"getPvc()PVC is a pointer to the PVC Spec we want to useSource is the src of the data for the requested DataVolumeinthashCode()voidsetContentType(String contentType) voidvoidsetSource(V1alpha1DataVolumeSource source) source(V1alpha1DataVolumeSource source) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
contentType
-
pvc
-
source
-
-
Constructor Details
-
V1alpha1DataVolumeSpec
public V1alpha1DataVolumeSpec()
-
-
Method Details
-
contentType
-
getContentType
DataVolumeContentType options: \"kubevirt\", \"archive\"- Returns:
- contentType
-
setContentType
-
pvc
-
getPvc
PVC is a pointer to the PVC Spec we want to use- Returns:
- pvc
-
setPvc
-
source
-
getSource
Source is the src of the data for the requested DataVolume- Returns:
- source
-
setSource
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-