com.pulumi.gcp.storage.kotlin.outputs.BucketLifecycleRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.storage.kotlin.outputs
import kotlin.Suppress
/**
*
* @property action The Lifecycle Rule's action configuration. A single block of this type is supported. Structure is documented below.
* @property condition The Lifecycle Rule's condition configuration. A single block of this type is supported. Structure is documented below.
*/
public data class BucketLifecycleRule(
public val action: BucketLifecycleRuleAction,
public val condition: BucketLifecycleRuleCondition,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.storage.outputs.BucketLifecycleRule): BucketLifecycleRule = BucketLifecycleRule(
action = javaType.action().let({ args0 ->
com.pulumi.gcp.storage.kotlin.outputs.BucketLifecycleRuleAction.Companion.toKotlin(args0)
}),
condition = javaType.condition().let({ args0 ->
com.pulumi.gcp.storage.kotlin.outputs.BucketLifecycleRuleCondition.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy