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

io.cloudshiftdev.awscdk.services.autoscaling.Monitoring.kt Maven / Gradle / Ivy

The newest version!
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package io.cloudshiftdev.awscdk.services.autoscaling

public enum class Monitoring(
  private val cdkObject: software.amazon.awscdk.services.autoscaling.Monitoring,
) {
  BASIC(software.amazon.awscdk.services.autoscaling.Monitoring.BASIC),
  DETAILED(software.amazon.awscdk.services.autoscaling.Monitoring.DETAILED),
  ;

  public companion object {
    internal fun wrap(cdkObject: software.amazon.awscdk.services.autoscaling.Monitoring): Monitoring
        = when (cdkObject) {
      software.amazon.awscdk.services.autoscaling.Monitoring.BASIC -> Monitoring.BASIC
      software.amazon.awscdk.services.autoscaling.Monitoring.DETAILED -> Monitoring.DETAILED
    }

    internal fun unwrap(wrapped: Monitoring): software.amazon.awscdk.services.autoscaling.Monitoring
        = wrapped.cdkObject
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy