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

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

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

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

import com.pulumi.azure.hdinsight.inputs.HBaseClusterGatewayArgs.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 password The password used for the Ambari Portal.
 * > **NOTE:** This password must be different from the one used for the `head_node`, `worker_node` and `zookeeper_node` roles.
 * @property username The username used for the Ambari Portal. Changing this forces a new resource to be created.
 */
public data class HBaseClusterGatewayArgs(
    public val password: Output,
    public val username: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hdinsight.inputs.HBaseClusterGatewayArgs =
        com.pulumi.azure.hdinsight.inputs.HBaseClusterGatewayArgs.builder()
            .password(password.applyValue({ args0 -> args0 }))
            .username(username.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [HBaseClusterGatewayArgs].
 */
@PulumiTagMarker
public class HBaseClusterGatewayArgsBuilder internal constructor() {
    private var password: Output? = null

    private var username: Output? = null

    /**
     * @param value The password used for the Ambari Portal.
     * > **NOTE:** This password must be different from the one used for the `head_node`, `worker_node` and `zookeeper_node` roles.
     */
    @JvmName("yaultptywabtdmgv")
    public suspend fun password(`value`: Output) {
        this.password = value
    }

    /**
     * @param value The username used for the Ambari Portal. Changing this forces a new resource to be created.
     */
    @JvmName("dphusarmqntratnb")
    public suspend fun username(`value`: Output) {
        this.username = value
    }

    /**
     * @param value The password used for the Ambari Portal.
     * > **NOTE:** This password must be different from the one used for the `head_node`, `worker_node` and `zookeeper_node` roles.
     */
    @JvmName("stwcsfkgxrmagxlv")
    public suspend fun password(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.password = mapped
    }

    /**
     * @param value The username used for the Ambari Portal. Changing this forces a new resource to be created.
     */
    @JvmName("vdqmrnbiptafanwt")
    public suspend fun username(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.username = mapped
    }

    internal fun build(): HBaseClusterGatewayArgs = HBaseClusterGatewayArgs(
        password = password ?: throw PulumiNullFieldException("password"),
        username = username ?: throw PulumiNullFieldException("username"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy