Class DynamicTemplate

java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.DynamicTemplate
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class DynamicTemplate
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static DynamicTemplate of​(java.util.function.Function<DynamicTemplate.Builder,​ObjectBuilder<DynamicTemplate>> fn)
    • mapping

      @Nullable public final Property mapping()
      API name: mapping
    • match

      @Nullable public final java.lang.String match()
      API name: match
    • matchMappingType

      @Nullable public final java.lang.String matchMappingType()
      API name: match_mapping_type
    • matchPattern

      @Nullable public final MatchType matchPattern()
      API name: match_pattern
    • pathMatch

      @Nullable public final java.lang.String pathMatch()
      API name: path_match
    • pathUnmatch

      @Nullable public final java.lang.String pathUnmatch()
      API name: path_unmatch
    • unmatch

      @Nullable public final java.lang.String unmatch()
      API name: unmatch
    • 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)
    • setupDynamicTemplateDeserializer

      protected static void setupDynamicTemplateDeserializer​(ObjectDeserializer<DynamicTemplate.Builder> op)