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

io.github.vigoo.zioaws.elasticbeanstalk.model.PlatformStatus.scala Maven / Gradle / Ivy

package io.github.vigoo.zioaws.elasticbeanstalk.model
import scala.jdk.CollectionConverters._
sealed trait PlatformStatus {
  def unwrap
      : software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus
}
object PlatformStatus {
  def wrap(
      value: software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus
  ): io.github.vigoo.zioaws.elasticbeanstalk.model.PlatformStatus =
    value match {
      case software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus.UNKNOWN_TO_SDK_VERSION =>
        val r = unknownToSdkVersion
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus.CREATING =>
        val r = Creating
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus.FAILED =>
        val r = Failed
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus.READY =>
        val r = Ready
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus.DELETING =>
        val r = Deleting
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus.DELETED =>
        val r = Deleted
        r
    }
  case object unknownToSdkVersion
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.PlatformStatus {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus =
      software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus.UNKNOWN_TO_SDK_VERSION
  }
  case object Creating
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.PlatformStatus {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus =
      software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus.CREATING
  }
  case object Failed
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.PlatformStatus {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus =
      software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus.FAILED
  }
  case object Ready
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.PlatformStatus {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus =
      software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus.READY
  }
  case object Deleting
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.PlatformStatus {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus =
      software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus.DELETING
  }
  case object Deleted
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.PlatformStatus {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus =
      software.amazon.awssdk.services.elasticbeanstalk.model.PlatformStatus.DELETED
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy