java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.searchable_snapshots.MountRequest
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class MountRequest
extends RequestBase
implements JsonpSerializable
Mount a snapshot as a searchable index.
See Also:
API specification
  • Field Details

  • Method Details

    • of

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

      public final java.util.List<java.lang.String> ignoreIndexSettings()
      API name: ignore_index_settings
    • index

      public final java.lang.String index()
      Required - API name: index
    • indexSettings

      public final java.util.Map<java.lang.String,​JsonData> indexSettings()
      API name: index_settings
    • masterTimeout

      @Nullable public final Time masterTimeout()
      Explicit operation timeout for connection to master node

      API name: master_timeout

    • renamedIndex

      @Nullable public final java.lang.String renamedIndex()
      API name: renamed_index
    • repository

      public final java.lang.String repository()
      Required - The name of the repository containing the snapshot of the index to mount

      API name: repository

    • snapshot

      public final java.lang.String snapshot()
      Required - The name of the snapshot of the index to mount

      API name: snapshot

    • storage

      @Nullable public final java.lang.String storage()
      Selects the kind of local storage used to accelerate searches. Experimental, and defaults to full_copy

      API name: storage

    • waitForCompletion

      @Nullable public final java.lang.Boolean waitForCompletion()
      Should this request wait until the operation has completed before returning

      API name: wait_for_completion

    • 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)
    • setupMountRequestDeserializer

      protected static void setupMountRequestDeserializer​(ObjectDeserializer<MountRequest.Builder> op)