Package org.cdk8s.plus25.k8s
Class SecretProjection.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.SecretProjection.Jsii$Proxy
-
- All Implemented Interfaces:
SecretProjection,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- SecretProjection
@Stability(Stable) @Internal public static final class SecretProjection.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SecretProjection
An implementation forSecretProjection
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.SecretProjection
SecretProjection.Builder, SecretProjection.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(SecretProjection.Builder builder)Constructor that initializes the object based on literal property values passed by theSecretProjection.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)List<KeyToPath>getItems()items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.StringgetName()Name of the referent.BooleangetOptional()optional field specify whether the Secret or its key must be defined.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(SecretProjection.Builder builder)
Constructor that initializes the object based on literal property values passed by theSecretProjection.Builder.
-
-
Method Detail
-
getItems
public final List<KeyToPath> getItems()
Description copied from interface:SecretProjectionitems if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
- Specified by:
getItemsin interfaceSecretProjection
-
getName
public final String getName()
Description copied from interface:SecretProjectionName of the referent.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Specified by:
getNamein interfaceSecretProjection
-
getOptional
public final Boolean getOptional()
Description copied from interface:SecretProjectionoptional field specify whether the Secret or its key must be defined.- Specified by:
getOptionalin interfaceSecretProjection
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-