Class TemplatesRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.templates.TemplatesRecord
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TemplatesRecord>Json deserializer forTemplatesRecord -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe component templates that comprise the index template.final StringThe template index patterns.final Stringname()The template name.static TemplatesRecordfinal Stringorder()The template application order or priority number.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()final Stringversion()The template version.
-
Field Details
-
_DESERIALIZER
Json deserializer forTemplatesRecord
-
-
Method Details
-
of
public static TemplatesRecord of(Function<TemplatesRecord.Builder, ObjectBuilder<TemplatesRecord>> fn) -
name
The template name.API name:
name -
indexPatterns
The template index patterns.API name:
index_patterns -
order
The template application order or priority number.API name:
order -
version
The template version.API name:
version -
composedOf
The component templates that comprise the index template.API name:
composed_of -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTemplatesRecordDeserializer
protected static void setupTemplatesRecordDeserializer(ObjectDeserializer<TemplatesRecord.Builder> op)
-