com.pulumi.aws.resiliencehub.kotlin.inputs.ResiliencyPolicyPolicyRegionArgs.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.resiliencehub.kotlin.inputs
import com.pulumi.aws.resiliencehub.inputs.ResiliencyPolicyPolicyRegionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property rpo Recovery Point Objective (RPO) as a Go duration.
* @property rto Recovery Time Objective (RTO) as a Go duration.
*/
public data class ResiliencyPolicyPolicyRegionArgs(
public val rpo: Output? = null,
public val rto: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.resiliencehub.inputs.ResiliencyPolicyPolicyRegionArgs =
com.pulumi.aws.resiliencehub.inputs.ResiliencyPolicyPolicyRegionArgs.builder()
.rpo(rpo?.applyValue({ args0 -> args0 }))
.rto(rto?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ResiliencyPolicyPolicyRegionArgs].
*/
@PulumiTagMarker
public class ResiliencyPolicyPolicyRegionArgsBuilder internal constructor() {
private var rpo: Output? = null
private var rto: Output? = null
/**
* @param value Recovery Point Objective (RPO) as a Go duration.
*/
@JvmName("hagyljxepxsijvwo")
public suspend fun rpo(`value`: Output) {
this.rpo = value
}
/**
* @param value Recovery Time Objective (RTO) as a Go duration.
*/
@JvmName("gxwddwggdtusgqaj")
public suspend fun rto(`value`: Output) {
this.rto = value
}
/**
* @param value Recovery Point Objective (RPO) as a Go duration.
*/
@JvmName("jebbqjqughulrrul")
public suspend fun rpo(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.rpo = mapped
}
/**
* @param value Recovery Time Objective (RTO) as a Go duration.
*/
@JvmName("fuxwctiftdopqfao")
public suspend fun rto(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.rto = mapped
}
internal fun build(): ResiliencyPolicyPolicyRegionArgs = ResiliencyPolicyPolicyRegionArgs(
rpo = rpo,
rto = rto,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy