com.pulumi.gcp.dataproc.kotlin.inputs.MetastoreServiceMetadataIntegrationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dataproc.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataproc.inputs.MetastoreServiceMetadataIntegrationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property dataCatalogConfig The integration config for the Data Catalog service.
* Structure is documented below.
*/
public data class MetastoreServiceMetadataIntegrationArgs(
public val dataCatalogConfig: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.MetastoreServiceMetadataIntegrationArgs =
com.pulumi.gcp.dataproc.inputs.MetastoreServiceMetadataIntegrationArgs.builder()
.dataCatalogConfig(
dataCatalogConfig.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [MetastoreServiceMetadataIntegrationArgs].
*/
@PulumiTagMarker
public class MetastoreServiceMetadataIntegrationArgsBuilder internal constructor() {
private var dataCatalogConfig: Output? =
null
/**
* @param value The integration config for the Data Catalog service.
* Structure is documented below.
*/
@JvmName("ugydfvggvgtxwdxx")
public suspend fun dataCatalogConfig(`value`: Output) {
this.dataCatalogConfig = value
}
/**
* @param value The integration config for the Data Catalog service.
* Structure is documented below.
*/
@JvmName("qppitxuocgqsnkmu")
public suspend fun dataCatalogConfig(`value`: MetastoreServiceMetadataIntegrationDataCatalogConfigArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.dataCatalogConfig = mapped
}
/**
* @param argument The integration config for the Data Catalog service.
* Structure is documented below.
*/
@JvmName("rbbvrloqytxvqctb")
public suspend fun dataCatalogConfig(argument: suspend MetastoreServiceMetadataIntegrationDataCatalogConfigArgsBuilder.() -> Unit) {
val toBeMapped = MetastoreServiceMetadataIntegrationDataCatalogConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.dataCatalogConfig = mapped
}
internal fun build(): MetastoreServiceMetadataIntegrationArgs =
MetastoreServiceMetadataIntegrationArgs(
dataCatalogConfig = dataCatalogConfig ?: throw PulumiNullFieldException("dataCatalogConfig"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy