Class V1VolumeDevice

java.lang.Object
io.kubernetes.client.openapi.models.V1VolumeDevice

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1VolumeDevice extends Object
volumeDevice describes a mapping of a raw block device within a container.
  • Field Details

  • Constructor Details

    • V1VolumeDevice

      public V1VolumeDevice()
  • Method Details

    • devicePath

      public V1VolumeDevice devicePath(String devicePath)
    • getDevicePath

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

      public void setDevicePath(String devicePath)
    • name

      public V1VolumeDevice name(String name)
    • getName

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

      public void setName(String name)
    • 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