Class V1VolumeAttachmentSpec

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1VolumeAttachmentSpec

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1VolumeAttachmentSpec extends Object
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
  • Field Details

  • Constructor Details

  • Method Details

    • getAttacher

      public String getAttacher()
      attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
      Returns:
      the attacher property value
    • setAttacher

      public void setAttacher(String attacher)
      Set the attacher property value
      Parameters:
      attacher - property value to set
    • attacher

      public V1VolumeAttachmentSpec attacher(String attacher)
      Set attacher in a chainable fashion.
      Returns:
      The same instance of V1VolumeAttachmentSpec for chaining.
    • getNodeName

      public String getNodeName()
      nodeName represents the node that the volume should be attached to.
      Returns:
      the nodeName property value
    • setNodeName

      public void setNodeName(String nodeName)
      Set the nodeName property value
      Parameters:
      nodeName - property value to set
    • nodeName

      public V1VolumeAttachmentSpec nodeName(String nodeName)
      Set nodeName in a chainable fashion.
      Returns:
      The same instance of V1VolumeAttachmentSpec for chaining.
    • getSource

      public V1VolumeAttachmentSource getSource()
      Returns:
      the source property value
    • setSource

      public void setSource(V1VolumeAttachmentSource source)
      Set the source property value
      Parameters:
      source - property value to set
    • source

      Set source in a chainable fashion.
      Returns:
      The same instance of V1VolumeAttachmentSpec 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