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

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

package io.github.vigoo.zioaws.elasticbeanstalk.model
import scala.jdk.CollectionConverters._
sealed trait InstancesHealthAttribute {
  def unwrap: software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute
}
object InstancesHealthAttribute {
  def wrap(
      value: software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute
  ): io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute =
    value match {
      case software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.UNKNOWN_TO_SDK_VERSION =>
        val r = unknownToSdkVersion
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.HEALTH_STATUS =>
        val r = HealthStatus
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.COLOR =>
        val r = Color
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.CAUSES =>
        val r = Causes
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.APPLICATION_METRICS =>
        val r = ApplicationMetrics
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.REFRESHED_AT =>
        val r = RefreshedAt
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.LAUNCHED_AT =>
        val r = LaunchedAt
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.SYSTEM =>
        val r = System
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.DEPLOYMENT =>
        val r = Deployment
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.AVAILABILITY_ZONE =>
        val r = AvailabilityZone
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.INSTANCE_TYPE =>
        val r = InstanceType
        r
      case software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.ALL =>
        val r = All
        r
    }
  case object unknownToSdkVersion
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute =
      software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.UNKNOWN_TO_SDK_VERSION
  }
  case object HealthStatus
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute =
      software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.HEALTH_STATUS
  }
  case object Color
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute =
      software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.COLOR
  }
  case object Causes
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute =
      software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.CAUSES
  }
  case object ApplicationMetrics
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute =
      software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.APPLICATION_METRICS
  }
  case object RefreshedAt
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute =
      software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.REFRESHED_AT
  }
  case object LaunchedAt
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute =
      software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.LAUNCHED_AT
  }
  case object System
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute =
      software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.SYSTEM
  }
  case object Deployment
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute =
      software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.DEPLOYMENT
  }
  case object AvailabilityZone
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute =
      software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.AVAILABILITY_ZONE
  }
  case object InstanceType
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute =
      software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.INSTANCE_TYPE
  }
  case object All
      extends io.github.vigoo.zioaws.elasticbeanstalk.model.InstancesHealthAttribute {
    override def unwrap
        : software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute =
      software.amazon.awssdk.services.elasticbeanstalk.model.InstancesHealthAttribute.ALL
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy