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

@JsonpDeserializable
public final class MountRequest
extends RequestBase
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • repository

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

      API name: repository

    • snapshot

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

      API name: snapshot

    • masterTimeout

      @Nullable public java.lang.String masterTimeout()
      Explicit operation timeout for connection to master node

      API name: master_timeout

    • waitForCompletion

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

      API name: wait_for_completion

    • storage

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

      API name: storage

    • index

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

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

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

      @Nullable public java.util.List<java.lang.String> ignoreIndexSettings()
      API name: ignore_index_settings
    • 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​(DelegatingDeserializer<MountRequest.Builder> op)