共用方式為


RestrictionLevel Class

public final class RestrictionLevel
extends ExpandableStringEnum<RestrictionLevel>

The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'.

Field Summary

Modifier and Type Field and Description
static final RestrictionLevel READ_ONLY

Static value ReadOnly for RestrictionLevel.

static final RestrictionLevel UNRESTRICTED

Static value Unrestricted for RestrictionLevel.

Constructor Summary

Constructor Description
RestrictionLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RestrictionLevel value.

Method Summary

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

Creates or finds a RestrictionLevel from its string representation.

static Collection<RestrictionLevel> values()

Gets known RestrictionLevel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

READ_ONLY

public static final RestrictionLevel READ_ONLY

Static value ReadOnly for RestrictionLevel.

UNRESTRICTED

public static final RestrictionLevel UNRESTRICTED

Static value Unrestricted for RestrictionLevel.

Constructor Details

RestrictionLevel

@Deprecated
public RestrictionLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RestrictionLevel value.

Method Details

fromString

public static RestrictionLevel fromString(String name)

Creates or finds a RestrictionLevel from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RestrictionLevel.

values

public static Collection values()

Gets known RestrictionLevel values.

Returns:

known RestrictionLevel values.

Applies to