Package net.stickycode.kuuty.model.v18
Class IoK8sApiStorageV1VolumeAttachmentSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiStorageV1VolumeAttachmentSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiStorageV1VolumeAttachmentSource extends Object
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_INLINE_VOLUME_SPECstatic StringJSON_PROPERTY_PERSISTENT_VOLUME_NAME
-
Constructor Summary
Constructors Constructor Description IoK8sApiStorageV1VolumeAttachmentSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IoK8sApiCoreV1PersistentVolumeSpecgetInlineVolumeSpec()Get inlineVolumeSpecStringgetPersistentVolumeName()Name of the persistent volume to attach.inthashCode()IoK8sApiStorageV1VolumeAttachmentSourceinlineVolumeSpec(IoK8sApiCoreV1PersistentVolumeSpec inlineVolumeSpec)IoK8sApiStorageV1VolumeAttachmentSourcepersistentVolumeName(String persistentVolumeName)voidsetInlineVolumeSpec(IoK8sApiCoreV1PersistentVolumeSpec inlineVolumeSpec)voidsetPersistentVolumeName(String persistentVolumeName)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_INLINE_VOLUME_SPEC
public static final String JSON_PROPERTY_INLINE_VOLUME_SPEC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PERSISTENT_VOLUME_NAME
public static final String JSON_PROPERTY_PERSISTENT_VOLUME_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
inlineVolumeSpec
public IoK8sApiStorageV1VolumeAttachmentSource inlineVolumeSpec(IoK8sApiCoreV1PersistentVolumeSpec inlineVolumeSpec)
-
getInlineVolumeSpec
@Nullable public IoK8sApiCoreV1PersistentVolumeSpec getInlineVolumeSpec()
Get inlineVolumeSpec- Returns:
- inlineVolumeSpec
-
setInlineVolumeSpec
public void setInlineVolumeSpec(IoK8sApiCoreV1PersistentVolumeSpec inlineVolumeSpec)
-
persistentVolumeName
public IoK8sApiStorageV1VolumeAttachmentSource persistentVolumeName(String persistentVolumeName)
-
getPersistentVolumeName
@Nullable public String getPersistentVolumeName()
Name of the persistent volume to attach.- Returns:
- persistentVolumeName
-
setPersistentVolumeName
public void setPersistentVolumeName(String persistentVolumeName)
-
-