EnvironmentType Class

public final class EnvironmentType
extends ExpandableStringEnum<EnvironmentType>

Environment type is either user created or curated by Azure ML service.

Field Summary

Modifier and Type Field and Description
static final EnvironmentType CURATED

Static value Curated for EnvironmentType.

static final EnvironmentType USER_CREATED

Static value UserCreated for EnvironmentType.

Constructor Summary

Constructor Description
EnvironmentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EnvironmentType value.

Method Summary

Modifier and Type Method and Description
static EnvironmentType fromString(String name)

Creates or finds a EnvironmentType from its string representation.

static Collection<EnvironmentType> values()

Gets known EnvironmentType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CURATED

public static final EnvironmentType CURATED

Static value Curated for EnvironmentType.

USER_CREATED

public static final EnvironmentType USER_CREATED

Static value UserCreated for EnvironmentType.

Constructor Details

EnvironmentType

@Deprecated
public EnvironmentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EnvironmentType value.

Method Details

fromString

public static EnvironmentType fromString(String name)

Creates or finds a EnvironmentType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EnvironmentType.

values

public static Collection<EnvironmentType> values()

Gets known EnvironmentType values.

Returns:

known EnvironmentType values.

Applies to