Class EnvironmentVariable
- All Implemented Interfaces:
Serializable
,Cloneable
Represents an app's environment variable.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getKey()
(Required) The environment variable's name, which can consist of up to 64 characters and must be specified.(Optional) Whether the variable's value will be returned by the DescribeApps action.getValue()
(Optional) The environment variable's value, which can be left empty.int
hashCode()
isSecure()
(Optional) Whether the variable's value will be returned by the DescribeApps action.void
(Required) The environment variable's name, which can consist of up to 64 characters and must be specified.void
(Optional) Whether the variable's value will be returned by the DescribeApps action.void
(Optional) The environment variable's value, which can be left empty.toString()
Returns a string representation of this object; useful for testing and debugging.(Required) The environment variable's name, which can consist of up to 64 characters and must be specified.withSecure
(Boolean secure) (Optional) Whether the variable's value will be returned by the DescribeApps action.(Optional) The environment variable's value, which can be left empty.
-
Constructor Details
-
EnvironmentVariable
public EnvironmentVariable()
-
-
Method Details
-
setKey
(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.
- Parameters:
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.
-
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.
- Returns:
- (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.
-
withKey
(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
(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.
- Parameters:
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.
-
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.
- Returns:
- (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.
-
withValue
(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSecure
(Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, set
Secure
totrue
.DescribeApps
then returns*****FILTERED*****
instead of the actual value. The default value forSecure
isfalse
.- Parameters:
secure
- (Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, setSecure
totrue
.DescribeApps
then returns*****FILTERED*****
instead of the actual value. The default value forSecure
isfalse
.
-
getSecure
(Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, set
Secure
totrue
.DescribeApps
then returns*****FILTERED*****
instead of the actual value. The default value forSecure
isfalse
.- Returns:
- (Optional) Whether the variable's value will be returned by the
DescribeApps action. To conceal an environment variable's
value, set
Secure
totrue
.DescribeApps
then returns*****FILTERED*****
instead of the actual value. The default value forSecure
isfalse
.
-
withSecure
(Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, set
Secure
totrue
.DescribeApps
then returns*****FILTERED*****
instead of the actual value. The default value forSecure
isfalse
.- Parameters:
secure
- (Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, setSecure
totrue
.DescribeApps
then returns*****FILTERED*****
instead of the actual value. The default value forSecure
isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isSecure
(Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, set
Secure
totrue
.DescribeApps
then returns*****FILTERED*****
instead of the actual value. The default value forSecure
isfalse
.- Returns:
- (Optional) Whether the variable's value will be returned by the
DescribeApps action. To conceal an environment variable's
value, set
Secure
totrue
.DescribeApps
then returns*****FILTERED*****
instead of the actual value. The default value forSecure
isfalse
.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-