Enum Class DataSourcePrivilege
- All Implemented Interfaces:
JsonEnum,JsonpSerializable,Serializable,Comparable<DataSourcePrivilege>,Constable
@JsonpDeserializable
public enum DataSourcePrivilege
extends Enum<DataSourcePrivilege>
implements JsonEnum
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface co.elastic.clients.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGrants privilege to create a data source with a matching name.Grants privilege to delete a data source with a matching name.Grants all data source privileges, includingcreate,delete,read, andread_metadata.Grants privilege to attach a dataset to a data source with a matching name.Grants privilege to read a data source's metadata. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic DataSourcePrivilegeReturns the enum constant of this class with the specified name.static DataSourcePrivilege[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Create
Grants privilege to create a data source with a matching name. -
Delete
Grants privilege to delete a data source with a matching name. -
ReadMetadata
Grants privilege to read a data source's metadata. -
Read
Grants privilege to attach a dataset to a data source with a matching name. -
Manage
Grants all data source privileges, includingcreate,delete,read, andread_metadata.
-
-
Field Details
-
_DESERIALIZER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
jsonValue
-