public static interface EnvironmentVariable.Builder extends CopyableBuilder<EnvironmentVariable.Builder,EnvironmentVariable>
Modifier and Type | Method and Description |
---|---|
EnvironmentVariable.Builder |
name(String name)
The name or key of the environment variable.
|
EnvironmentVariable.Builder |
type(EnvironmentVariableType type)
The type of environment variable.
|
EnvironmentVariable.Builder |
type(String type)
The type of environment variable.
|
EnvironmentVariable.Builder |
value(String value)
The value of the environment variable.
|
copy
applyMutation, build
EnvironmentVariable.Builder name(String name)
The name or key of the environment variable.
name
- The name or key of the environment variable.EnvironmentVariable.Builder value(String value)
The value of the environment variable.
We strongly discourage using environment variables to store sensitive values, especially AWS secret key IDs and secret access keys. Environment variables can be displayed in plain text using tools such as the AWS CodeBuild console and the AWS Command Line Interface (AWS CLI).
value
- The value of the environment variable. We strongly discourage using environment variables to store sensitive values, especially AWS secret key IDs and secret access keys. Environment variables can be displayed in plain text using tools such as the AWS CodeBuild console and the AWS Command Line Interface (AWS CLI).
EnvironmentVariable.Builder type(String type)
The type of environment variable. Valid values include:
PARAMETER_STORE
: An environment variable stored in Amazon EC2 Systems Manager Parameter Store.
PLAINTEXT
: An environment variable in plaintext format.
type
- The type of environment variable. Valid values include:
PARAMETER_STORE
: An environment variable stored in Amazon EC2 Systems Manager Parameter
Store.
PLAINTEXT
: An environment variable in plaintext format.
EnvironmentVariableType
,
EnvironmentVariableType
EnvironmentVariable.Builder type(EnvironmentVariableType type)
The type of environment variable. Valid values include:
PARAMETER_STORE
: An environment variable stored in Amazon EC2 Systems Manager Parameter Store.
PLAINTEXT
: An environment variable in plaintext format.
type
- The type of environment variable. Valid values include:
PARAMETER_STORE
: An environment variable stored in Amazon EC2 Systems Manager Parameter
Store.
PLAINTEXT
: An environment variable in plaintext format.
EnvironmentVariableType
,
EnvironmentVariableType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.