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