zio.aws.costoptimizationhub.model.Source.scala Maven / Gradle / Ivy
package zio.aws.costoptimizationhub.model
import scala.jdk.CollectionConverters._
sealed trait Source {
def unwrap: software.amazon.awssdk.services.costoptimizationhub.model.Source
}
object Source {
def wrap(
value: software.amazon.awssdk.services.costoptimizationhub.model.Source
): zio.aws.costoptimizationhub.model.Source = value match {
case software.amazon.awssdk.services.costoptimizationhub.model.Source.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.costoptimizationhub.model.Source.COMPUTE_OPTIMIZER =>
val r = ComputeOptimizer
r
case software.amazon.awssdk.services.costoptimizationhub.model.Source.COST_EXPLORER =>
val r = CostExplorer
r
}
case object unknownToSdkVersion
extends zio.aws.costoptimizationhub.model.Source {
override def unwrap
: software.amazon.awssdk.services.costoptimizationhub.model.Source =
software.amazon.awssdk.services.costoptimizationhub.model.Source.UNKNOWN_TO_SDK_VERSION
}
case object ComputeOptimizer
extends zio.aws.costoptimizationhub.model.Source {
override def unwrap
: software.amazon.awssdk.services.costoptimizationhub.model.Source =
software.amazon.awssdk.services.costoptimizationhub.model.Source.COMPUTE_OPTIMIZER
}
case object CostExplorer extends zio.aws.costoptimizationhub.model.Source {
override def unwrap
: software.amazon.awssdk.services.costoptimizationhub.model.Source =
software.amazon.awssdk.services.costoptimizationhub.model.Source.COST_EXPLORER
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy