Class RemoteClusterPrivileges
java.lang.Object
co.elastic.clients.elasticsearch.security.RemoteClusterPrivileges
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class RemoteClusterPrivileges
extends Object
implements JsonpSerializable
The subset of cluster level privileges that can be defined for remote
clusters.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RemoteClusterPrivileges>
Json deserializer forRemoteClusterPrivileges
-
Method Summary
Modifier and TypeMethodDescriptionclusters()
Required - A list of cluster aliases to which the permissions in this entry apply.static RemoteClusterPrivileges
final List<RemoteClusterPrivilege>
Required - The cluster level privileges that owners of the role have on the remote cluster.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()
-
Field Details
-
_DESERIALIZER
Json deserializer forRemoteClusterPrivileges
-
-
Method Details
-
of
public static RemoteClusterPrivileges of(Function<RemoteClusterPrivileges.Builder, ObjectBuilder<RemoteClusterPrivileges>> fn) -
clusters
Required - A list of cluster aliases to which the permissions in this entry apply.API name:
clusters
-
privileges
Required - The cluster level privileges that owners of the role have on the remote cluster.API name:
privileges
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRemoteClusterPrivilegesDeserializer
protected static void setupRemoteClusterPrivilegesDeserializer(ObjectDeserializer<RemoteClusterPrivileges.Builder> op)
-