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 BooleanThis 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 ReplicationAccessvoidserialize(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 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupReplicationAccessDeserializer
protected static void setupReplicationAccessDeserializer(ObjectDeserializer<ReplicationAccess.Builder> op)
-