All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.hdinsight.kotlin.inputs.SparkClusterRolesHeadNodeScriptActionArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.hdinsight.kotlin.inputs

import com.pulumi.azure.hdinsight.inputs.SparkClusterRolesHeadNodeScriptActionArgs.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 SparkClusterRolesHeadNodeScriptActionArgs(
    public val name: Output,
    public val parameters: Output? = null,
    public val uri: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hdinsight.inputs.SparkClusterRolesHeadNodeScriptActionArgs = com.pulumi.azure.hdinsight.inputs.SparkClusterRolesHeadNodeScriptActionArgs.builder()
        .name(name.applyValue({ args0 -> args0 }))
        .parameters(parameters?.applyValue({ args0 -> args0 }))
        .uri(uri.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SparkClusterRolesHeadNodeScriptActionArgs].
 */
@PulumiTagMarker
public class SparkClusterRolesHeadNodeScriptActionArgsBuilder 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("rjpvqbscdrcfemcq")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The parameters for the script provided.
     */
    @JvmName("dkrtdrwuhowycnxy")
    public suspend fun parameters(`value`: Output) {
        this.parameters = value
    }

    /**
     * @param value The URI to the script.
     */
    @JvmName("dykcrhgsfjukunsv")
    public suspend fun uri(`value`: Output) {
        this.uri = value
    }

    /**
     * @param value The name of the script action.
     */
    @JvmName("dsvfjvnetlfteoys")
    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("cnnqfekaodebawau")
    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("qoequejoulrvciav")
    public suspend fun uri(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.uri = mapped
    }

    internal fun build(): SparkClusterRolesHeadNodeScriptActionArgs =
        SparkClusterRolesHeadNodeScriptActionArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            parameters = parameters,
            uri = uri ?: throw PulumiNullFieldException("uri"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy