public class EnvironmentVariable extends Object implements Serializable, Cloneable
Represents an app's environment variable.
Constructor and Description |
---|
EnvironmentVariable() |
Modifier and Type | Method and Description |
---|---|
EnvironmentVariable |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
(Required) The environment variable's name, which can consist of up to 64
characters and must be specified.
|
Boolean |
getSecure()
(Optional) Whether the variable's value will be returned by the
DescribeApps action.
|
String |
getValue()
(Optional) The environment variable's value, which can be left empty.
|
int |
hashCode() |
Boolean |
isSecure()
(Optional) Whether the variable's value will be returned by the
DescribeApps action.
|
void |
setKey(String key)
(Required) The environment variable's name, which can consist of up to 64
characters and must be specified.
|
void |
setSecure(Boolean secure)
(Optional) Whether the variable's value will be returned by the
DescribeApps action.
|
void |
setValue(String value)
(Optional) The environment variable's value, which can be left empty.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnvironmentVariable |
withKey(String key)
(Required) The environment variable's name, which can consist of up to 64
characters and must be specified.
|
EnvironmentVariable |
withSecure(Boolean secure)
(Optional) Whether the variable's value will be returned by the
DescribeApps action.
|
EnvironmentVariable |
withValue(String value)
(Optional) The environment variable's value, which can be left empty.
|
public void setKey(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.
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 getKey()
(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 EnvironmentVariable withKey(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.
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 void setValue(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.
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 String getValue()
(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 EnvironmentVariable withValue(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.
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 void setSecure(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
- (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
.public Boolean getSecure()
(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 withSecure(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
- (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
.public Boolean isSecure()
(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 String toString()
toString
in class Object
Object.toString()
public EnvironmentVariable clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.