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

com.pulumi.gcp.pubsub.kotlin.inputs.TopicIngestionDataSourceSettingsPlatformLogsSettingsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.pubsub.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.pubsub.inputs.TopicIngestionDataSourceSettingsPlatformLogsSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property severity The minimum severity level of Platform Logs that will be written. If unspecified,
 * no Platform Logs will be written.
 * Default value is `SEVERITY_UNSPECIFIED`.
 * Possible values are: `SEVERITY_UNSPECIFIED`, `DISABLED`, `DEBUG`, `INFO`, `WARNING`, `ERROR`.
 */
public data class TopicIngestionDataSourceSettingsPlatformLogsSettingsArgs(
    public val severity: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.pubsub.inputs.TopicIngestionDataSourceSettingsPlatformLogsSettingsArgs =
        com.pulumi.gcp.pubsub.inputs.TopicIngestionDataSourceSettingsPlatformLogsSettingsArgs.builder()
            .severity(severity?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TopicIngestionDataSourceSettingsPlatformLogsSettingsArgs].
 */
@PulumiTagMarker
public class TopicIngestionDataSourceSettingsPlatformLogsSettingsArgsBuilder internal constructor() {
    private var severity: Output? = null

    /**
     * @param value The minimum severity level of Platform Logs that will be written. If unspecified,
     * no Platform Logs will be written.
     * Default value is `SEVERITY_UNSPECIFIED`.
     * Possible values are: `SEVERITY_UNSPECIFIED`, `DISABLED`, `DEBUG`, `INFO`, `WARNING`, `ERROR`.
     */
    @JvmName("deutymnswhihqren")
    public suspend fun severity(`value`: Output) {
        this.severity = value
    }

    /**
     * @param value The minimum severity level of Platform Logs that will be written. If unspecified,
     * no Platform Logs will be written.
     * Default value is `SEVERITY_UNSPECIFIED`.
     * Possible values are: `SEVERITY_UNSPECIFIED`, `DISABLED`, `DEBUG`, `INFO`, `WARNING`, `ERROR`.
     */
    @JvmName("pxhwjfqahkipwrpa")
    public suspend fun severity(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.severity = mapped
    }

    internal fun build(): TopicIngestionDataSourceSettingsPlatformLogsSettingsArgs =
        TopicIngestionDataSourceSettingsPlatformLogsSettingsArgs(
            severity = severity,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy