Class V1HostPathVolumeSource

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1HostPathVolumeSource extends Object
Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
  • Field Details

  • Constructor Details

    • V1HostPathVolumeSource

      public V1HostPathVolumeSource(String path)
  • Method Details

    • getPath

      public String getPath()
      path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
      Returns:
      the path property value
    • setPath

      public void setPath(String path)
      Set the path property value
    • path

      public V1HostPathVolumeSource path(String path)
      Set path in a chainable fashion.
      Returns:
      The same instance of V1HostPathVolumeSource for chaining.
    • getType

      public String getType()
      type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
      Returns:
      the type property value
    • setType

      public void setType(String type)
      Set the type property value
    • type

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