![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.automation.kotlin.inputs.ContentLinkArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.automation.kotlin.inputs
import com.pulumi.azurenative.automation.inputs.ContentLinkArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Definition of the content link.
* @property contentHash Gets or sets the hash.
* @property uri Gets or sets the uri of the runbook content.
* @property version Gets or sets the version of the content.
*/
public data class ContentLinkArgs(
public val contentHash: Output? = null,
public val uri: Output? = null,
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.automation.inputs.ContentLinkArgs =
com.pulumi.azurenative.automation.inputs.ContentLinkArgs.builder()
.contentHash(contentHash?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.uri(uri?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ContentLinkArgs].
*/
@PulumiTagMarker
public class ContentLinkArgsBuilder internal constructor() {
private var contentHash: Output? = null
private var uri: Output? = null
private var version: Output? = null
/**
* @param value Gets or sets the hash.
*/
@JvmName("rgsqhqheocfflvtw")
public suspend fun contentHash(`value`: Output) {
this.contentHash = value
}
/**
* @param value Gets or sets the uri of the runbook content.
*/
@JvmName("oerdgwiypexnnqyg")
public suspend fun uri(`value`: Output) {
this.uri = value
}
/**
* @param value Gets or sets the version of the content.
*/
@JvmName("hoskbaioukeuevuw")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value Gets or sets the hash.
*/
@JvmName("qoqemtonalytltlk")
public suspend fun contentHash(`value`: ContentHashArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.contentHash = mapped
}
/**
* @param argument Gets or sets the hash.
*/
@JvmName("nnyabeojggpeplpx")
public suspend fun contentHash(argument: suspend ContentHashArgsBuilder.() -> Unit) {
val toBeMapped = ContentHashArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.contentHash = mapped
}
/**
* @param value Gets or sets the uri of the runbook content.
*/
@JvmName("xnqimfispcjqcdhf")
public suspend fun uri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.uri = mapped
}
/**
* @param value Gets or sets the version of the content.
*/
@JvmName("hhlmmfovreqckogs")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): ContentLinkArgs = ContentLinkArgs(
contentHash = contentHash,
uri = uri,
version = version,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy