Class CloneRequest

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

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

  • Constructor Details

  • Method Details

    • repository

      public java.lang.String repository()
      Required - A repository name

      API name: repository

    • snapshot

      public java.lang.String snapshot()
      Required - The name of the snapshot to clone from

      API name: snapshot

    • targetSnapshot

      public java.lang.String targetSnapshot()
      Required - The name of the cloned snapshot to create

      API name: target_snapshot

    • masterTimeout

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

      API name: master_timeout

    • timeout

      @Nullable public java.lang.String timeout()
      API name: timeout
    • indices

      public java.lang.String indices()
      Required - API name: indices
    • 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)
    • setupCloneRequestDeserializer

      protected static void setupCloneRequestDeserializer​(DelegatingDeserializer<CloneRequest.Builder> op)