Class V1VolumeDevice

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1VolumeDevice extends Object
volumeDevice describes a mapping of a raw block device within a container.
  • Field Details

  • Constructor Details

    • V1VolumeDevice

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

    • getDevicePath

      public String getDevicePath()
      devicePath is the path inside of the container that the device will be mapped to.
      Returns:
      the devicePath property value
    • setDevicePath

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

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

      public String getName()
      name must match the name of a persistentVolumeClaim in the pod
      Returns:
      the name property value
    • setName

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

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