com.pulumi.gcp.privilegedaccessmanager.kotlin.inputs.EntitlementApprovalWorkflowManualApprovalsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.privilegedaccessmanager.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.privilegedaccessmanager.inputs.EntitlementApprovalWorkflowManualApprovalsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property requireApproverJustification Optional. Do the approvers need to provide a justification for their actions?
* @property steps List of approval steps in this workflow. These steps would be followed in the specified order sequentially. 1 step is supported for now.
* Structure is documented below.
*/
public data class EntitlementApprovalWorkflowManualApprovalsArgs(
public val requireApproverJustification: Output? = null,
public val steps: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.privilegedaccessmanager.inputs.EntitlementApprovalWorkflowManualApprovalsArgs =
com.pulumi.gcp.privilegedaccessmanager.inputs.EntitlementApprovalWorkflowManualApprovalsArgs.builder()
.requireApproverJustification(requireApproverJustification?.applyValue({ args0 -> args0 }))
.steps(
steps.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EntitlementApprovalWorkflowManualApprovalsArgs].
*/
@PulumiTagMarker
public class EntitlementApprovalWorkflowManualApprovalsArgsBuilder internal constructor() {
private var requireApproverJustification: Output? = null
private var steps: Output>? = null
/**
* @param value Optional. Do the approvers need to provide a justification for their actions?
*/
@JvmName("nyfueiwoyusrreyv")
public suspend fun requireApproverJustification(`value`: Output) {
this.requireApproverJustification = value
}
/**
* @param value List of approval steps in this workflow. These steps would be followed in the specified order sequentially. 1 step is supported for now.
* Structure is documented below.
*/
@JvmName("fmapvthhmublnmxm")
public suspend fun steps(`value`: Output>) {
this.steps = value
}
@JvmName("pbmgilpjmkhosipq")
public suspend fun steps(vararg values: Output) {
this.steps = Output.all(values.asList())
}
/**
* @param values List of approval steps in this workflow. These steps would be followed in the specified order sequentially. 1 step is supported for now.
* Structure is documented below.
*/
@JvmName("ahybslhmdooqtpgp")
public suspend fun steps(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy