EnvironmentVariable Class
- java.
lang. Object - com.
microsoft. azure. management. containerinstance. EnvironmentVariable
- com.
public class EnvironmentVariable
The environment variable to set within the container instance.
Constructor Summary
Constructor | Description | |
---|---|---|
EnvironmentVariable() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
name()
Get the name of the environment variable. |
java.lang.String |
secureValue()
Get the value of the secure environment variable. |
java.lang.String |
value()
Get the value of the environment variable. |
Environment |
withName(String name)
Set the name of the environment variable. |
Environment |
withSecureValue(String secureValue)
Set the value of the secure environment variable. |
Environment |
withValue(String value)
Set the value of the environment variable. |
Methods inherited from java.lang.Object
Constructor Details
EnvironmentVariable
public EnvironmentVariable()
Method Details
name
public String name()
Get the name of the environment variable.
Returns:
secureValue
public String secureValue()
Get the value of the secure 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:
withSecureValue
public EnvironmentVariable withSecureValue(String secureValue)
Set the value of the secure 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