Interface EnvironmentVariable.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EnvironmentVariable.Builder,
,EnvironmentVariable> SdkBuilder<EnvironmentVariable.Builder,
,EnvironmentVariable> SdkPojo
- Enclosing class:
EnvironmentVariable
public static interface EnvironmentVariable.Builder
extends SdkPojo, CopyableBuilder<EnvironmentVariable.Builder,EnvironmentVariable>
-
Method Summary
Modifier and TypeMethodDescription(Required) The environment variable's name, which can consist of up to 64 characters and must be specified.(Optional) Whether the variable's value will be returned by the DescribeApps action.(Optional) The environment variable's value, which can be left empty.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
key
(Required) The environment variable's name, which can consist of up to 64 characters and must be specified. The name can contain upper- and lowercase letters, numbers, and underscores (_), but it must start with a letter or underscore.
- Parameters:
key
- (Required) The environment variable's name, which can consist of up to 64 characters and must be specified. The name can contain upper- and lowercase letters, numbers, and underscores (_), but it must start with a letter or underscore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
(Optional) The environment variable's value, which can be left empty. If you specify a value, it can contain up to 256 characters, which must all be printable.
- Parameters:
value
- (Optional) The environment variable's value, which can be left empty. If you specify a value, it can contain up to 256 characters, which must all be printable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secure
(Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, set
Secure
totrue
.DescribeApps
then returns*****FILTERED*****
instead of the actual value. The default value forSecure
isfalse
.- Parameters:
secure
- (Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, setSecure
totrue
.DescribeApps
then returns*****FILTERED*****
instead of the actual value. The default value forSecure
isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-