Class TemplatesRecord
java.lang.Object
org.opensearch.client.opensearch.cat.templates.TemplatesRecord
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<TemplatesRecord.Builder,TemplatesRecord>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class TemplatesRecord
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<TemplatesRecord.Builder,TemplatesRecord>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TemplatesRecord> Json deserializer forTemplatesRecord -
Method Summary
Modifier and TypeMethodDescriptionstatic TemplatesRecord.Builderbuilder()final StringThe component templates that comprise the index template.booleaninthashCode()final StringThe template index patterns.final Stringname()API name:namestatic TemplatesRecordfinal Stringorder()The template application order or priority number.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringversion()The template version.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 forTemplatesRecord
-
-
Method Details
-
of
public static TemplatesRecord of(Function<TemplatesRecord.Builder, ObjectBuilder<TemplatesRecord>> fn) -
composedOf
The component templates that comprise the index template.API name:
composed_of -
indexPatterns
The template index patterns.API name:
index_patterns -
name
API name:name -
order
The template application order or priority number.API name:
order -
version
The template version.API name:
version -
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<TemplatesRecord.Builder,TemplatesRecord> - Returns:
- a new builder instance.
-
builder
-
setupTemplatesRecordDeserializer
protected static void setupTemplatesRecordDeserializer(ObjectDeserializer<TemplatesRecord.Builder> op) -
hashCode
public int hashCode() -
equals
-