zio.aws.tnb.model.NsState.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 NsState {
def unwrap: software.amazon.awssdk.services.tnb.model.NsState
}
object NsState {
def wrap(
value: software.amazon.awssdk.services.tnb.model.NsState
): zio.aws.tnb.model.NsState = value match {
case software.amazon.awssdk.services.tnb.model.NsState.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.tnb.model.NsState.INSTANTIATED =>
val r = INSTANTIATED
r
case software.amazon.awssdk.services.tnb.model.NsState.NOT_INSTANTIATED =>
val r = NOT_INSTANTIATED
r
case software.amazon.awssdk.services.tnb.model.NsState.UPDATED =>
val r = UPDATED
r
case software.amazon.awssdk.services.tnb.model.NsState.IMPAIRED =>
val r = IMPAIRED
r
case software.amazon.awssdk.services.tnb.model.NsState.UPDATE_FAILED =>
val r = UPDATE_FAILED
r
case software.amazon.awssdk.services.tnb.model.NsState.STOPPED =>
val r = STOPPED
r
case software.amazon.awssdk.services.tnb.model.NsState.DELETED =>
val r = DELETED
r
case software.amazon.awssdk.services.tnb.model.NsState.INSTANTIATE_IN_PROGRESS =>
val r = INSTANTIATE_IN_PROGRESS
r
case software.amazon.awssdk.services.tnb.model.NsState.INTENT_TO_UPDATE_IN_PROGRESS =>
val r = INTENT_TO_UPDATE_IN_PROGRESS
r
case software.amazon.awssdk.services.tnb.model.NsState.UPDATE_IN_PROGRESS =>
val r = UPDATE_IN_PROGRESS
r
case software.amazon.awssdk.services.tnb.model.NsState.TERMINATE_IN_PROGRESS =>
val r = TERMINATE_IN_PROGRESS
r
}
case object unknownToSdkVersion extends zio.aws.tnb.model.NsState {
override def unwrap: software.amazon.awssdk.services.tnb.model.NsState =
software.amazon.awssdk.services.tnb.model.NsState.UNKNOWN_TO_SDK_VERSION
}
case object INSTANTIATED extends zio.aws.tnb.model.NsState {
override def unwrap: software.amazon.awssdk.services.tnb.model.NsState =
software.amazon.awssdk.services.tnb.model.NsState.INSTANTIATED
}
case object NOT_INSTANTIATED extends zio.aws.tnb.model.NsState {
override def unwrap: software.amazon.awssdk.services.tnb.model.NsState =
software.amazon.awssdk.services.tnb.model.NsState.NOT_INSTANTIATED
}
case object UPDATED extends zio.aws.tnb.model.NsState {
override def unwrap: software.amazon.awssdk.services.tnb.model.NsState =
software.amazon.awssdk.services.tnb.model.NsState.UPDATED
}
case object IMPAIRED extends zio.aws.tnb.model.NsState {
override def unwrap: software.amazon.awssdk.services.tnb.model.NsState =
software.amazon.awssdk.services.tnb.model.NsState.IMPAIRED
}
case object UPDATE_FAILED extends zio.aws.tnb.model.NsState {
override def unwrap: software.amazon.awssdk.services.tnb.model.NsState =
software.amazon.awssdk.services.tnb.model.NsState.UPDATE_FAILED
}
case object STOPPED extends zio.aws.tnb.model.NsState {
override def unwrap: software.amazon.awssdk.services.tnb.model.NsState =
software.amazon.awssdk.services.tnb.model.NsState.STOPPED
}
case object DELETED extends zio.aws.tnb.model.NsState {
override def unwrap: software.amazon.awssdk.services.tnb.model.NsState =
software.amazon.awssdk.services.tnb.model.NsState.DELETED
}
case object INSTANTIATE_IN_PROGRESS extends zio.aws.tnb.model.NsState {
override def unwrap: software.amazon.awssdk.services.tnb.model.NsState =
software.amazon.awssdk.services.tnb.model.NsState.INSTANTIATE_IN_PROGRESS
}
case object INTENT_TO_UPDATE_IN_PROGRESS extends zio.aws.tnb.model.NsState {
override def unwrap: software.amazon.awssdk.services.tnb.model.NsState =
software.amazon.awssdk.services.tnb.model.NsState.INTENT_TO_UPDATE_IN_PROGRESS
}
case object UPDATE_IN_PROGRESS extends zio.aws.tnb.model.NsState {
override def unwrap: software.amazon.awssdk.services.tnb.model.NsState =
software.amazon.awssdk.services.tnb.model.NsState.UPDATE_IN_PROGRESS
}
case object TERMINATE_IN_PROGRESS extends zio.aws.tnb.model.NsState {
override def unwrap: software.amazon.awssdk.services.tnb.model.NsState =
software.amazon.awssdk.services.tnb.model.NsState.TERMINATE_IN_PROGRESS
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy