
com.pulumi.azure.hdinsight.kotlin.inputs.HadoopClusterRolesEdgeNodeUninstallScriptActionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.hdinsight.kotlin.inputs
import com.pulumi.azure.hdinsight.inputs.HadoopClusterRolesEdgeNodeUninstallScriptActionArgs.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 uninstall script action.
* @property parameters The parameters for the script.
* @property uri The URI pointing to the script to run during the installation of the edge node.
*/
public data class HadoopClusterRolesEdgeNodeUninstallScriptActionArgs(
public val name: Output,
public val parameters: Output? = null,
public val uri: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.hdinsight.inputs.HadoopClusterRolesEdgeNodeUninstallScriptActionArgs =
com.pulumi.azure.hdinsight.inputs.HadoopClusterRolesEdgeNodeUninstallScriptActionArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.parameters(parameters?.applyValue({ args0 -> args0 }))
.uri(uri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HadoopClusterRolesEdgeNodeUninstallScriptActionArgs].
*/
@PulumiTagMarker
public class HadoopClusterRolesEdgeNodeUninstallScriptActionArgsBuilder internal constructor() {
private var name: Output? = null
private var parameters: Output? = null
private var uri: Output? = null
/**
* @param value The name of the uninstall script action.
*/
@JvmName("vjtdyaeesoyexfuv")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The parameters for the script.
*/
@JvmName("iumxqxhwmtrwkrbl")
public suspend fun parameters(`value`: Output) {
this.parameters = value
}
/**
* @param value The URI pointing to the script to run during the installation of the edge node.
*/
@JvmName("bsvhsfqavkdaegkk")
public suspend fun uri(`value`: Output) {
this.uri = value
}
/**
* @param value The name of the uninstall script action.
*/
@JvmName("wcpsbtdicsbmthoi")
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.
*/
@JvmName("hvdbgxeksworjvus")
public suspend fun parameters(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.parameters = mapped
}
/**
* @param value The URI pointing to the script to run during the installation of the edge node.
*/
@JvmName("jfuafxigjinyimjk")
public suspend fun uri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.uri = mapped
}
internal fun build(): HadoopClusterRolesEdgeNodeUninstallScriptActionArgs =
HadoopClusterRolesEdgeNodeUninstallScriptActionArgs(
name = name ?: throw PulumiNullFieldException("name"),
parameters = parameters,
uri = uri ?: throw PulumiNullFieldException("uri"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy