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