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 Details

  • Constructor Details

    • V1VolumeAttachmentSource

      public V1VolumeAttachmentSource()
  • Method Details

    • getInlineVolumeSpec

      public V1PersistentVolumeSpec getInlineVolumeSpec()
      Returns:
      the inlineVolumeSpec property value
    • setInlineVolumeSpec

      public void setInlineVolumeSpec(V1PersistentVolumeSpec inlineVolumeSpec)
      Set the inlineVolumeSpec property value
    • inlineVolumeSpec

      public V1VolumeAttachmentSource inlineVolumeSpec(V1PersistentVolumeSpec inlineVolumeSpec)
      Set inlineVolumeSpec in a chainable fashion.
      Returns:
      The same instance of V1VolumeAttachmentSource for chaining.
    • getPersistentVolumeName

      public String getPersistentVolumeName()
      persistentVolumeName represents the name of the persistent volume to attach.
      Returns:
      the persistentVolumeName property value
    • setPersistentVolumeName

      public void setPersistentVolumeName(String persistentVolumeName)
      Set the persistentVolumeName property value
    • persistentVolumeName

      public V1VolumeAttachmentSource persistentVolumeName(String persistentVolumeName)
      Set persistentVolumeName in a chainable fashion.
      Returns:
      The same instance of V1VolumeAttachmentSource for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object