Class EnvironmentSetting
java.lang.Object
com.azure.resourcemanager.batch.models.EnvironmentSetting
An environment variable to be set on a task process.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: The name of the environment variable.void
validate()
Validates the instance.value()
Get the value property: The value of the environment variable.Set the name property: The name of the environment variable.Set the value property: The value of the environment variable.
-
Constructor Details
-
EnvironmentSetting
public EnvironmentSetting()Creates an instance of EnvironmentSetting class.
-
-
Method Details
-
name
Get the name property: The name of the environment variable.- Returns:
- the name value.
-
withName
Set the name property: The name of the environment variable.- Parameters:
name
- the name value to set.- Returns:
- the EnvironmentSetting object itself.
-
value
Get the value property: The value of the environment variable.- Returns:
- the value value.
-
withValue
Set the value property: The value of the environment variable.- Parameters:
value
- the value value to set.- Returns:
- the EnvironmentSetting object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-