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 String getKey()
public void setKey(String key)
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 EnvironmentVariable withKey(String key)
Returns a reference to this object so that method calls can be chained together.
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 getValue()
public void setValue(String value)
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 EnvironmentVariable withValue(String value)
Returns a reference to this object so that method calls can be chained together.
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 isSecure()
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 void setSecure(Boolean secure)
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 EnvironmentVariable withSecure(Boolean secure)
Secure
to true
.
DescribeApps
then returns *****FILTERED*****
instead of the actual value. The default value for Secure
is false
.
Returns a reference to this object so that method calls can be chained together.
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()
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 © 2015. All rights reserved.