Package org.cdk8s.plus25.k8s
Interface ConfigMapKeySelector
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ConfigMapKeySelector.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.475Z") @Stability(Stable) public interface ConfigMapKeySelector extends software.amazon.jsii.JsiiSerializable
Selects a key from a ConfigMap.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConfigMapKeySelector.BuilderA builder forConfigMapKeySelectorstatic classConfigMapKeySelector.Jsii$ProxyAn implementation forConfigMapKeySelector
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ConfigMapKeySelector.Builderbuilder()StringgetKey()The key to select.default StringgetName()Name of the referent.default BooleangetOptional()Specify whether the ConfigMap or its key must be defined.
-
-
-
Method Detail
-
getKey
@Stability(Stable) @NotNull String getKey()
The key to select.
-
getName
@Stability(Stable) @Nullable default String getName()
Name of the referent.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
-
getOptional
@Stability(Stable) @Nullable default Boolean getOptional()
Specify whether the ConfigMap or its key must be defined.
-
builder
@Stability(Stable) static ConfigMapKeySelector.Builder builder()
- Returns:
- a
ConfigMapKeySelector.BuilderofConfigMapKeySelector
-
-