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

d4s.config.DynamoConfig.scala Maven / Gradle / Ivy

The newest version!
package d4s.config

import scala.concurrent.duration.FiniteDuration

final case class DynamoConfig(
  /*private val*/ endpointUrl: Option[String],
  /*private val*/ region: Option[String],
  connectionTimeout: FiniteDuration,
  backupEnabled: Option[Boolean],
) {
  def maybeLocalUrl: Option[String] = endpointUrl.filter(_.nonEmpty)
  def getRegion: Option[String]     = region.filter(_.nonEmpty)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy