@Generated(value="software.amazon.awssdk:codegen") public final class EnvironmentVariable extends Object implements StructuredPojo, ToCopyableBuilder<EnvironmentVariable.Builder,EnvironmentVariable>
Represents an app's environment variable.
Modifier and Type | Class and Description |
---|---|
static interface |
EnvironmentVariable.Builder |
Modifier and Type | Method and Description |
---|---|
static EnvironmentVariable.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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.
|
copy
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EnvironmentVariable.Builder,EnvironmentVariable>
public static EnvironmentVariable.Builder builder()
public static Class<? extends EnvironmentVariable.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.