EnvironmentVariable Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. EnvironmentVariable
- com.
Implements
public final class EnvironmentVariable
implements JsonSerializable<EnvironmentVariable>
The EnvironmentVariable model.
Constructor Summary
Constructor | Description |
---|---|
EnvironmentVariable() |
Creates an instance of Environment |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Environment |
fromJson(JsonReader jsonReader)
Reads an instance of Environment |
String |
name()
Get the name property: Environment variable name. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: Environment variable value. |
Environment |
withName(String name)
Set the name property: Environment variable name. |
Environment |
withValue(String value)
Set the value property: Environment variable value. |
Methods inherited from java.lang.Object
Constructor Details
EnvironmentVariable
public EnvironmentVariable()
Creates an instance of EnvironmentVariable class.
Method Details
fromJson
public static EnvironmentVariable fromJson(JsonReader jsonReader)
Reads an instance of EnvironmentVariable from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Environment variable name.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Environment variable value.
Returns:
withName
public EnvironmentVariable withName(String name)
Set the name property: Environment variable name.
Parameters:
Returns:
withValue
public EnvironmentVariable withValue(String value)
Set the value property: Environment variable value.
Parameters:
Returns:
Applies to
Azure SDK for Java