Class AliasDefinition

All Implemented Interfaces:

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

  • Method Details

    • of

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

      @Nullable public final Query filter()
      API name: filter
    • indexRouting

      @Nullable public final java.lang.String indexRouting()
      API name: index_routing
    • isWriteIndex

      @Nullable public final java.lang.Boolean isWriteIndex()
      API name: is_write_index
    • routing

      @Nullable public final java.lang.String routing()
      API name: routing
    • searchRouting

      @Nullable public final java.lang.String searchRouting()
      API name: search_routing
    • serialize

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

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupAliasDefinitionDeserializer

      protected static void setupAliasDefinitionDeserializer​(ObjectDeserializer<AliasDefinition.Builder> op)