Class TemplatesRecord

java.lang.Object
co.elastic.clients.elasticsearch.cat.templates.TemplatesRecord
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class TemplatesRecord extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • name

      @Nullable public final String name()
      The template name.

      API name: name

    • indexPatterns

      @Nullable public final String indexPatterns()
      The template index patterns.

      API name: index_patterns

    • order

      @Nullable public final String order()
      The template application order or priority number.

      API name: order

    • version

      @Nullable public final String version()
      The template version.

      API name: version

    • composedOf

      @Nullable public final String composedOf()
      The component templates that comprise the index template.

      API name: composed_of

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupTemplatesRecordDeserializer

      protected static void setupTemplatesRecordDeserializer(ObjectDeserializer<TemplatesRecord.Builder> op)