com.pulumi.googlenative.toolresults.v1beta3.kotlin.inputs.PrimaryStepArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.toolresults.v1beta3.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.toolresults.v1beta3.inputs.PrimaryStepArgs.builder
import com.pulumi.googlenative.toolresults.v1beta3.kotlin.enums.PrimaryStepRollUp
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Stores rollup test status of multiple steps that were run as a group and outcome of each individual step.
* @property individualOutcome Step Id and outcome of each individual step.
* @property rollUp Rollup test status of multiple steps that were run with the same configuration as a group.
*/
public data class PrimaryStepArgs(
public val individualOutcome: Output>? = null,
public val rollUp: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.toolresults.v1beta3.inputs.PrimaryStepArgs =
com.pulumi.googlenative.toolresults.v1beta3.inputs.PrimaryStepArgs.builder()
.individualOutcome(
individualOutcome?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.rollUp(rollUp?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [PrimaryStepArgs].
*/
@PulumiTagMarker
public class PrimaryStepArgsBuilder internal constructor() {
private var individualOutcome: Output>? = null
private var rollUp: Output? = null
/**
* @param value Step Id and outcome of each individual step.
*/
@JvmName("ljmmnlcxdjjjipfs")
public suspend fun individualOutcome(`value`: Output>) {
this.individualOutcome = value
}
@JvmName("rwnjtjdakgxrqjwe")
public suspend fun individualOutcome(vararg values: Output) {
this.individualOutcome = Output.all(values.asList())
}
/**
* @param values Step Id and outcome of each individual step.
*/
@JvmName("sitoiriaenurknvd")
public suspend fun individualOutcome(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy