zio.aws.tnb.model.OperationalState.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 OperationalState {
def unwrap: software.amazon.awssdk.services.tnb.model.OperationalState
}
object OperationalState {
def wrap(
value: software.amazon.awssdk.services.tnb.model.OperationalState
): zio.aws.tnb.model.OperationalState = value match {
case software.amazon.awssdk.services.tnb.model.OperationalState.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.tnb.model.OperationalState.ENABLED =>
val r = ENABLED
r
case software.amazon.awssdk.services.tnb.model.OperationalState.DISABLED =>
val r = DISABLED
r
}
case object unknownToSdkVersion extends zio.aws.tnb.model.OperationalState {
override def unwrap
: software.amazon.awssdk.services.tnb.model.OperationalState =
software.amazon.awssdk.services.tnb.model.OperationalState.UNKNOWN_TO_SDK_VERSION
}
case object ENABLED extends zio.aws.tnb.model.OperationalState {
override def unwrap
: software.amazon.awssdk.services.tnb.model.OperationalState =
software.amazon.awssdk.services.tnb.model.OperationalState.ENABLED
}
case object DISABLED extends zio.aws.tnb.model.OperationalState {
override def unwrap
: software.amazon.awssdk.services.tnb.model.OperationalState =
software.amazon.awssdk.services.tnb.model.OperationalState.DISABLED
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy