com.pulumi.azure.hdinsight.kotlin.inputs.SparkClusterMetastoresAmbariArgs.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.SparkClusterMetastoresAmbariArgs.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 Ambari 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 Ambari metastore. Changing this forces a new resource to be created.
* @property username The external Ambari metastore's existing SQL server admin username. Changing this forces a new resource to be created.
*/
public data class SparkClusterMetastoresAmbariArgs(
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.SparkClusterMetastoresAmbariArgs =
com.pulumi.azure.hdinsight.inputs.SparkClusterMetastoresAmbariArgs.builder()
.databaseName(databaseName.applyValue({ args0 -> args0 }))
.password(password.applyValue({ args0 -> args0 }))
.server(server.applyValue({ args0 -> args0 }))
.username(username.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SparkClusterMetastoresAmbariArgs].
*/
@PulumiTagMarker
public class SparkClusterMetastoresAmbariArgsBuilder 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("ldwgouqaycsinpbm")
public suspend fun databaseName(`value`: Output) {
this.databaseName = value
}
/**
* @param value The external Ambari metastore's existing SQL server admin password. Changing this forces a new resource to be created.
*/
@JvmName("fmktusjeednmjooy")
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 Ambari metastore. Changing this forces a new resource to be created.
*/
@JvmName("fskxtcmqyyfqqrcr")
public suspend fun server(`value`: Output) {
this.server = value
}
/**
* @param value The external Ambari metastore's existing SQL server admin username. Changing this forces a new resource to be created.
*/
@JvmName("dxjvetwshalkimsc")
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("cqoiqtqkrtkoavwv")
public suspend fun databaseName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.databaseName = mapped
}
/**
* @param value The external Ambari metastore's existing SQL server admin password. Changing this forces a new resource to be created.
*/
@JvmName("mkhfabjtlicgupap")
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 Ambari metastore. Changing this forces a new resource to be created.
*/
@JvmName("owlunqorpnmfuvbq")
public suspend fun server(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.server = mapped
}
/**
* @param value The external Ambari metastore's existing SQL server admin username. Changing this forces a new resource to be created.
*/
@JvmName("idivbpmypbscwuih")
public suspend fun username(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.username = mapped
}
internal fun build(): SparkClusterMetastoresAmbariArgs = SparkClusterMetastoresAmbariArgs(
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