All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sksamuel.elastic4s.requests.indexes.admin.recovery.IndexRecoveryRequest.scala Maven / Gradle / Ivy

There is a newer version: 8.15.4
Show newest version
package com.sksamuel.elastic4s.requests.indexes.admin.recovery

import com.sksamuel.elastic4s.ext.OptionImplicits._

case class IndexRecoveryRequest(indices: Seq[String],
                                activeOnly: Option[Boolean] = None,
                                detailed: Option[Boolean] = None) {
  def activeOnly(boolean: Boolean): IndexRecoveryRequest = copy(activeOnly = boolean.some)
  def detailed(boolean: Boolean): IndexRecoveryRequest = copy(detailed = boolean.some)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy