![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.automation.kotlin.inputs.RunBookDraftArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.automation.kotlin.inputs
import com.pulumi.azure.automation.inputs.RunBookDraftArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property contentLink A `publish_content_link` block as defined above.
* @property creationTime
* @property editModeEnabled Whether the draft in edit mode.
* @property lastModifiedTime
* @property outputTypes Specifies the output types of the runbook.
* @property parameters A list of `parameters` block as defined below.
*/
public data class RunBookDraftArgs(
public val contentLink: Output? = null,
public val creationTime: Output? = null,
public val editModeEnabled: Output? = null,
public val lastModifiedTime: Output? = null,
public val outputTypes: Output>? = null,
public val parameters: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.automation.inputs.RunBookDraftArgs =
com.pulumi.azure.automation.inputs.RunBookDraftArgs.builder()
.contentLink(contentLink?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.creationTime(creationTime?.applyValue({ args0 -> args0 }))
.editModeEnabled(editModeEnabled?.applyValue({ args0 -> args0 }))
.lastModifiedTime(lastModifiedTime?.applyValue({ args0 -> args0 }))
.outputTypes(outputTypes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.parameters(
parameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [RunBookDraftArgs].
*/
@PulumiTagMarker
public class RunBookDraftArgsBuilder internal constructor() {
private var contentLink: Output? = null
private var creationTime: Output? = null
private var editModeEnabled: Output? = null
private var lastModifiedTime: Output? = null
private var outputTypes: Output>? = null
private var parameters: Output>? = null
/**
* @param value A `publish_content_link` block as defined above.
*/
@JvmName("rcuvsejcqquktlrs")
public suspend fun contentLink(`value`: Output) {
this.contentLink = value
}
/**
* @param value
*/
@JvmName("slbtqlcgmyjlgthn")
public suspend fun creationTime(`value`: Output) {
this.creationTime = value
}
/**
* @param value Whether the draft in edit mode.
*/
@JvmName("mntkvcftlrobqhej")
public suspend fun editModeEnabled(`value`: Output) {
this.editModeEnabled = value
}
/**
* @param value
*/
@JvmName("uanvfgbwpqdjdywb")
public suspend fun lastModifiedTime(`value`: Output) {
this.lastModifiedTime = value
}
/**
* @param value Specifies the output types of the runbook.
*/
@JvmName("uwplndgqydieaoyf")
public suspend fun outputTypes(`value`: Output>) {
this.outputTypes = value
}
@JvmName("mbdwiqnvjjrrwjjh")
public suspend fun outputTypes(vararg values: Output) {
this.outputTypes = Output.all(values.asList())
}
/**
* @param values Specifies the output types of the runbook.
*/
@JvmName("fhcqrdhogspexunt")
public suspend fun outputTypes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy