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

io.github.vigoo.zioaws.datasync.model.ObjectStorageServerProtocol.scala Maven / Gradle / Ivy

package io.github.vigoo.zioaws.datasync.model
import scala.jdk.CollectionConverters._
sealed trait ObjectStorageServerProtocol {
  def unwrap: software.amazon.awssdk.services.datasync.model.ObjectStorageServerProtocol
}
object ObjectStorageServerProtocol {
  def wrap(
      value: software.amazon.awssdk.services.datasync.model.ObjectStorageServerProtocol
  ): io.github.vigoo.zioaws.datasync.model.ObjectStorageServerProtocol =
    value match {
      case software.amazon.awssdk.services.datasync.model.ObjectStorageServerProtocol.UNKNOWN_TO_SDK_VERSION =>
        val r = unknownToSdkVersion
        r
      case software.amazon.awssdk.services.datasync.model.ObjectStorageServerProtocol.HTTPS =>
        val r = HTTPS
        r
      case software.amazon.awssdk.services.datasync.model.ObjectStorageServerProtocol.HTTP =>
        val r = HTTP
        r
    }
  case object unknownToSdkVersion
      extends io.github.vigoo.zioaws.datasync.model.ObjectStorageServerProtocol {
    override def unwrap
        : software.amazon.awssdk.services.datasync.model.ObjectStorageServerProtocol =
      software.amazon.awssdk.services.datasync.model.ObjectStorageServerProtocol.UNKNOWN_TO_SDK_VERSION
  }
  case object HTTPS
      extends io.github.vigoo.zioaws.datasync.model.ObjectStorageServerProtocol {
    override def unwrap
        : software.amazon.awssdk.services.datasync.model.ObjectStorageServerProtocol =
      software.amazon.awssdk.services.datasync.model.ObjectStorageServerProtocol.HTTPS
  }
  case object HTTP
      extends io.github.vigoo.zioaws.datasync.model.ObjectStorageServerProtocol {
    override def unwrap
        : software.amazon.awssdk.services.datasync.model.ObjectStorageServerProtocol =
      software.amazon.awssdk.services.datasync.model.ObjectStorageServerProtocol.HTTP
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy