EnvironmentVariable Class
- java.
lang. Object - com.
microsoft. azure. management. batchai. EnvironmentVariable
- com.
public class EnvironmentVariable
An environment variable definition.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name of the environment variable. |
String |
value()
Get the value of the environment variable. |
Environment |
withName(String name)
Set the name of the environment variable. |
Environment |
withValue(String value)
Set the value of the environment variable. |
Method Details
name
public String name()
Get the name of the environment variable.
Returns:
value
public String value()
Get the value of the environment variable.
Returns:
withName
public EnvironmentVariable withName(String name)
Set the name of the environment variable.
Parameters:
Returns:
withValue
public EnvironmentVariable withValue(String value)
Set 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