Class DataStreamIndex
java.lang.Object
co.elastic.clients.elasticsearch.indices.DataStreamIndex
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamIndex>Json deserializer forDataStreamIndex -
Method Summary
Modifier and TypeMethodDescriptionfinal StringName of the current ILM lifecycle policy configured for this backing index.final StringRequired - Name of the backing index.final StringRequired - Universally unique identifier (UUID) for the index.final ManagedByRequired - Name of the lifecycle system that's currently managing this backing index.static DataStreamIndexfinal booleanRequired - Indicates if ILM should take precedence over DSL in case both are configured to manage this index.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 forDataStreamIndex
-
-
Method Details
-
of
public static DataStreamIndex of(Function<DataStreamIndex.Builder, ObjectBuilder<DataStreamIndex>> fn) -
indexName
Required - Name of the backing index.API name:
index_name -
indexUuid
Required - Universally unique identifier (UUID) for the index.API name:
index_uuid -
ilmPolicy
Name of the current ILM lifecycle policy configured for this backing index.API name:
ilm_policy -
managedBy
Required - Name of the lifecycle system that's currently managing this backing index.API name:
managed_by -
preferIlm
public final boolean preferIlm()Required - Indicates if ILM should take precedence over DSL in case both are configured to manage this index.API name:
prefer_ilm -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataStreamIndexDeserializer
protected static void setupDataStreamIndexDeserializer(ObjectDeserializer<DataStreamIndex.Builder> op)
-