public final class EnvironmentVariableSetup extends CustomSetupBase
Constructor and Description |
---|
EnvironmentVariableSetup() |
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the instance.
|
String |
variableName()
Get the variableName property: The name of the environment variable.
|
String |
variableValue()
Get the variableValue property: The value of the environment variable.
|
EnvironmentVariableSetup |
withVariableName(String variableName)
Set the variableName property: The name of the environment variable.
|
EnvironmentVariableSetup |
withVariableValue(String variableValue)
Set the variableValue property: The value of the environment variable.
|
public String variableName()
public EnvironmentVariableSetup withVariableName(String variableName)
variableName
- the variableName value to set.public String variableValue()
public EnvironmentVariableSetup withVariableValue(String variableValue)
variableValue
- the variableValue value to set.public void validate()
validate
in class CustomSetupBase
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.