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 java.lang.Object
DataVolumeSpec defines our specification for a DataVolume type
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
contentType
private V1PersistentVolumeClaimSpec
pvc
private V1alpha1DataVolumeSource
source
-
Constructor Summary
Constructors Constructor Description V1alpha1DataVolumeSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1alpha1DataVolumeSpec
contentType(java.lang.String contentType)
boolean
equals(java.lang.Object o)
java.lang.String
getContentType()
DataVolumeContentType options: \"kubevirt\", \"archive\"V1PersistentVolumeClaimSpec
getPvc()
PVC is a pointer to the PVC Spec we want to useV1alpha1DataVolumeSource
getSource()
Source is the src of the data for the requested DataVolumeint
hashCode()
V1alpha1DataVolumeSpec
pvc(V1PersistentVolumeClaimSpec pvc)
void
setContentType(java.lang.String contentType)
void
setPvc(V1PersistentVolumeClaimSpec pvc)
void
setSource(V1alpha1DataVolumeSource source)
V1alpha1DataVolumeSpec
source(V1alpha1DataVolumeSource source)
private java.lang.String
toIndentedString(java.lang.Object o)
Convert the given object to string with each line indented by 4 spaces (except the first line).java.lang.String
toString()
-
-
-
Field Detail
-
contentType
private java.lang.String contentType
-
pvc
private V1PersistentVolumeClaimSpec pvc
-
source
private V1alpha1DataVolumeSource source
-
-
Method Detail
-
contentType
public V1alpha1DataVolumeSpec contentType(java.lang.String contentType)
-
getContentType
public java.lang.String getContentType()
DataVolumeContentType options: \"kubevirt\", \"archive\"- Returns:
- contentType
-
setContentType
public void setContentType(java.lang.String contentType)
-
pvc
public V1alpha1DataVolumeSpec pvc(V1PersistentVolumeClaimSpec pvc)
-
getPvc
public V1PersistentVolumeClaimSpec getPvc()
PVC is a pointer to the PVC Spec we want to use- Returns:
- pvc
-
setPvc
public void setPvc(V1PersistentVolumeClaimSpec pvc)
-
source
public V1alpha1DataVolumeSpec source(V1alpha1DataVolumeSource source)
-
getSource
public V1alpha1DataVolumeSource getSource()
Source is the src of the data for the requested DataVolume- Returns:
- source
-
setSource
public void setSource(V1alpha1DataVolumeSource source)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toIndentedString
private java.lang.String toIndentedString(java.lang.Object o)
Convert the given object to string with each line indented by 4 spaces (except the first line).
-
-