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

zio.aws.nimble.model.VolumeRetentionMode.scala Maven / Gradle / Ivy

There is a newer version: 7.28.29.5
Show newest version
package zio.aws.nimble.model
import scala.jdk.CollectionConverters.*
sealed trait VolumeRetentionMode {
  def unwrap: software.amazon.awssdk.services.nimble.model.VolumeRetentionMode
}
object VolumeRetentionMode {
  def wrap(
      value: software.amazon.awssdk.services.nimble.model.VolumeRetentionMode
  ): zio.aws.nimble.model.VolumeRetentionMode = value match {
    case software.amazon.awssdk.services.nimble.model.VolumeRetentionMode.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.nimble.model.VolumeRetentionMode.RETAIN =>
      val r = RETAIN
      r
    case software.amazon.awssdk.services.nimble.model.VolumeRetentionMode.DELETE =>
      val r = DELETE
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.nimble.model.VolumeRetentionMode {
    override def unwrap
        : software.amazon.awssdk.services.nimble.model.VolumeRetentionMode =
      software.amazon.awssdk.services.nimble.model.VolumeRetentionMode.UNKNOWN_TO_SDK_VERSION
  }
  case object RETAIN extends zio.aws.nimble.model.VolumeRetentionMode {
    override def unwrap
        : software.amazon.awssdk.services.nimble.model.VolumeRetentionMode =
      software.amazon.awssdk.services.nimble.model.VolumeRetentionMode.RETAIN
  }
  case object DELETE extends zio.aws.nimble.model.VolumeRetentionMode {
    override def unwrap
        : software.amazon.awssdk.services.nimble.model.VolumeRetentionMode =
      software.amazon.awssdk.services.nimble.model.VolumeRetentionMode.DELETE
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy