com.pulumi.aws.quicksight.kotlin.inputs.DataSourceParametersAuroraPostgresqlArgs.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.DataSourceParametersAuroraPostgresqlArgs.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 DataSourceParametersAuroraPostgresqlArgs(
public val database: Output,
public val host: Output,
public val port: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.quicksight.inputs.DataSourceParametersAuroraPostgresqlArgs =
com.pulumi.aws.quicksight.inputs.DataSourceParametersAuroraPostgresqlArgs.builder()
.database(database.applyValue({ args0 -> args0 }))
.host(host.applyValue({ args0 -> args0 }))
.port(port.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataSourceParametersAuroraPostgresqlArgs].
*/
@PulumiTagMarker
public class DataSourceParametersAuroraPostgresqlArgsBuilder 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("ydrxdbgrmijkjfei")
public suspend fun database(`value`: Output) {
this.database = value
}
/**
* @param value The host to which to connect.
*/
@JvmName("pllknjboarxharlk")
public suspend fun host(`value`: Output) {
this.host = value
}
/**
* @param value The port to which to connect.
*/
@JvmName("bwqemiskqvmfxkil")
public suspend fun port(`value`: Output) {
this.port = value
}
/**
* @param value The database to which to connect.
*/
@JvmName("eimxlfvcegfdbchg")
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("awnfetvfetljlepj")
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("wjfswnombalrvwqt")
public suspend fun port(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.port = mapped
}
internal fun build(): DataSourceParametersAuroraPostgresqlArgs =
DataSourceParametersAuroraPostgresqlArgs(
database = database ?: throw PulumiNullFieldException("database"),
host = host ?: throw PulumiNullFieldException("host"),
port = port ?: throw PulumiNullFieldException("port"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy