Class CloneSnapshotRequest

All Implemented Interfaces:
IndicesRequest, IndicesRequest.Replaceable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject, org.elasticsearch.core.RefCounted, TaskAwareRequest

public class CloneSnapshotRequest extends MasterNodeRequest<CloneSnapshotRequest> implements IndicesRequest.Replaceable, org.elasticsearch.common.xcontent.ToXContentObject
  • Constructor Details

    • CloneSnapshotRequest

      public CloneSnapshotRequest(StreamInput in) throws
      Throws:
    • CloneSnapshotRequest

      public CloneSnapshotRequest( repository,  source,  target, [] indices)
      Creates a clone snapshot request for cloning the given source snapshot's indices into the given target snapshot on the given repository.
      Parameters:
      repository - repository that source snapshot belongs to and that the target snapshot will be created in
      source - source snapshot name
      target - target snapshot name
      indices - indices to clone from source to target
  • Method Details