Class ConfigMapNodeConfigSource.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.ConfigMapNodeConfigSource.Builder
-
- Enclosing class:
- ConfigMapNodeConfigSource
public static class ConfigMapNodeConfigSource.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigMapNodeConfigSource
build()
ConfigMapNodeConfigSource.Builder
kubeletConfigKey(@NonNull java.lang.String kubeletConfigKey)
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.ConfigMapNodeConfigSource.Builder
name(@NonNull java.lang.String name)
Name is the metadata.name of the referenced ConfigMap.ConfigMapNodeConfigSource.Builder
namespace(@NonNull java.lang.String namespace)
Namespace is the metadata.namespace of the referenced ConfigMap.ConfigMapNodeConfigSource.Builder
resourceVersion(java.lang.String resourceVersion)
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.java.lang.String
toString()
ConfigMapNodeConfigSource.Builder
uid(java.lang.String uid)
UID is the metadata.UID of the referenced ConfigMap.
-
-
-
Method Detail
-
kubeletConfigKey
public ConfigMapNodeConfigSource.Builder kubeletConfigKey(@NonNull @NonNull java.lang.String kubeletConfigKey)
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.- Returns:
this
.
-
name
public ConfigMapNodeConfigSource.Builder name(@NonNull @NonNull java.lang.String name)
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.- Returns:
this
.
-
namespace
public ConfigMapNodeConfigSource.Builder namespace(@NonNull @NonNull java.lang.String namespace)
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.- Returns:
this
.
-
resourceVersion
public ConfigMapNodeConfigSource.Builder resourceVersion(java.lang.String resourceVersion)
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.- Returns:
this
.
-
uid
public ConfigMapNodeConfigSource.Builder uid(java.lang.String uid)
UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.- Returns:
this
.
-
build
public ConfigMapNodeConfigSource build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-