com.pulumi.aws.quicksight.kotlin.inputs.DataSourceParametersAuroraArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.quicksight.kotlin.inputs
import com.pulumi.aws.quicksight.inputs.DataSourceParametersAuroraArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property database The database to which to connect.
* @property host The host to which to connect.
* @property port The port to which to connect.
*/
public data class DataSourceParametersAuroraArgs(
public val database: Output,
public val host: Output,
public val port: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.quicksight.inputs.DataSourceParametersAuroraArgs =
com.pulumi.aws.quicksight.inputs.DataSourceParametersAuroraArgs.builder()
.database(database.applyValue({ args0 -> args0 }))
.host(host.applyValue({ args0 -> args0 }))
.port(port.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataSourceParametersAuroraArgs].
*/
@PulumiTagMarker
public class DataSourceParametersAuroraArgsBuilder internal constructor() {
private var database: Output? = null
private var host: Output? = null
private var port: Output? = null
/**
* @param value The database to which to connect.
*/
@JvmName("jisfjjcklmassnfq")
public suspend fun database(`value`: Output) {
this.database = value
}
/**
* @param value The host to which to connect.
*/
@JvmName("wqkgcdfbckrlepta")
public suspend fun host(`value`: Output) {
this.host = value
}
/**
* @param value The port to which to connect.
*/
@JvmName("lgormtpqxavwfccy")
public suspend fun port(`value`: Output) {
this.port = value
}
/**
* @param value The database to which to connect.
*/
@JvmName("yfxwihnpbfbkurhj")
public suspend fun database(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.database = mapped
}
/**
* @param value The host to which to connect.
*/
@JvmName("jsaaevimimuydacr")
public suspend fun host(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.host = mapped
}
/**
* @param value The port to which to connect.
*/
@JvmName("lmrkakxrwtlsafdb")
public suspend fun port(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.port = mapped
}
internal fun build(): DataSourceParametersAuroraArgs = DataSourceParametersAuroraArgs(
database = database ?: throw PulumiNullFieldException("database"),
host = host ?: throw PulumiNullFieldException("host"),
port = port ?: throw PulumiNullFieldException("port"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy