All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.cxapi.EnvironmentUtils Maven / Gradle / Ivy

There is a newer version: 2.167.1
Show newest version
package software.amazon.awscdk.cxapi;

/**
 * Example:
 * 

*

 * // The code below shows an example of how to instantiate this type.
 * // The values are placeholders you should change.
 * import software.amazon.awscdk.cxapi.*;
 * EnvironmentUtils environmentUtils = new EnvironmentUtils();
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-05T03:43:37.229Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.cxapi.$Module.class, fqn = "@aws-cdk/cx-api.EnvironmentUtils") public class EnvironmentUtils extends software.amazon.jsii.JsiiObject { protected EnvironmentUtils(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected EnvironmentUtils(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public EnvironmentUtils() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); } /** * Format an environment string from an account and region. *

* @param account This parameter is required. * @param region This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull java.lang.String format(final @org.jetbrains.annotations.NotNull java.lang.String account, final @org.jetbrains.annotations.NotNull java.lang.String region) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.cxapi.EnvironmentUtils.class, "format", software.amazon.jsii.NativeType.forClass(java.lang.String.class), new Object[] { java.util.Objects.requireNonNull(account, "account is required"), java.util.Objects.requireNonNull(region, "region is required") }); } /** * Build an environment object from an account and region. *

* @param account This parameter is required. * @param region This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.cxapi.Environment make(final @org.jetbrains.annotations.NotNull java.lang.String account, final @org.jetbrains.annotations.NotNull java.lang.String region) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.cxapi.EnvironmentUtils.class, "make", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.cxapi.Environment.class), new Object[] { java.util.Objects.requireNonNull(account, "account is required"), java.util.Objects.requireNonNull(region, "region is required") }); } /** * @param environment This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.cxapi.Environment parse(final @org.jetbrains.annotations.NotNull java.lang.String environment) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.cxapi.EnvironmentUtils.class, "parse", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.cxapi.Environment.class), new Object[] { java.util.Objects.requireNonNull(environment, "environment is required") }); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy