All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zio.aws.tnb.model.OnboardingState.scala Maven / Gradle / Ivy

There is a newer version: 7.28.29.10
Show newest version
package zio.aws.tnb.model
import scala.jdk.CollectionConverters.*
sealed trait OnboardingState {
  def unwrap: software.amazon.awssdk.services.tnb.model.OnboardingState
}
object OnboardingState {
  def wrap(
      value: software.amazon.awssdk.services.tnb.model.OnboardingState
  ): zio.aws.tnb.model.OnboardingState = value match {
    case software.amazon.awssdk.services.tnb.model.OnboardingState.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.tnb.model.OnboardingState.CREATED =>
      val r = CREATED
      r
    case software.amazon.awssdk.services.tnb.model.OnboardingState.ONBOARDED =>
      val r = ONBOARDED
      r
    case software.amazon.awssdk.services.tnb.model.OnboardingState.ERROR =>
      val r = ERROR
      r
  }
  case object unknownToSdkVersion extends zio.aws.tnb.model.OnboardingState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.OnboardingState =
      software.amazon.awssdk.services.tnb.model.OnboardingState.UNKNOWN_TO_SDK_VERSION
  }
  case object CREATED extends zio.aws.tnb.model.OnboardingState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.OnboardingState =
      software.amazon.awssdk.services.tnb.model.OnboardingState.CREATED
  }
  case object ONBOARDED extends zio.aws.tnb.model.OnboardingState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.OnboardingState =
      software.amazon.awssdk.services.tnb.model.OnboardingState.ONBOARDED
  }
  case object ERROR extends zio.aws.tnb.model.OnboardingState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.OnboardingState =
      software.amazon.awssdk.services.tnb.model.OnboardingState.ERROR
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy