All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.bigquery.kotlin.outputs.ConnectionSpark.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.bigquery.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property metastoreServiceConfig Dataproc Metastore Service configuration for the connection.
 * Structure is documented below.
 * @property serviceAccountId (Output)
 * The account ID of the service created for the purpose of this connection.
 * @property sparkHistoryServerConfig Spark History Server configuration for the connection.
 * Structure is documented below.
 */
public data class ConnectionSpark(
    public val metastoreServiceConfig: ConnectionSparkMetastoreServiceConfig? = null,
    public val serviceAccountId: String? = null,
    public val sparkHistoryServerConfig: ConnectionSparkSparkHistoryServerConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.ConnectionSpark): ConnectionSpark = ConnectionSpark(
            metastoreServiceConfig = javaType.metastoreServiceConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.bigquery.kotlin.outputs.ConnectionSparkMetastoreServiceConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            serviceAccountId = javaType.serviceAccountId().map({ args0 -> args0 }).orElse(null),
            sparkHistoryServerConfig = javaType.sparkHistoryServerConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.bigquery.kotlin.outputs.ConnectionSparkSparkHistoryServerConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy