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 RemoteClusterPrivilegesfinal List<RemoteClusterPrivilege>Required - The cluster level privileges that owners of the role have on the remote cluster.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRemoteClusterPrivilegesDeserializer
protected static void setupRemoteClusterPrivilegesDeserializer(ObjectDeserializer<RemoteClusterPrivileges.Builder> op)
-