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