com.pulumi.azure.automation.kotlin.inputs.RunBookDraftContentLinkHashArgs.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.RunBookDraftContentLinkHashArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property algorithm Specifies the hash algorithm used to hash the content.
* @property value Specifies the expected hash value of the content.
*/
public data class RunBookDraftContentLinkHashArgs(
public val algorithm: Output,
public val `value`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.automation.inputs.RunBookDraftContentLinkHashArgs =
com.pulumi.azure.automation.inputs.RunBookDraftContentLinkHashArgs.builder()
.algorithm(algorithm.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RunBookDraftContentLinkHashArgs].
*/
@PulumiTagMarker
public class RunBookDraftContentLinkHashArgsBuilder internal constructor() {
private var algorithm: Output? = null
private var `value`: Output? = null
/**
* @param value Specifies the hash algorithm used to hash the content.
*/
@JvmName("eppmaaslrctufqjb")
public suspend fun algorithm(`value`: Output) {
this.algorithm = value
}
/**
* @param value Specifies the expected hash value of the content.
*/
@JvmName("mlhlfnbaemegcbbb")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Specifies the hash algorithm used to hash the content.
*/
@JvmName("ngyxkykpkjaebfys")
public suspend fun algorithm(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.algorithm = mapped
}
/**
* @param value Specifies the expected hash value of the content.
*/
@JvmName("lluwhxofqmgmoevt")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): RunBookDraftContentLinkHashArgs = RunBookDraftContentLinkHashArgs(
algorithm = algorithm ?: throw PulumiNullFieldException("algorithm"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy