Class Template
java.lang.Object
org.opensearch.client.opensearch.indices.simulate_template.Template
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Template.Builder,Template>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Template
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Template.Builder,Template>
The configuration for an index template simulation.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Template> Json deserializer forTemplate -
Method Summary
Modifier and TypeMethodDescriptionaliases()Required - The map of alias names to their configurations.static Template.Builderbuilder()booleaninthashCode()final TypeMappingmappings()API name:mappingsstatic Templatevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) final IndexSettingssettings()Required - API name:settingsprotected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forTemplate
-
-
Method Details
-
of
-
aliases
Required - The map of alias names to their configurations.API name:
aliases -
mappings
API name:mappings -
settings
Required - API name:settings -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Template.Builder,Template> - Returns:
- a new builder instance.
-
builder
-
setupTemplateDeserializer
-
hashCode
public int hashCode() -
equals
-