EnvironmentSetting Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. EnvironmentSetting
- com.
public final class EnvironmentSetting
An environment variable to be set on a task process.
Constructor Summary
Constructor | Description |
---|---|
EnvironmentSetting() |
Creates an instance of Environment |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name property: The name of the environment variable. |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: The value of the environment variable. |
Environment |
withName(String name)
Set the name property: The name of the environment variable. |
Environment |
withValue(String value)
Set the value property: The value of the environment variable. |
Methods inherited from java.lang.Object
Constructor Details
EnvironmentSetting
public EnvironmentSetting()
Creates an instance of EnvironmentSetting class.
Method Details
name
public String name()
Get the name property: The name of the environment variable.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The value of the environment variable.
Returns:
withName
public EnvironmentSetting withName(String name)
Set the name property: The name of the environment variable.
Parameters:
Returns:
withValue
public EnvironmentSetting withValue(String value)
Set the value property: The value of the environment variable.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for