Class SecretProjection.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.SecretProjection.Builder
-
- Enclosing class:
- SecretProjection
public static class SecretProjection.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretProjection.Builder
addToItems(KeyToPath addToItems)
SecretProjection
build()
SecretProjection.Builder
clearItems()
SecretProjection.Builder
items(java.util.Collection<? extends KeyToPath> items)
SecretProjection.Builder
name(java.lang.String name)
Name of the referent.SecretProjection.Builder
optional(java.lang.Boolean optional)
optional field specify whether the Secret or its key must be definedjava.lang.String
toString()
-
-
-
Method Detail
-
addToItems
public SecretProjection.Builder addToItems(KeyToPath addToItems)
-
items
public SecretProjection.Builder items(java.util.Collection<? extends KeyToPath> items)
-
clearItems
public SecretProjection.Builder clearItems()
-
name
public SecretProjection.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 SecretProjection.Builder optional(java.lang.Boolean optional)
optional field specify whether the Secret or its key must be defined- Returns:
this
.
-
build
public SecretProjection build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-