com.pulumi.aws.dlm.kotlin.inputs.LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.dlm.kotlin.inputs
import com.pulumi.aws.dlm.inputs.LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property interval
* @property intervalUnit
*/
public data class LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleArgs(
public val interval: Output,
public val intervalUnit: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.dlm.inputs.LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleArgs =
com.pulumi.aws.dlm.inputs.LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleArgs.builder()
.interval(interval.applyValue({ args0 -> args0 }))
.intervalUnit(intervalUnit.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleArgs].
*/
@PulumiTagMarker
public class LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleArgsBuilder
internal constructor() {
private var interval: Output? = null
private var intervalUnit: Output? = null
/**
* @param value
*/
@JvmName("lwigvdcsvckyefqr")
public suspend fun interval(`value`: Output) {
this.interval = value
}
/**
* @param value
*/
@JvmName("crhbtnmlkjabwcrj")
public suspend fun intervalUnit(`value`: Output) {
this.intervalUnit = value
}
/**
* @param value
*/
@JvmName("mddgftcyuhinldqg")
public suspend fun interval(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.interval = mapped
}
/**
* @param value
*/
@JvmName("itmykvvhxmajcgav")
public suspend fun intervalUnit(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.intervalUnit = mapped
}
internal fun build(): LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleArgs =
LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleArgs(
interval = interval ?: throw PulumiNullFieldException("interval"),
intervalUnit = intervalUnit ?: throw PulumiNullFieldException("intervalUnit"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy