EnvironmentVariable Class

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

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.

EnvironmentVariable withName(String name)

Set the name of the environment variable.

EnvironmentVariable withValue(String value)

Set the value of the environment variable.

Method Details

name

public String name()

Get the name of the environment variable.

Returns:

the name 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.

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