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 is 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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 is returned by the DescribeApps action. To hide an environment variable's value, set
Securetotrue.DescribeAppsreturns*****FILTERED*****instead of the actual value. The default value forSecureisfalse.- Parameters:
secure- (Optional) Whether the variable's value is returned by the DescribeApps action. To hide an environment variable's value, setSecuretotrue.DescribeAppsreturns*****FILTERED*****instead of the actual value. The default value forSecureisfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-