LeastPrivilegeMode Class

public final class LeastPrivilegeMode
extends ExpandableStringEnum<LeastPrivilegeMode>

SQL IaaS Agent least privilege mode.

Field Summary

Modifier and Type Field and Description
static final LeastPrivilegeMode ENABLED

Static value Enabled for LeastPrivilegeMode.

static final LeastPrivilegeMode NOT_SET

Static value NotSet for LeastPrivilegeMode.

Constructor Summary

Constructor Description
LeastPrivilegeMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LeastPrivilegeMode value.

Method Summary

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

Creates or finds a LeastPrivilegeMode from its string representation.

static Collection<LeastPrivilegeMode> values()

Gets known LeastPrivilegeMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ENABLED

public static final LeastPrivilegeMode ENABLED

Static value Enabled for LeastPrivilegeMode.

NOT_SET

public static final LeastPrivilegeMode NOT_SET

Static value NotSet for LeastPrivilegeMode.

Constructor Details

LeastPrivilegeMode

@Deprecated
public LeastPrivilegeMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LeastPrivilegeMode value.

Method Details

fromString

public static LeastPrivilegeMode fromString(String name)

Creates or finds a LeastPrivilegeMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LeastPrivilegeMode.

values

public static Collection values()

Gets known LeastPrivilegeMode values.

Returns:

known LeastPrivilegeMode values.

Applies to