Class Role
java.lang.Object
co.elastic.clients.elasticsearch.security.get_role.Role
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal List<ApplicationPrivileges>
Required - API name:applications
cluster()
Required - API name:cluster
final String
API name:description
global()
API name:global
final List<IndicesPrivileges>
indices()
Required - API name:indices
metadata()
Required - API name:metadata
static Role
of
(Function<Role.Builder, ObjectBuilder<Role>> fn) final List<RemoteClusterPrivileges>
API name:remote_cluster
final List<RemoteIndicesPrivileges>
API name:remote_indices
final List<RoleTemplate>
API name:role_templates
runAs()
API name:run_as
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
API name:transient_metadata
-
Field Details
-
_DESERIALIZER
Json deserializer forRole
-
-
Method Details
-
of
-
cluster
Required - API name:cluster
-
indices
Required - API name:indices
-
remoteIndices
API name:remote_indices
-
remoteCluster
API name:remote_cluster
-
metadata
Required - API name:metadata
-
description
API name:description
-
runAs
API name:run_as
-
transientMetadata
API name:transient_metadata
-
applications
Required - API name:applications
-
roleTemplates
API name:role_templates
-
global
API name:global
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRoleDeserializer
-