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

zio.aws.codecatalyst.model.WorkflowRunMode.scala Maven / Gradle / Ivy

The newest version!
package zio.aws.codecatalyst.model
import scala.jdk.CollectionConverters.*
sealed trait WorkflowRunMode {
  def unwrap: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode
}
object WorkflowRunMode {
  def wrap(
      value: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode
  ): zio.aws.codecatalyst.model.WorkflowRunMode = value match {
    case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode.QUEUED =>
      val r = QUEUED
      r
    case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode.PARALLEL =>
      val r = PARALLEL
      r
    case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode.SUPERSEDED =>
      val r = SUPERSEDED
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.codecatalyst.model.WorkflowRunMode {
    override def unwrap
        : software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode =
      software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode.UNKNOWN_TO_SDK_VERSION
  }
  case object QUEUED extends zio.aws.codecatalyst.model.WorkflowRunMode {
    override def unwrap
        : software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode =
      software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode.QUEUED
  }
  case object PARALLEL extends zio.aws.codecatalyst.model.WorkflowRunMode {
    override def unwrap
        : software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode =
      software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode.PARALLEL
  }
  case object SUPERSEDED extends zio.aws.codecatalyst.model.WorkflowRunMode {
    override def unwrap
        : software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode =
      software.amazon.awssdk.services.codecatalyst.model.WorkflowRunMode.SUPERSEDED
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy