Class Template

java.lang.Object
org.elasticsearch.cluster.AbstractDiffable<Template>
org.elasticsearch.cluster.metadata.Template
All Implemented Interfaces:
Diffable<Template>, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class Template extends AbstractDiffable<Template> implements org.elasticsearch.common.xcontent.ToXContentObject
A template consists of optional settings, mappings, or alias configuration for an index, however, it is entirely independent from an index. It's a building block forming part of a regular index template and a ComponentTemplate.