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

zio.aws.tnb.model.UsageState.scala Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy