Class EnvironmentVariableSetup
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.CustomSetupBase
-
- com.azure.resourcemanager.datafactory.models.EnvironmentVariableSetup
-
public final class EnvironmentVariableSetup extends CustomSetupBase
The custom setup of setting environment variable.
-
-
Constructor Summary
Constructors Constructor Description EnvironmentVariableSetup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
variableName
public String variableName()
Get the variableName property: The name of the environment variable.- Returns:
- the variableName value.
-
withVariableName
public EnvironmentVariableSetup withVariableName(String variableName)
Set the variableName property: The name of the environment variable.- Parameters:
variableName
- the variableName value to set.- Returns:
- the EnvironmentVariableSetup object itself.
-
variableValue
public String variableValue()
Get the variableValue property: The value of the environment variable.- Returns:
- the variableValue value.
-
withVariableValue
public EnvironmentVariableSetup withVariableValue(String variableValue)
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.
-
-