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 String
Name of the current ILM lifecycle policy configured for this backing index.final String
Required - Name of the backing index.final String
Required - Universally unique identifier (UUID) for the index.final ManagedBy
Required - Name of the lifecycle system that's currently managing this backing index.static DataStreamIndex
final boolean
Required - Indicates if ILM should take precedence over DSL in case both are configured to manage this index.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 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataStreamIndexDeserializer
protected static void setupDataStreamIndexDeserializer(ObjectDeserializer<DataStreamIndex.Builder> op)
-