com.pulumi.azure.hdinsight.kotlin.inputs.SparkClusterMetastoresHiveArgs.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.SparkClusterMetastoresHiveArgs.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 SparkClusterMetastoresHiveArgs(
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.SparkClusterMetastoresHiveArgs =
com.pulumi.azure.hdinsight.inputs.SparkClusterMetastoresHiveArgs.builder()
.databaseName(databaseName.applyValue({ args0 -> args0 }))
.password(password.applyValue({ args0 -> args0 }))
.server(server.applyValue({ args0 -> args0 }))
.username(username.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SparkClusterMetastoresHiveArgs].
*/
@PulumiTagMarker
public class SparkClusterMetastoresHiveArgsBuilder 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("kcswnbpummourmgr")
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("cydqcthvgvqbtefv")
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("hsungidlbxnlumel")
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("mdxbyosjtiqewaga")
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("lerlyvwwwfddmdhg")
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("nfpfxwjdasakjvpm")
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("cgxgjwamnaqwkdgb")
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("tgthqvccdfoawcft")
public suspend fun username(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.username = mapped
}
internal fun build(): SparkClusterMetastoresHiveArgs = SparkClusterMetastoresHiveArgs(
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