Class Environment.Jsii$Proxy

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

    @Stability(Experimental)
    @Internal
    public static final class Environment.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements Environment
    An implementation for Environment
    • 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​(Environment.Builder builder)
      Constructor that initializes the object based on literal property values passed by the Environment.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)  
      Action getAction()
      (experimental) Specifies what this job will do.
      String getAutoStopIn()
      (experimental) The amount of time it should take before Gitlab will automatically stop the environment.
      DeploymentTier getDeploymentTier()
      (experimental) Explicitly specifies the tier of the deployment environment if non-standard environment name is used.
      KubernetesConfig getKubernetes()
      (experimental) Used to configure the kubernetes deployment for this environment.
      String getName()
      (experimental) The name of the environment, e.g.
      String getOnStop()
      (experimental) The name of a job to execute when the environment is about to be stopped.
      String getUrl()
      (experimental) When set, this will expose buttons in various places for the current environment in Gitlab, that will take you to the defined URL.
      int hashCode()  
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
    • 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.
    • Method Detail

      • getName

        public final String getName()
        Description copied from interface: Environment
        (experimental) The name of the environment, e.g. 'qa', 'staging', 'production'.
        Specified by:
        getName in interface Environment
      • getAction

        public final Action getAction()
        Description copied from interface: Environment
        (experimental) Specifies what this job will do.

        'start' (default) indicates the job will start the deployment. 'prepare' indicates this will not affect the deployment. 'stop' indicates this will stop the deployment.

        Specified by:
        getAction in interface Environment
      • getAutoStopIn

        public final String getAutoStopIn()
        Description copied from interface: Environment
        (experimental) The amount of time it should take before Gitlab will automatically stop the environment.

        Supports a wide variety of formats, e.g. '1 week', '3 mins 4 sec', '2 hrs 20 min', '2h20min', '6 mos 1 day', '47 yrs 6 mos and 4d', '3 weeks and 2 days'.

        Specified by:
        getAutoStopIn in interface Environment
      • getDeploymentTier

        public final DeploymentTier getDeploymentTier()
        Description copied from interface: Environment
        (experimental) Explicitly specifies the tier of the deployment environment if non-standard environment name is used.
        Specified by:
        getDeploymentTier in interface Environment
      • getKubernetes

        public final KubernetesConfig getKubernetes()
        Description copied from interface: Environment
        (experimental) Used to configure the kubernetes deployment for this environment.

        This is currently not supported for kubernetes clusters that are managed by Gitlab.

        Specified by:
        getKubernetes in interface Environment
      • getOnStop

        public final String getOnStop()
        Description copied from interface: Environment
        (experimental) The name of a job to execute when the environment is about to be stopped.
        Specified by:
        getOnStop in interface Environment
      • getUrl

        public final String getUrl()
        Description copied from interface: Environment
        (experimental) When set, this will expose buttons in various places for the current environment in Gitlab, that will take you to the defined URL.
        Specified by:
        getUrl in interface Environment
      • $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