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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy