zio.aws.tnb.model.UsageState.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-tnb_3 Show documentation
Show all versions of zio-aws-tnb_3 Show documentation
Low-level AWS wrapper for ZIO
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