Class EnvironmentVariableSetup
java.lang.Object
com.azure.resourcemanager.datafactory.models.CustomSetupBase
com.azure.resourcemanager.datafactory.models.EnvironmentVariableSetup
The custom setup of setting environment variable.
-
Constructor Summary
ConstructorDescriptionCreates an instance of EnvironmentVariableSetup class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.Get the variableName property: The name of the environment variable.Get the variableValue property: The value of the environment variable.withVariableName
(String variableName) Set the variableName property: The name of the environment variable.withVariableValue
(String variableValue) Set the variableValue property: The value of the environment variable.
-
Constructor Details
-
EnvironmentVariableSetup
public EnvironmentVariableSetup()Creates an instance of EnvironmentVariableSetup class.
-
-
Method Details
-
variableName
Get the variableName property: The name of the environment variable.- Returns:
- the variableName value.
-
withVariableName
Set the variableName property: The name of the environment variable.- Parameters:
variableName
- the variableName value to set.- Returns:
- the EnvironmentVariableSetup object itself.
-
variableValue
Get the variableValue property: The value of the environment variable.- Returns:
- the variableValue value.
-
withVariableValue
Set the variableValue property: The value of the environment variable.- Parameters:
variableValue
- the variableValue value to set.- Returns:
- the EnvironmentVariableSetup object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCustomSetupBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-