Class CloneSnapshotRequestBuilder


  • Constructor Details

  • Method Details

    • setIndices

      public CloneSnapshotRequestBuilder setIndices(String... indices)
      Sets a list of indices that should be cloned from the source to the target snapshot

      The list of indices supports multi-index syntax. For example: "+test*" ,"-test42" will clone all indices with prefix "test" except index "test42".

      Returns:
      this builder
    • setIndicesOptions

      public CloneSnapshotRequestBuilder setIndicesOptions(IndicesOptions indicesOptions)
      Specifies the indices options. Like what type of requested indices to ignore. For example indices that don't exist.
      Parameters:
      indicesOptions - the desired behaviour regarding indices options
      Returns:
      this request