![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.DataSourceDatabricksParametersArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DataSourceDatabricksParametersArgs.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.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The parameters that are required to connect to a Databricks data source.
* @property host The host name of the Databricks data source.
* @property port The port for the Databricks data source.
* @property sqlEndpointPath The HTTP path of the Databricks data source.
*/
public data class DataSourceDatabricksParametersArgs(
public val host: Output,
public val port: Output,
public val sqlEndpointPath: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DataSourceDatabricksParametersArgs =
com.pulumi.awsnative.quicksight.inputs.DataSourceDatabricksParametersArgs.builder()
.host(host.applyValue({ args0 -> args0 }))
.port(port.applyValue({ args0 -> args0 }))
.sqlEndpointPath(sqlEndpointPath.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataSourceDatabricksParametersArgs].
*/
@PulumiTagMarker
public class DataSourceDatabricksParametersArgsBuilder internal constructor() {
private var host: Output? = null
private var port: Output? = null
private var sqlEndpointPath: Output? = null
/**
* @param value The host name of the Databricks data source.
*/
@JvmName("pcyluhqjjevjjbai")
public suspend fun host(`value`: Output) {
this.host = value
}
/**
* @param value The port for the Databricks data source.
*/
@JvmName("oqrwnirmkkqgrivw")
public suspend fun port(`value`: Output) {
this.port = value
}
/**
* @param value The HTTP path of the Databricks data source.
*/
@JvmName("ycmtqnurcgmhjmeu")
public suspend fun sqlEndpointPath(`value`: Output) {
this.sqlEndpointPath = value
}
/**
* @param value The host name of the Databricks data source.
*/
@JvmName("pnhcrlgldwfblauf")
public suspend fun host(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.host = mapped
}
/**
* @param value The port for the Databricks data source.
*/
@JvmName("kouiwuqmvfuqskwn")
public suspend fun port(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.port = mapped
}
/**
* @param value The HTTP path of the Databricks data source.
*/
@JvmName("nkjrsobtpalevfeg")
public suspend fun sqlEndpointPath(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sqlEndpointPath = mapped
}
internal fun build(): DataSourceDatabricksParametersArgs = DataSourceDatabricksParametersArgs(
host = host ?: throw PulumiNullFieldException("host"),
port = port ?: throw PulumiNullFieldException("port"),
sqlEndpointPath = sqlEndpointPath ?: throw PulumiNullFieldException("sqlEndpointPath"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy