Class HostPathVolumeSource.Builder

  • Enclosing class:
    HostPathVolumeSource

    public static class HostPathVolumeSource.Builder
    extends java.lang.Object
    • Method Detail

      • path

        public HostPathVolumeSource.Builder path​(@NonNull
                                                 @NonNull java.lang.String path)
        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:
        this.
      • type

        public HostPathVolumeSource.Builder type​(java.lang.String type)
        type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object