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:
  • Field Details

  • Method Details

    • of

    • name

      public final String 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 in dry_run mode), it is true. If an error occurred, it is false.

      API name: applied_to_data_stream

    • error

      @Nullable public final String error()
      A message explaining why the mappings could not be applied to the data stream.

      API name: error

    • mappings

      @Nullable public final TypeMapping mappings()
      The mappings that are specfic to this data stream that will override any mappings from the matching index template.

      API name: mappings

    • effectiveMappings

      @Nullable public final TypeMapping 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

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupUpdatedDataStreamMappingsDeserializer

      protected static void setupUpdatedDataStreamMappingsDeserializer(ObjectDeserializer<UpdatedDataStreamMappings.Builder> op)