EnvironmentVariableSetup Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. CustomSetupBase - com.
azure. resourcemanager. synapse. models. EnvironmentVariableSetup
- com.
- com.
public final class EnvironmentVariableSetup
extends CustomSetupBase
The custom setup of setting environment variable.
Constructor Summary
| Constructor | Description |
|---|---|
| EnvironmentVariableSetup() |
Creates an instance of Environment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Environment |
fromJson(JsonReader jsonReader)
Reads an instance of Environment |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of custom setup. |
| void |
validate()
Validates the instance. |
| String |
variableName()
Get the variable |
| String |
variableValue()
Get the variable |
|
Environment |
withVariableName(String variableName)
Set the variable |
|
Environment |
withVariableValue(String variableValue)
Set the variable |
Methods inherited from CustomSetupBase
Methods inherited from java.lang.Object
Constructor Details
EnvironmentVariableSetup
public EnvironmentVariableSetup()
Creates an instance of EnvironmentVariableSetup class.
Method Details
fromJson
public static EnvironmentVariableSetup fromJson(JsonReader jsonReader)
Reads an instance of EnvironmentVariableSetup from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
EnvironmentVariableSetup.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of custom setup.
Overrides:
EnvironmentVariableSetup.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
EnvironmentVariableSetup.validate()variableName
public String variableName()
Get the variableName property: The name of the environment variable.
Returns:
variableValue
public String variableValue()
Get the variableValue property: The value of the environment variable.
Returns:
withVariableName
public EnvironmentVariableSetup withVariableName(String variableName)
Set the variableName property: The name of the environment variable.
Parameters:
Returns:
withVariableValue
public EnvironmentVariableSetup withVariableValue(String variableValue)
Set the variableValue property: The value of the environment variable.
Parameters:
Returns: