EnvironmentVariable Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. EnvironmentVariable
- com.
Implements
public final class EnvironmentVariable
implements JsonSerializable<EnvironmentVariable>
Environment Variables for the container.
Constructor Summary
| Constructor | Description |
|---|---|
| EnvironmentVariable() |
Creates an instance of Environment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
|
static
Environment |
fromJson(JsonReader jsonReader)
Reads an instance of Environment |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Environment |
type()
Get the type property: Type of the Environment Variable. |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Value of the Environment variable. |
|
Environment |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Environment |
withType(EnvironmentVariableType type)
Set the type property: Type of the Environment Variable. |
|
Environment |
withValue(String value)
Set the value property: Value of the Environment variable. |
Methods inherited from java.lang.Object
Constructor Details
EnvironmentVariable
public EnvironmentVariable()
Creates an instance of EnvironmentVariable class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Environment Variables for the container.
Returns:
fromJson
public static EnvironmentVariable fromJson(JsonReader jsonReader)
Reads an instance of EnvironmentVariable from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public EnvironmentVariableType type()
Get the type property: Type of the Environment Variable. Possible values are: local - For local variable.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Value of the Environment variable.
Returns:
withAdditionalProperties
public EnvironmentVariable withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Environment Variables for the container.
Parameters:
Returns:
withType
public EnvironmentVariable withType(EnvironmentVariableType type)
Set the type property: Type of the Environment Variable. Possible values are: local - For local variable.
Parameters:
Returns:
withValue
public EnvironmentVariable withValue(String value)
Set the value property: Value of the Environment variable.
Parameters:
Returns: