Share via


AccessKeysAuthentication Class

public final class AccessKeysAuthentication
extends ExpandableStringEnum<AccessKeysAuthentication>

This property can be Enabled/Disabled to allow or deny access with the current access keys. Can be updated even after database is created.

Field Summary

Modifier and Type Field and Description
static final AccessKeysAuthentication DISABLED

Static value Disabled for AccessKeysAuthentication.

static final AccessKeysAuthentication ENABLED

Static value Enabled for AccessKeysAuthentication.

Constructor Summary

Constructor Description
AccessKeysAuthentication()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AccessKeysAuthentication value.

Method Summary

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

Creates or finds a AccessKeysAuthentication from its string representation.

static Collection<AccessKeysAuthentication> values()

Gets known AccessKeysAuthentication values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final AccessKeysAuthentication DISABLED

Static value Disabled for AccessKeysAuthentication.

ENABLED

public static final AccessKeysAuthentication ENABLED

Static value Enabled for AccessKeysAuthentication.

Constructor Details

AccessKeysAuthentication

@Deprecated
public AccessKeysAuthentication()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AccessKeysAuthentication value.

Method Details

fromString

public static AccessKeysAuthentication fromString(String name)

Creates or finds a AccessKeysAuthentication from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AccessKeysAuthentication.

values

public static Collection<AccessKeysAuthentication> values()

Gets known AccessKeysAuthentication values.

Returns:

known AccessKeysAuthentication values.

Applies to