Class EnvVar.Jsii$Proxy

  • All Implemented Interfaces:
    EnvVar, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    EnvVar

    @Stability(Stable)
    @Internal
    public static final class EnvVar.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements EnvVar
    An implementation for EnvVar
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(EnvVar.Builder builder)
      Constructor that initializes the object based on literal property values passed by the EnvVar.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • 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 the EnvVar.Builder.
    • Method Detail

      • getName

        public final String getName()
        Description copied from interface: EnvVar
        Name of the environment variable.

        Must be a C_IDENTIFIER.

        Specified by:
        getName in interface EnvVar
      • 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: .

        Specified by:
        getValue in interface EnvVar
      • 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 interface EnvVar
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object