Class EnvironmentVariable
java.lang.Object
com.azure.resourcemanager.containerinstance.models.EnvironmentVariable
The environment variable to set within the container instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: The name of the environment variable.Get the secureValue property: The value of the secure environment variable.voidvalidate()Validates the instance.value()Get the value property: The value of the environment variable.Set the name property: The name of the environment variable.withSecureValue(String secureValue) Set the secureValue property: The value of the secure environment variable.Set the value property: The value of the environment variable.
-
Constructor Details
-
EnvironmentVariable
public EnvironmentVariable()
-
-
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 EnvironmentVariable 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 EnvironmentVariable object itself.
-
secureValue
Get the secureValue property: The value of the secure environment variable.- Returns:
- the secureValue value.
-
withSecureValue
Set the secureValue property: The value of the secure environment variable.- Parameters:
secureValue- the secureValue value to set.- Returns:
- the EnvironmentVariable object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-