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 IndexModeThe index mode of this backing index of the data stream.final StringRequired - Name of the backing index.final StringRequired - Universally unique identifier (UUID) for the index.final ManagedByName of the lifecycle system that's currently managing this backing index.static DataStreamIndexfinal BooleanIndicates 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
Name of the lifecycle system that's currently managing this backing index.API name:
managed_by -
preferIlm
Indicates if ILM should take precedence over DSL in case both are configured to manage this index.API name:
prefer_ilm -
indexMode
The index mode of this backing index of the data stream.API name:
index_mode -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataStreamIndexDeserializer
protected static void setupDataStreamIndexDeserializer(ObjectDeserializer<DataStreamIndex.Builder> op)
-