Class Template
java.lang.Object
co.elastic.clients.elasticsearch.indices.simulate_template.Template
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Template extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Template.Builder
Builder forTemplate
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Template>
_DESERIALIZER
Json deserializer forTemplate
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,Alias>
aliases()
Required - API name:aliases
TypeMapping
mappings()
Required - API name:mappings
static Template
of(java.util.function.Function<Template.Builder,ObjectBuilder<Template>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
IndexSettings
settings()
Required - API name:settings
protected static void
setupTemplateDeserializer(ObjectDeserializer<Template.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTemplate
-
-
Method Details
-
of
public static Template of(java.util.function.Function<Template.Builder,ObjectBuilder<Template>> fn) -
aliases
Required - API name:aliases
-
mappings
Required - API name:mappings
-
settings
Required - API name:settings
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupTemplateDeserializer
-