Class HostPathVolumeSource.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.HostPathVolumeSource.Builder
-
- Enclosing class:
- HostPathVolumeSource
public static class HostPathVolumeSource.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostPathVolumeSource
build()
HostPathVolumeSource.Builder
path(@NonNull java.lang.String path)
path of the directory on the host.java.lang.String
toString()
HostPathVolumeSource.Builder
type(java.lang.String type)
type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
-
-
-
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
.
-
build
public HostPathVolumeSource build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-