com.pulumi.azure.hdinsight.kotlin.inputs.HBaseClusterRolesHeadNodeScriptActionArgs.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.HBaseClusterRolesHeadNodeScriptActionArgs.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 HBaseClusterRolesHeadNodeScriptActionArgs(
public val name: Output,
public val parameters: Output? = null,
public val uri: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.hdinsight.inputs.HBaseClusterRolesHeadNodeScriptActionArgs =
com.pulumi.azure.hdinsight.inputs.HBaseClusterRolesHeadNodeScriptActionArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.parameters(parameters?.applyValue({ args0 -> args0 }))
.uri(uri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HBaseClusterRolesHeadNodeScriptActionArgs].
*/
@PulumiTagMarker
public class HBaseClusterRolesHeadNodeScriptActionArgsBuilder 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("assvuerxwfvfegww")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The parameters for the script provided.
*/
@JvmName("otlohfwuhmqaijev")
public suspend fun parameters(`value`: Output) {
this.parameters = value
}
/**
* @param value The URI to the script.
*/
@JvmName("mqedoljlvkcqbxvr")
public suspend fun uri(`value`: Output) {
this.uri = value
}
/**
* @param value The name of the script action.
*/
@JvmName("uwnyyqvdrklstgaq")
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("isdodrkwihajbskb")
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("xxmtvqcoqkkymxgu")
public suspend fun uri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.uri = mapped
}
internal fun build(): HBaseClusterRolesHeadNodeScriptActionArgs =
HBaseClusterRolesHeadNodeScriptActionArgs(
name = name ?: throw PulumiNullFieldException("name"),
parameters = parameters,
uri = uri ?: throw PulumiNullFieldException("uri"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy