com.pulumi.azure.hdinsight.kotlin.inputs.InteractiveQueryClusterRolesHeadNodeScriptActionArgs.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.hdinsight.kotlin.inputs
import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterRolesHeadNodeScriptActionArgs.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 name The name of the script action.
* @property parameters The parameters for the script provided.
* @property uri The URI to the script.
*/
public data class InteractiveQueryClusterRolesHeadNodeScriptActionArgs(
public val name: Output,
public val parameters: Output? = null,
public val uri: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterRolesHeadNodeScriptActionArgs =
com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterRolesHeadNodeScriptActionArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.parameters(parameters?.applyValue({ args0 -> args0 }))
.uri(uri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InteractiveQueryClusterRolesHeadNodeScriptActionArgs].
*/
@PulumiTagMarker
public class InteractiveQueryClusterRolesHeadNodeScriptActionArgsBuilder internal constructor() {
private var name: Output? = null
private var parameters: Output? = null
private var uri: Output? = null
/**
* @param value The name of the script action.
*/
@JvmName("wworfnyqvxyxfxoq")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The parameters for the script provided.
*/
@JvmName("cyqkmhqqexiycvto")
public suspend fun parameters(`value`: Output) {
this.parameters = value
}
/**
* @param value The URI to the script.
*/
@JvmName("qplddgmebsgkkaoi")
public suspend fun uri(`value`: Output) {
this.uri = value
}
/**
* @param value The name of the script action.
*/
@JvmName("juqqujwqqighnnhq")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The parameters for the script provided.
*/
@JvmName("fpaiwnqkwevnvqsu")
public suspend fun parameters(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.parameters = mapped
}
/**
* @param value The URI to the script.
*/
@JvmName("ekajjcbpsgdgbluf")
public suspend fun uri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.uri = mapped
}
internal fun build(): InteractiveQueryClusterRolesHeadNodeScriptActionArgs =
InteractiveQueryClusterRolesHeadNodeScriptActionArgs(
name = name ?: throw PulumiNullFieldException("name"),
parameters = parameters,
uri = uri ?: throw PulumiNullFieldException("uri"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy