@Stability(value=Stable) public static final class CfnApp.EnvironmentVariableProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApp.EnvironmentVariableProperty>
CfnApp.EnvironmentVariableProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApp.EnvironmentVariableProperty |
build()
Builds the configured instance.
|
CfnApp.EnvironmentVariableProperty.Builder |
key(String key)
Sets the value of
CfnApp.EnvironmentVariableProperty.getKey() |
CfnApp.EnvironmentVariableProperty.Builder |
secure(Boolean secure)
Sets the value of
CfnApp.EnvironmentVariableProperty.getSecure() |
CfnApp.EnvironmentVariableProperty.Builder |
secure(IResolvable secure)
Sets the value of
CfnApp.EnvironmentVariableProperty.getSecure() |
CfnApp.EnvironmentVariableProperty.Builder |
value(String value)
Sets the value of
CfnApp.EnvironmentVariableProperty.getValue() |
@Stability(value=Stable) public CfnApp.EnvironmentVariableProperty.Builder key(String key)
CfnApp.EnvironmentVariableProperty.getKey()key - (Required) The environment variable's name, which can consist of up to 64 characters and must be specified. This parameter is required.
The name can contain upper- and lowercase letters, numbers, and underscores (_), but it must start with a letter or underscore.this@Stability(value=Stable) public CfnApp.EnvironmentVariableProperty.Builder value(String value)
CfnApp.EnvironmentVariableProperty.getValue()value - (Optional) The environment variable's value, which can be left empty. This parameter is required.
If you specify a value, it can contain up to 256 characters, which must all be printable.this@Stability(value=Stable) public CfnApp.EnvironmentVariableProperty.Builder secure(Boolean secure)
CfnApp.EnvironmentVariableProperty.getSecure()secure - (Optional) Whether the variable's value is returned by the [DescribeApps](https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeApps) action. To hide an environment variable's value, set `Secure` to `true` . `DescribeApps` returns `*****FILTERED*****` instead of the actual value. The default value for `Secure` is `false` .this@Stability(value=Stable) public CfnApp.EnvironmentVariableProperty.Builder secure(IResolvable secure)
CfnApp.EnvironmentVariableProperty.getSecure()secure - (Optional) Whether the variable's value is returned by the [DescribeApps](https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeApps) action. To hide an environment variable's value, set `Secure` to `true` . `DescribeApps` returns `*****FILTERED*****` instead of the actual value. The default value for `Secure` is `false` .this@Stability(value=Stable) public CfnApp.EnvironmentVariableProperty build()
build in interface software.amazon.jsii.Builder<CfnApp.EnvironmentVariableProperty>CfnApp.EnvironmentVariablePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.