EnvironmentSetting Class

  • java.lang.Object
    • com.azure.resourcemanager.batch.models.EnvironmentSetting

public final class EnvironmentSetting

An environment variable to be set on a task process.

Constructor Summary

Constructor Description
EnvironmentSetting()

Creates an instance of EnvironmentSetting class.

Method Summary

Modifier and Type Method and Description
String name()

Get the name property: The name of the environment variable.

void validate()

Validates the instance.

String value()

Get the value property: The value of the environment variable.

EnvironmentSetting withName(String name)

Set the name property: The name of the environment variable.

EnvironmentSetting withValue(String value)

Set the value property: The value of the environment variable.

Methods inherited from java.lang.Object

Constructor Details

EnvironmentSetting

public EnvironmentSetting()

Creates an instance of EnvironmentSetting class.

Method Details

name

public String name()

Get the name property: The name of the environment variable.

Returns:

the name value.

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The value of the environment variable.

Returns:

the value value.

withName

public EnvironmentSetting withName(String name)

Set the name property: The name of the environment variable.

Parameters:

name - the name value to set.

Returns:

the EnvironmentSetting object itself.

withValue

public EnvironmentSetting withValue(String value)

Set the value property: The value of the environment variable.

Parameters:

value - the value value to set.

Returns:

the EnvironmentSetting object itself.

Applies to