EnvironmentVariable Class

  • java.lang.Object
    • com.microsoft.azure.management.containerinstance.EnvironmentVariable

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.

EnvironmentVariable withName(String name)

Set the name of the environment variable.

EnvironmentVariable withSecureValue(String secureValue)

Set the value of the secure environment variable.

EnvironmentVariable withValue(String value)

Set the value of the environment variable.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

EnvironmentVariable

public EnvironmentVariable()

Method Details

name

public String name()

Get the name of the environment variable.

Returns:

the name value

secureValue

public String secureValue()

Get the value of the secure environment variable.

Returns:

the secureValue value

value

public String value()

Get the value of the environment variable.

Returns:

the value value

withName

public EnvironmentVariable withName(String name)

Set the name of the environment variable.

Parameters:

name - the name value to set

Returns:

the EnvironmentVariable object itself.

withSecureValue

public EnvironmentVariable withSecureValue(String secureValue)

Set the value of the secure environment variable.

Parameters:

secureValue - the secureValue value to set

Returns:

the EnvironmentVariable object itself.

withValue

public EnvironmentVariable withValue(String value)

Set the value of the environment variable.

Parameters:

value - the value value to set

Returns:

the EnvironmentVariable object itself.

Applies to