com.pulumi.awsnative.backup.kotlin.inputs.FrameworkControlArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.backup.kotlin.inputs
import com.pulumi.awsnative.backup.inputs.FrameworkControlArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property controlInputParameters A list of ParameterName and ParameterValue pairs.
* @property controlName The name of a control. This name is between 1 and 256 characters.
* @property controlScope The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans.
*/
public data class FrameworkControlArgs(
public val controlInputParameters: Output>? = null,
public val controlName: Output,
public val controlScope: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.backup.inputs.FrameworkControlArgs =
com.pulumi.awsnative.backup.inputs.FrameworkControlArgs.builder()
.controlInputParameters(
controlInputParameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.controlName(controlName.applyValue({ args0 -> args0 }))
.controlScope(controlScope?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [FrameworkControlArgs].
*/
@PulumiTagMarker
public class FrameworkControlArgsBuilder internal constructor() {
private var controlInputParameters: Output>? = null
private var controlName: Output? = null
private var controlScope: Output? = null
/**
* @param value A list of ParameterName and ParameterValue pairs.
*/
@JvmName("ducborlorebaibnv")
public suspend fun controlInputParameters(`value`: Output>) {
this.controlInputParameters = value
}
@JvmName("cqdjiluslarfppxs")
public suspend fun controlInputParameters(vararg values: Output) {
this.controlInputParameters = Output.all(values.asList())
}
/**
* @param values A list of ParameterName and ParameterValue pairs.
*/
@JvmName("tmsdvygefagrkoyr")
public suspend fun controlInputParameters(values: List