Partilhar via


AccessControlRulesMode Class

public final class AccessControlRulesMode
extends ExpandableStringEnum<AccessControlRulesMode>

This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'.

Field Summary

Modifier and Type Field and Description
static final AccessControlRulesMode AUDIT

Static value Audit for AccessControlRulesMode.

static final AccessControlRulesMode DISABLED

Static value Disabled for AccessControlRulesMode.

static final AccessControlRulesMode ENFORCE

Static value Enforce for AccessControlRulesMode.

Constructor Summary

Constructor Description
AccessControlRulesMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AccessControlRulesMode value.

Method Summary

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

Creates or finds a AccessControlRulesMode from its string representation.

static Collection<AccessControlRulesMode> values()

Gets known AccessControlRulesMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUDIT

public static final AccessControlRulesMode AUDIT

Static value Audit for AccessControlRulesMode.

DISABLED

public static final AccessControlRulesMode DISABLED

Static value Disabled for AccessControlRulesMode.

ENFORCE

public static final AccessControlRulesMode ENFORCE

Static value Enforce for AccessControlRulesMode.

Constructor Details

AccessControlRulesMode

@Deprecated
public AccessControlRulesMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AccessControlRulesMode value.

Method Details

fromString

public static AccessControlRulesMode fromString(String name)

Creates or finds a AccessControlRulesMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AccessControlRulesMode.

values

public static Collection values()

Gets known AccessControlRulesMode values.

Returns:

known AccessControlRulesMode values.

Applies to