Class TemplatesRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.templates.TemplatesRecord
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<TemplatesRecord>
Json deserializer forTemplatesRecord
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The component templates that comprise the index template.final String
The template index patterns.final String
name()
The template name.static TemplatesRecord
final String
order()
The template application order or priority number.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()
final String
version()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTemplatesRecordDeserializer
protected static void setupTemplatesRecordDeserializer(ObjectDeserializer<TemplatesRecord.Builder> op)
-