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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterMetastoresHiveArgs.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 databaseName The external Hive metastore's existing SQL database. Changing this forces a new resource to be created.
 * @property password The external Hive metastore's existing SQL server admin password. Changing this forces a new resource to be created.
 * @property server The fully-qualified domain name (FQDN) of the SQL server to use for the external Hive metastore. Changing this forces a new resource to be created.
 * @property username The external Hive metastore's existing SQL server admin username. Changing this forces a new resource to be created.
 */
public data class InteractiveQueryClusterMetastoresHiveArgs(
    public val databaseName: Output,
    public val password: Output,
    public val server: Output,
    public val username: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterMetastoresHiveArgs = com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterMetastoresHiveArgs.builder()
        .databaseName(databaseName.applyValue({ args0 -> args0 }))
        .password(password.applyValue({ args0 -> args0 }))
        .server(server.applyValue({ args0 -> args0 }))
        .username(username.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InteractiveQueryClusterMetastoresHiveArgs].
 */
@PulumiTagMarker
public class InteractiveQueryClusterMetastoresHiveArgsBuilder internal constructor() {
    private var databaseName: Output? = null

    private var password: Output? = null

    private var server: Output? = null

    private var username: Output? = null

    /**
     * @param value The external Hive metastore's existing SQL database. Changing this forces a new resource to be created.
     */
    @JvmName("maqovaongkeqoyng")
    public suspend fun databaseName(`value`: Output) {
        this.databaseName = value
    }

    /**
     * @param value The external Hive metastore's existing SQL server admin password. Changing this forces a new resource to be created.
     */
    @JvmName("mhkhydhntncynkts")
    public suspend fun password(`value`: Output) {
        this.password = value
    }

    /**
     * @param value The fully-qualified domain name (FQDN) of the SQL server to use for the external Hive metastore. Changing this forces a new resource to be created.
     */
    @JvmName("wfmdeqxcrvktvvso")
    public suspend fun server(`value`: Output) {
        this.server = value
    }

    /**
     * @param value The external Hive metastore's existing SQL server admin username. Changing this forces a new resource to be created.
     */
    @JvmName("qoogphknywnonscw")
    public suspend fun username(`value`: Output) {
        this.username = value
    }

    /**
     * @param value The external Hive metastore's existing SQL database. Changing this forces a new resource to be created.
     */
    @JvmName("knrrpgwmwwmrjaqh")
    public suspend fun databaseName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.databaseName = mapped
    }

    /**
     * @param value The external Hive metastore's existing SQL server admin password. Changing this forces a new resource to be created.
     */
    @JvmName("txusiochpxkbdlvw")
    public suspend fun password(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.password = mapped
    }

    /**
     * @param value The fully-qualified domain name (FQDN) of the SQL server to use for the external Hive metastore. Changing this forces a new resource to be created.
     */
    @JvmName("ddhumculwkwtmxrr")
    public suspend fun server(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.server = mapped
    }

    /**
     * @param value The external Hive metastore's existing SQL server admin username. Changing this forces a new resource to be created.
     */
    @JvmName("doblcaebugfoprkn")
    public suspend fun username(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.username = mapped
    }

    internal fun build(): InteractiveQueryClusterMetastoresHiveArgs =
        InteractiveQueryClusterMetastoresHiveArgs(
            databaseName = databaseName ?: throw PulumiNullFieldException("databaseName"),
            password = password ?: throw PulumiNullFieldException("password"),
            server = server ?: throw PulumiNullFieldException("server"),
            username = username ?: throw PulumiNullFieldException("username"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy