AccessKeysAuthentication Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. redisenterprise. models. AccessKeysAuthentication
- com.
- com.
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
Access |
DISABLED
Static value Disabled for Access |
|
static final
Access |
ENABLED
Static value Enabled for Access |
Constructor Summary
| Constructor | Description |
|---|---|
| AccessKeysAuthentication() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Access |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Access |
fromString(String name)
Creates or finds a Access |
|
static
Collection<Access |
values()
Gets known Access |
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
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:
Returns:
values
public static Collection<AccessKeysAuthentication> values()
Gets known AccessKeysAuthentication values.
Returns: