Class V1AttachedVolume

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1AttachedVolume extends Object
AttachedVolume describes a volume attached to a node
  • Field Details

  • Constructor Details

    • V1AttachedVolume

      public V1AttachedVolume(String devicePath, String name)
  • Method Details

    • getDevicePath

      public String getDevicePath()
      DevicePath represents the device path where the volume should be available
      Returns:
      the devicePath property value
    • setDevicePath

      public void setDevicePath(String devicePath)
      Set the devicePath property value
    • devicePath

      public V1AttachedVolume devicePath(String devicePath)
      Set devicePath in a chainable fashion.
      Returns:
      The same instance of V1AttachedVolume for chaining.
    • getName

      public String getName()
      Name of the attached volume
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
    • name

      public V1AttachedVolume name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1AttachedVolume 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