Share via


AutoUserScope Class

public final class AutoUserScope
extends ExpandableStringEnum<AutoUserScope>

AutoUserScope enums.

Field Summary

Modifier and Type Field and Description
static final AutoUserScope POOL

Specifies that the Task runs as the common auto user Account which is created on every Compute Node in a Pool.

static final AutoUserScope TASK

Specifies that the service should create a new user for the Task.

Constructor Summary

Constructor Description
AutoUserScope()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AutoUserScope value.

Method Summary

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

Creates or finds a AutoUserScope from its string representation.

static Collection<AutoUserScope> values()

Gets known AutoUserScope values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

POOL

public static final AutoUserScope POOL

Specifies that the Task runs as the common auto user Account which is created on every Compute Node in a Pool.

TASK

public static final AutoUserScope TASK

Specifies that the service should create a new user for the Task.

Constructor Details

AutoUserScope

@Deprecated
public AutoUserScope()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AutoUserScope value.

Method Details

fromString

public static AutoUserScope fromString(String name)

Creates or finds a AutoUserScope from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AutoUserScope.

values

public static Collection<AutoUserScope> values()

Gets known AutoUserScope values.

Returns:

known AutoUserScope values.

Applies to