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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnvironmentVariable.Builderkey(String key)(Required) The environment variable's name, which can consist of up to 64 characters and must be specified.EnvironmentVariable.Buildersecure(Boolean secure)(Optional) Whether the variable's value will be returned by the DescribeApps action.EnvironmentVariable.Buildervalue(String value)(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 Detail
-
key
EnvironmentVariable.Builder key(String 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
EnvironmentVariable.Builder value(String 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
EnvironmentVariable.Builder secure(Boolean secure)
(Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, set
Securetotrue.DescribeAppsthen returns*****FILTERED*****instead of the actual value. The default value forSecureisfalse.- Parameters:
secure- (Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, setSecuretotrue.DescribeAppsthen returns*****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.
-
-