Package io.github.cdklabs.projen.gitlab
Class Environment.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.gitlab.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 forEnvironment
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.gitlab.Environment
Environment.Builder, Environment.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(Environment.Builder builder)Constructor that initializes the object based on literal property values passed by theEnvironment.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)ActiongetAction()(experimental) Specifies what this job will do.StringgetAutoStopIn()(experimental) The amount of time it should take before Gitlab will automatically stop the environment.DeploymentTiergetDeploymentTier()(experimental) Explicitly specifies the tier of the deployment environment if non-standard environment name is used.KubernetesConfiggetKubernetes()(experimental) Used to configure the kubernetes deployment for this environment.StringgetName()(experimental) The name of the environment, e.g.StringgetOnStop()(experimental) The name of a job to execute when the environment is about to be stopped.StringgetUrl()(experimental) When set, this will expose buttons in various places for the current environment in Gitlab, that will take you to the defined URL.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(Environment.Builder builder)
Constructor that initializes the object based on literal property values passed by theEnvironment.Builder.
-
-
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:
getNamein interfaceEnvironment
-
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:
getActionin interfaceEnvironment
-
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:
getAutoStopInin interfaceEnvironment
-
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:
getDeploymentTierin interfaceEnvironment
-
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:
getKubernetesin interfaceEnvironment
-
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:
getOnStopin interfaceEnvironment
-
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:
getUrlin interfaceEnvironment
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-