StructuredPojo, ToCopyableBuilder<EnvironmentVariable.Builder,EnvironmentVariable>@Generated("software.amazon.awssdk:codegen") public class EnvironmentVariable extends Object implements StructuredPojo, ToCopyableBuilder<EnvironmentVariable.Builder,EnvironmentVariable>
Represents an app's environment variable.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
EnvironmentVariable.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static EnvironmentVariable.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
key() |
(Required) The environment variable's name, which can consist of up to 64 characters and must be specified.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
Boolean |
secure() |
(Optional) Whether the variable's value will be returned by the DescribeApps action.
|
static Class<? extends EnvironmentVariable.Builder> |
serializableBuilderClass() |
|
EnvironmentVariable.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
value() |
(Optional) The environment variable's value, which can be left empty.
|
public 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.
public 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.
public Boolean secure()
(Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an
environment variable's value, set Secure to true. DescribeApps then
returns *****FILTERED***** instead of the actual value. The default value for Secure is
false.
Secure to true. DescribeApps
then returns *****FILTERED***** instead of the actual value. The default value for
Secure is false.public EnvironmentVariable.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<EnvironmentVariable.Builder,EnvironmentVariable>public static EnvironmentVariable.Builder builder()
public static Class<? extends EnvironmentVariable.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.