com.pulumi.gcp.composer.kotlin.outputs.EnvironmentConfigWorkloadsConfig.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.composer.kotlin.outputs
import kotlin.Suppress
/**
*
* @property dagProcessor Configuration for resources used by DAG processor.
* @property scheduler Configuration for resources used by Airflow schedulers.
* @property triggerer Configuration for resources used by Airflow triggerers.
* @property webServer Configuration for resources used by Airflow web server.
* @property worker Configuration for resources used by Airflow workers.
*/
public data class EnvironmentConfigWorkloadsConfig(
public val dagProcessor: EnvironmentConfigWorkloadsConfigDagProcessor? = null,
public val scheduler: EnvironmentConfigWorkloadsConfigScheduler? = null,
public val triggerer: EnvironmentConfigWorkloadsConfigTriggerer? = null,
public val webServer: EnvironmentConfigWorkloadsConfigWebServer? = null,
public val worker: EnvironmentConfigWorkloadsConfigWorker? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.composer.outputs.EnvironmentConfigWorkloadsConfig): EnvironmentConfigWorkloadsConfig = EnvironmentConfigWorkloadsConfig(
dagProcessor = javaType.dagProcessor().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.composer.kotlin.outputs.EnvironmentConfigWorkloadsConfigDagProcessor.Companion.toKotlin(args0)
})
}).orElse(null),
scheduler = javaType.scheduler().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.composer.kotlin.outputs.EnvironmentConfigWorkloadsConfigScheduler.Companion.toKotlin(args0)
})
}).orElse(null),
triggerer = javaType.triggerer().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.composer.kotlin.outputs.EnvironmentConfigWorkloadsConfigTriggerer.Companion.toKotlin(args0)
})
}).orElse(null),
webServer = javaType.webServer().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.composer.kotlin.outputs.EnvironmentConfigWorkloadsConfigWebServer.Companion.toKotlin(args0)
})
}).orElse(null),
worker = javaType.worker().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.composer.kotlin.outputs.EnvironmentConfigWorkloadsConfigWorker.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy