Class TemplateMapping
java.lang.Object
co.elastic.clients.elasticsearch.indices.TemplateMapping
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TemplateMapping extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemplateMapping.BuilderBuilder forTemplateMapping. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TemplateMapping>_DESERIALIZERJson deserializer forTemplateMapping -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,Alias>aliases()Required - API name:aliasesjava.util.List<java.lang.String>indexPatterns()Required - API name:index_patternsTypeMappingmappings()Required - API name:mappingsstatic TemplateMappingof(java.util.function.Function<TemplateMapping.Builder,ObjectBuilder<TemplateMapping>> fn)intorder()Required - API name:ordervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.util.Map<java.lang.String,JsonData>settings()Required - API name:settingsprotected static voidsetupTemplateMappingDeserializer(ObjectDeserializer<TemplateMapping.Builder> op)java.lang.Longversion()API name:versionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTemplateMapping
-
-
Method Details
-
of
public static TemplateMapping of(java.util.function.Function<TemplateMapping.Builder,ObjectBuilder<TemplateMapping>> fn) -
aliases
Required - API name:aliases -
indexPatterns
public final java.util.List<java.lang.String> indexPatterns()Required - API name:index_patterns -
mappings
Required - API name:mappings -
order
public final int order()Required - API name:order -
settings
Required - API name:settings -
version
@Nullable public final java.lang.Long version()API name:version -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTemplateMappingDeserializer
protected static void setupTemplateMappingDeserializer(ObjectDeserializer<TemplateMapping.Builder> op)
-