Class UpdatedDataStreamMappings
java.lang.Object
co.elastic.clients.elasticsearch.indices.put_data_stream_mappings.UpdatedDataStreamMappings
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class UpdatedDataStreamMappings
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<UpdatedDataStreamMappings>Json deserializer forUpdatedDataStreamMappings -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - If the mappings were successfully applied to the data stream (or would have been, if running indry_runmode), it istrue.final TypeMappingThe mappings that are effective on this data stream, taking into account the mappings from the matching index template and the mappings specific to this data stream.final Stringerror()A message explaining why the mappings could not be applied to the data stream.final TypeMappingmappings()The mappings that are specfic to this data stream that will override any mappings from the matching index template.final Stringname()Required - The data stream name.static UpdatedDataStreamMappingsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupUpdatedDataStreamMappingsDeserializer(ObjectDeserializer<UpdatedDataStreamMappings.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forUpdatedDataStreamMappings
-
-
Method Details
-
of
public static UpdatedDataStreamMappings of(Function<UpdatedDataStreamMappings.Builder, ObjectBuilder<UpdatedDataStreamMappings>> fn) -
name
Required - The data stream name.API name:
name -
appliedToDataStream
public final boolean appliedToDataStream()Required - If the mappings were successfully applied to the data stream (or would have been, if running indry_runmode), it istrue. If an error occurred, it isfalse.API name:
applied_to_data_stream -
error
A message explaining why the mappings could not be applied to the data stream.API name:
error -
mappings
The mappings that are specfic to this data stream that will override any mappings from the matching index template.API name:
mappings -
effectiveMappings
The mappings that are effective on this data stream, taking into account the mappings from the matching index template and the mappings specific to this data stream.API name:
effective_mappings -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupUpdatedDataStreamMappingsDeserializer
protected static void setupUpdatedDataStreamMappingsDeserializer(ObjectDeserializer<UpdatedDataStreamMappings.Builder> op)
-