Class V1VolumeAttachmentSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1VolumeAttachmentSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1VolumeAttachmentSource
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanpersistentVolumeName represents the name of the persistent volume to attach.inthashCode()inlineVolumeSpec(V1PersistentVolumeSpec inlineVolumeSpec) Set inlineVolumeSpec in a chainable fashion.persistentVolumeName(String persistentVolumeName) Set persistentVolumeName in a chainable fashion.voidsetInlineVolumeSpec(V1PersistentVolumeSpec inlineVolumeSpec) Set the inlineVolumeSpec property valuevoidsetPersistentVolumeName(String persistentVolumeName) Set the persistentVolumeName property valuetoString()
-
Field Details
-
JSON_PROPERTY_INLINE_VOLUME_SPEC
- See Also:
-
JSON_PROPERTY_PERSISTENT_VOLUME_NAME
- See Also:
-
-
Constructor Details
-
V1VolumeAttachmentSource
public V1VolumeAttachmentSource()
-
-
Method Details
-
getInlineVolumeSpec
- Returns:
- the inlineVolumeSpec property value
-
setInlineVolumeSpec
Set the inlineVolumeSpec property value- Parameters:
inlineVolumeSpec- property value to set
-
inlineVolumeSpec
Set inlineVolumeSpec in a chainable fashion.- Returns:
- The same instance of V1VolumeAttachmentSource for chaining.
-
getPersistentVolumeName
persistentVolumeName represents the name of the persistent volume to attach.- Returns:
- the persistentVolumeName property value
-
setPersistentVolumeName
Set the persistentVolumeName property value- Parameters:
persistentVolumeName- property value to set
-
persistentVolumeName
Set persistentVolumeName in a chainable fashion.- Returns:
- The same instance of V1VolumeAttachmentSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-