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

zio.aws.emrcontainers.model.EndpointState.scala Maven / Gradle / Ivy

The newest version!
package zio.aws.emrcontainers.model
import scala.jdk.CollectionConverters._
sealed trait EndpointState {
  def unwrap: software.amazon.awssdk.services.emrcontainers.model.EndpointState
}
object EndpointState {
  def wrap(
      value: software.amazon.awssdk.services.emrcontainers.model.EndpointState
  ): zio.aws.emrcontainers.model.EndpointState = value match {
    case software.amazon.awssdk.services.emrcontainers.model.EndpointState.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.emrcontainers.model.EndpointState.CREATING =>
      val r = CREATING
      r
    case software.amazon.awssdk.services.emrcontainers.model.EndpointState.ACTIVE =>
      val r = ACTIVE
      r
    case software.amazon.awssdk.services.emrcontainers.model.EndpointState.TERMINATING =>
      val r = TERMINATING
      r
    case software.amazon.awssdk.services.emrcontainers.model.EndpointState.TERMINATED =>
      val r = TERMINATED
      r
    case software.amazon.awssdk.services.emrcontainers.model.EndpointState.TERMINATED_WITH_ERRORS =>
      val r = TERMINATED_WITH_ERRORS
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.emrcontainers.model.EndpointState {
    override def unwrap
        : software.amazon.awssdk.services.emrcontainers.model.EndpointState =
      software.amazon.awssdk.services.emrcontainers.model.EndpointState.UNKNOWN_TO_SDK_VERSION
  }
  case object CREATING extends zio.aws.emrcontainers.model.EndpointState {
    override def unwrap
        : software.amazon.awssdk.services.emrcontainers.model.EndpointState =
      software.amazon.awssdk.services.emrcontainers.model.EndpointState.CREATING
  }
  case object ACTIVE extends zio.aws.emrcontainers.model.EndpointState {
    override def unwrap
        : software.amazon.awssdk.services.emrcontainers.model.EndpointState =
      software.amazon.awssdk.services.emrcontainers.model.EndpointState.ACTIVE
  }
  case object TERMINATING extends zio.aws.emrcontainers.model.EndpointState {
    override def unwrap
        : software.amazon.awssdk.services.emrcontainers.model.EndpointState =
      software.amazon.awssdk.services.emrcontainers.model.EndpointState.TERMINATING
  }
  case object TERMINATED extends zio.aws.emrcontainers.model.EndpointState {
    override def unwrap
        : software.amazon.awssdk.services.emrcontainers.model.EndpointState =
      software.amazon.awssdk.services.emrcontainers.model.EndpointState.TERMINATED
  }
  case object TERMINATED_WITH_ERRORS
      extends zio.aws.emrcontainers.model.EndpointState {
    override def unwrap
        : software.amazon.awssdk.services.emrcontainers.model.EndpointState =
      software.amazon.awssdk.services.emrcontainers.model.EndpointState.TERMINATED_WITH_ERRORS
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy