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

zio.aws.snowdevicemanagement.model.InstanceStateName.scala Maven / Gradle / Ivy

The newest version!
package zio.aws.snowdevicemanagement.model
import scala.jdk.CollectionConverters._
sealed trait InstanceStateName {
  def unwrap: software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName
}
object InstanceStateName {
  def wrap(
      value: software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName
  ): zio.aws.snowdevicemanagement.model.InstanceStateName = value match {
    case software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.PENDING =>
      val r = PENDING
      r
    case software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.RUNNING =>
      val r = RUNNING
      r
    case software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.SHUTTING_DOWN =>
      val r = SHUTTING_DOWN
      r
    case software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.TERMINATED =>
      val r = TERMINATED
      r
    case software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.STOPPING =>
      val r = STOPPING
      r
    case software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.STOPPED =>
      val r = STOPPED
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.snowdevicemanagement.model.InstanceStateName {
    override def unwrap
        : software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName =
      software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.UNKNOWN_TO_SDK_VERSION
  }
  case object PENDING
      extends zio.aws.snowdevicemanagement.model.InstanceStateName {
    override def unwrap
        : software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName =
      software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.PENDING
  }
  case object RUNNING
      extends zio.aws.snowdevicemanagement.model.InstanceStateName {
    override def unwrap
        : software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName =
      software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.RUNNING
  }
  case object SHUTTING_DOWN
      extends zio.aws.snowdevicemanagement.model.InstanceStateName {
    override def unwrap
        : software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName =
      software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.SHUTTING_DOWN
  }
  case object TERMINATED
      extends zio.aws.snowdevicemanagement.model.InstanceStateName {
    override def unwrap
        : software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName =
      software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.TERMINATED
  }
  case object STOPPING
      extends zio.aws.snowdevicemanagement.model.InstanceStateName {
    override def unwrap
        : software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName =
      software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.STOPPING
  }
  case object STOPPED
      extends zio.aws.snowdevicemanagement.model.InstanceStateName {
    override def unwrap
        : software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName =
      software.amazon.awssdk.services.snowdevicemanagement.model.InstanceStateName.STOPPED
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy