Class ConfigMapKeySelector.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.ConfigMapKeySelector.Builder
-
- Enclosing class:
- ConfigMapKeySelector
public static class ConfigMapKeySelector.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigMapKeySelector
build()
ConfigMapKeySelector.Builder
key(@NonNull java.lang.String key)
The key to select.ConfigMapKeySelector.Builder
name(java.lang.String name)
Name of the referent.ConfigMapKeySelector.Builder
optional(java.lang.Boolean optional)
Specify whether the ConfigMap or its key must be definedjava.lang.String
toString()
-
-
-
Method Detail
-
key
public ConfigMapKeySelector.Builder key(@NonNull @NonNull java.lang.String key)
The key to select.- Returns:
this
.
-
name
public ConfigMapKeySelector.Builder name(java.lang.String name)
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names- Returns:
this
.
-
optional
public ConfigMapKeySelector.Builder optional(java.lang.Boolean optional)
Specify whether the ConfigMap or its key must be defined- Returns:
this
.
-
build
public ConfigMapKeySelector build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-