public static enum ScopesSpec.AuthzScope extends java.lang.Enum<ScopesSpec.AuthzScope>
| Enum Constant and Description |
|---|
ALTER
ALTER
|
ALTER_CONFIGS
ALTER_CONFIGS or ALTERCONFIGS
|
CLUSTER_ACTION
CLUSTER_ACTION or CLUSTERACTION
|
CREATE
CREATE
|
DELETE
DELETE
|
DESCRIBE
DESCRIBE
|
DESCRIBE_CONFIGS
DESCRIBE_CONFIGS or DESCRIBECONFIGS
|
IDEMPOTENT_WRITE
IDEMPOTENT_WRITE or IDEMPOTENTWRITE
|
READ
READ
|
WRITE
WRITE
|
| Modifier and Type | Method and Description |
|---|---|
static ScopesSpec.AuthzScope |
of(java.lang.String grantValue)
Get a AuthzScope enum value corresponding to the passed grant
|
static ScopesSpec.AuthzScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScopesSpec.AuthzScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScopesSpec.AuthzScope CREATE
public static final ScopesSpec.AuthzScope READ
public static final ScopesSpec.AuthzScope WRITE
public static final ScopesSpec.AuthzScope DELETE
public static final ScopesSpec.AuthzScope ALTER
public static final ScopesSpec.AuthzScope DESCRIBE
public static final ScopesSpec.AuthzScope ALTER_CONFIGS
public static final ScopesSpec.AuthzScope DESCRIBE_CONFIGS
public static final ScopesSpec.AuthzScope CLUSTER_ACTION
public static final ScopesSpec.AuthzScope IDEMPOTENT_WRITE
public static ScopesSpec.AuthzScope[] values()
for (ScopesSpec.AuthzScope c : ScopesSpec.AuthzScope.values()) System.out.println(c);
public static ScopesSpec.AuthzScope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ScopesSpec.AuthzScope of(java.lang.String grantValue)
grantValue - Grant as a stringCopyright © 2023. All rights reserved.