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

io.cloudshiftdev.awscdk.services.batch.Action.kt Maven / Gradle / Ivy

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

package io.cloudshiftdev.awscdk.services.batch

public enum class Action(
  private val cdkObject: software.amazon.awscdk.services.batch.Action,
) {
  EXIT(software.amazon.awscdk.services.batch.Action.EXIT),
  RETRY(software.amazon.awscdk.services.batch.Action.RETRY),
  ;

  public companion object {
    internal fun wrap(cdkObject: software.amazon.awscdk.services.batch.Action): Action = when
        (cdkObject) {
      software.amazon.awscdk.services.batch.Action.EXIT -> Action.EXIT
      software.amazon.awscdk.services.batch.Action.RETRY -> Action.RETRY
    }

    internal fun unwrap(wrapped: Action): software.amazon.awscdk.services.batch.Action =
        wrapped.cdkObject
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy