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

zio.aws.lightsail.model.RecordState.scala Maven / Gradle / Ivy

The newest version!
package zio.aws.lightsail.model
import scala.jdk.CollectionConverters.*
sealed trait RecordState {
  def unwrap: software.amazon.awssdk.services.lightsail.model.RecordState
}
object RecordState {
  def wrap(
      value: software.amazon.awssdk.services.lightsail.model.RecordState
  ): zio.aws.lightsail.model.RecordState = value match {
    case software.amazon.awssdk.services.lightsail.model.RecordState.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.lightsail.model.RecordState.STARTED =>
      val r = Started
      r
    case software.amazon.awssdk.services.lightsail.model.RecordState.SUCCEEDED =>
      val r = Succeeded
      r
    case software.amazon.awssdk.services.lightsail.model.RecordState.FAILED =>
      val r = Failed
      r
  }
  case object unknownToSdkVersion extends zio.aws.lightsail.model.RecordState {
    override def unwrap
        : software.amazon.awssdk.services.lightsail.model.RecordState =
      software.amazon.awssdk.services.lightsail.model.RecordState.UNKNOWN_TO_SDK_VERSION
  }
  case object Started extends zio.aws.lightsail.model.RecordState {
    override def unwrap
        : software.amazon.awssdk.services.lightsail.model.RecordState =
      software.amazon.awssdk.services.lightsail.model.RecordState.STARTED
  }
  case object Succeeded extends zio.aws.lightsail.model.RecordState {
    override def unwrap
        : software.amazon.awssdk.services.lightsail.model.RecordState =
      software.amazon.awssdk.services.lightsail.model.RecordState.SUCCEEDED
  }
  case object Failed extends zio.aws.lightsail.model.RecordState {
    override def unwrap
        : software.amazon.awssdk.services.lightsail.model.RecordState =
      software.amazon.awssdk.services.lightsail.model.RecordState.FAILED
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy