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

io.cloudshiftdev.awscdk.services.iam.AccessKeyStatus.kt Maven / Gradle / Ivy

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

package io.cloudshiftdev.awscdk.services.iam

public enum class AccessKeyStatus(
  private val cdkObject: software.amazon.awscdk.services.iam.AccessKeyStatus,
) {
  ACTIVE(software.amazon.awscdk.services.iam.AccessKeyStatus.ACTIVE),
  INACTIVE(software.amazon.awscdk.services.iam.AccessKeyStatus.INACTIVE),
  ;

  public companion object {
    internal fun wrap(cdkObject: software.amazon.awscdk.services.iam.AccessKeyStatus):
        AccessKeyStatus = when (cdkObject) {
      software.amazon.awscdk.services.iam.AccessKeyStatus.ACTIVE -> AccessKeyStatus.ACTIVE
      software.amazon.awscdk.services.iam.AccessKeyStatus.INACTIVE -> AccessKeyStatus.INACTIVE
    }

    internal fun unwrap(wrapped: AccessKeyStatus):
        software.amazon.awscdk.services.iam.AccessKeyStatus = wrapped.cdkObject
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy