Class ReplicationAccess
java.lang.Object
co.elastic.clients.elasticsearch.security.ReplicationAccess
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ReplicationAccess>
Json deserializer forReplicationAccess
-
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
This needs to be set to true if the patterns in the names field should cover system indices.names()
Required - A list of indices (or index name patterns) to which the permissions in this entry apply.static ReplicationAccess
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 forReplicationAccess
-
-
Method Details
-
of
public static ReplicationAccess of(Function<ReplicationAccess.Builder, ObjectBuilder<ReplicationAccess>> fn) -
names
Required - A list of indices (or index name patterns) to which the permissions in this entry apply.API name:
names
-
allowRestrictedIndices
This needs to be set to true if the patterns in the names field should cover system indices.API name:
allow_restricted_indices
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupReplicationAccessDeserializer
protected static void setupReplicationAccessDeserializer(ObjectDeserializer<ReplicationAccess.Builder> op)
-