Class HostPathVolumeSource
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.HostPathVolumeSource
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class HostPathVolumeSource extends java.lang.Object implements com.marcnuri.yakc.model.Model
Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HostPathVolumeSource.Builder
-
Constructor Summary
Constructors Constructor Description HostPathVolumeSource()
HostPathVolumeSource(@NonNull java.lang.String path, java.lang.String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostPathVolumeSource.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getPath()
Path of the directory on the host.java.lang.String
getType()
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpathint
hashCode()
void
setPath(@NonNull java.lang.String path)
Path of the directory on the host.void
setType(java.lang.String type)
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpathHostPathVolumeSource.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static HostPathVolumeSource.Builder builder()
-
toBuilder
public HostPathVolumeSource.Builder toBuilder()
-
getPath
@NonNull public @NonNull java.lang.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
-
getType
public java.lang.String getType()
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
-
setPath
public void setPath(@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
-
setType
public void setType(java.lang.String type)
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-