Class DataStreamMappings
java.lang.Object
co.elastic.clients.elasticsearch.indices.get_data_stream_mappings.DataStreamMappings
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamMappings>Json deserializer forDataStreamMappings -
Method Summary
Modifier and TypeMethodDescriptionfinal TypeMappingRequired - The settings specific to this data stream merged with the settings from its template.final TypeMappingmappings()Required - The settings specific to this data streamfinal Stringname()Required - The name of the data stream.static DataStreamMappingsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDataStreamMappings
-
-
Method Details
-
of
public static DataStreamMappings of(Function<DataStreamMappings.Builder, ObjectBuilder<DataStreamMappings>> fn) -
name
Required - The name of the data stream.API name:
name -
mappings
Required - The settings specific to this data streamAPI name:
mappings -
effectiveMappings
Required - The settings specific to this data stream merged with the settings from its template. Theseeffective_settingsare the settings that will be used when a new index is created for this data stream.API name:
effective_mappings -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataStreamMappingsDeserializer
protected static void setupDataStreamMappingsDeserializer(ObjectDeserializer<DataStreamMappings.Builder> op)
-