Package org.cdk8s.plus24.k8s
Class EnvVar.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.EnvVar.Jsii$Proxy
-
-
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.plus24.k8s.EnvVar
EnvVar.Builder, EnvVar.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(EnvVar.Builder builder)
Constructor that initializes the object based on literal property values passed by theEnvVar.Builder
.protected
Jsii$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()
boolean
equals(Object o)
String
getName()
Name of the environment variable.String
getValue()
Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables.EnvVarSource
getValueFrom()
Source for the environment variable's value.int
hashCode()
-
-
-
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(EnvVar.Builder builder)
Constructor that initializes the object based on literal property values passed by theEnvVar.Builder
.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:EnvVar
Name of the environment variable.Must be a C_IDENTIFIER.
-
getValue
public final String getValue()
Description copied from interface:EnvVar
Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables.If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".
Default: .
-
getValueFrom
public final EnvVarSource getValueFrom()
Description copied from interface:EnvVar
Source for the environment variable's value.Cannot be used if value is not empty.
- Specified by:
getValueFrom
in interfaceEnvVar
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-