public final class EnvironmentVariable extends Object
| Constructor and Description |
|---|
EnvironmentVariable() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: The name of the environment variable.
|
String |
secureValue()
Get the secureValue property: The value of the secure environment variable.
|
void |
validate()
Validates the instance.
|
String |
value()
Get the value property: The value of the environment variable.
|
EnvironmentVariable |
withName(String name)
Set the name property: The name of the environment variable.
|
EnvironmentVariable |
withSecureValue(String secureValue)
Set the secureValue property: The value of the secure environment variable.
|
EnvironmentVariable |
withValue(String value)
Set the value property: The value of the environment variable.
|
public String name()
public EnvironmentVariable withName(String name)
name - the name value to set.public String value()
public EnvironmentVariable withValue(String value)
value - the value value to set.public String secureValue()
public EnvironmentVariable withSecureValue(String secureValue)
secureValue - the secureValue value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.