com.pulumi.gcp.composer.kotlin.inputs.EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.composer.inputs.EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property storageMode Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
*/
public data class EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs(
public val storageMode: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.composer.inputs.EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs =
com.pulumi.gcp.composer.inputs.EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs.builder()
.storageMode(storageMode?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs].
*/
@PulumiTagMarker
public class EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgsBuilder internal constructor() {
private var storageMode: Output? = null
/**
* @param value Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
*/
@JvmName("fijcwiadbnllpcth")
public suspend fun storageMode(`value`: Output) {
this.storageMode = value
}
/**
* @param value Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
*/
@JvmName("hhdjbfxrcsfyaoam")
public suspend fun storageMode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storageMode = mapped
}
internal fun build(): EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs =
EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs(
storageMode = storageMode,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy