EnvironmentSetting Class
- java.
lang. Object - com.
azure. compute. batch. models. EnvironmentSetting
- com.
Implements
public final class EnvironmentSetting
implements JsonSerializable<EnvironmentSetting>
An environment variable to be set on a Task process.
Constructor Summary
| Constructor | Description |
|---|---|
| EnvironmentSetting(String name) |
Creates an instance of Environment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Environment |
fromJson(JsonReader jsonReader)
Reads an instance of Environment |
| String |
getName()
Get the name property: The name of the environment variable. |
| String |
getValue()
Get the value property: The value of the environment variable. |
|
Environment |
setValue(String value)
Set the value property: The value of the environment variable. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
EnvironmentSetting
public EnvironmentSetting(String name)
Creates an instance of EnvironmentSetting class.
Parameters:
Method Details
fromJson
public static EnvironmentSetting fromJson(JsonReader jsonReader)
Reads an instance of EnvironmentSetting from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: The name of the environment variable.
Returns:
getValue
public String getValue()
Get the value property: The value of the environment variable.
Returns:
setValue
public EnvironmentSetting setValue(String value)
Set the value property: The value of the environment variable.
Parameters:
Returns: