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

zio.aws.tnb.model.NsdOperationalState.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 NsdOperationalState {
  def unwrap: software.amazon.awssdk.services.tnb.model.NsdOperationalState
}
object NsdOperationalState {
  def wrap(
      value: software.amazon.awssdk.services.tnb.model.NsdOperationalState
  ): zio.aws.tnb.model.NsdOperationalState = value match {
    case software.amazon.awssdk.services.tnb.model.NsdOperationalState.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.tnb.model.NsdOperationalState.ENABLED =>
      val r = ENABLED
      r
    case software.amazon.awssdk.services.tnb.model.NsdOperationalState.DISABLED =>
      val r = DISABLED
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.tnb.model.NsdOperationalState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.NsdOperationalState =
      software.amazon.awssdk.services.tnb.model.NsdOperationalState.UNKNOWN_TO_SDK_VERSION
  }
  case object ENABLED extends zio.aws.tnb.model.NsdOperationalState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.NsdOperationalState =
      software.amazon.awssdk.services.tnb.model.NsdOperationalState.ENABLED
  }
  case object DISABLED extends zio.aws.tnb.model.NsdOperationalState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.NsdOperationalState =
      software.amazon.awssdk.services.tnb.model.NsdOperationalState.DISABLED
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy