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

com.pulumi.gcp.monitoring.kotlin.inputs.NotificationChannelSensitiveLabelsArgs.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.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.monitoring.kotlin.inputs

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

/**
 *
 * @property authToken An authorization token for a notification channel. Channel types that support this field include: slack
 * **Note**: This property is sensitive and will not be displayed in the plan.
 * @property password An password for a notification channel. Channel types that support this field include: webhook_basicauth
 * **Note**: This property is sensitive and will not be displayed in the plan.
 * @property serviceKey An servicekey token for a notification channel. Channel types that support this field include: pagerduty
 * **Note**: This property is sensitive and will not be displayed in the plan.
 */
public data class NotificationChannelSensitiveLabelsArgs(
    public val authToken: Output? = null,
    public val password: Output? = null,
    public val serviceKey: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.monitoring.inputs.NotificationChannelSensitiveLabelsArgs =
        com.pulumi.gcp.monitoring.inputs.NotificationChannelSensitiveLabelsArgs.builder()
            .authToken(authToken?.applyValue({ args0 -> args0 }))
            .password(password?.applyValue({ args0 -> args0 }))
            .serviceKey(serviceKey?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [NotificationChannelSensitiveLabelsArgs].
 */
@PulumiTagMarker
public class NotificationChannelSensitiveLabelsArgsBuilder internal constructor() {
    private var authToken: Output? = null

    private var password: Output? = null

    private var serviceKey: Output? = null

    /**
     * @param value An authorization token for a notification channel. Channel types that support this field include: slack
     * **Note**: This property is sensitive and will not be displayed in the plan.
     */
    @JvmName("awxwgxnfddocckxr")
    public suspend fun authToken(`value`: Output) {
        this.authToken = value
    }

    /**
     * @param value An password for a notification channel. Channel types that support this field include: webhook_basicauth
     * **Note**: This property is sensitive and will not be displayed in the plan.
     */
    @JvmName("dwnaaxbocrkuprbu")
    public suspend fun password(`value`: Output) {
        this.password = value
    }

    /**
     * @param value An servicekey token for a notification channel. Channel types that support this field include: pagerduty
     * **Note**: This property is sensitive and will not be displayed in the plan.
     */
    @JvmName("rfnucpkucofypctn")
    public suspend fun serviceKey(`value`: Output) {
        this.serviceKey = value
    }

    /**
     * @param value An authorization token for a notification channel. Channel types that support this field include: slack
     * **Note**: This property is sensitive and will not be displayed in the plan.
     */
    @JvmName("vihaoaqnhnvvkkas")
    public suspend fun authToken(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.authToken = mapped
    }

    /**
     * @param value An password for a notification channel. Channel types that support this field include: webhook_basicauth
     * **Note**: This property is sensitive and will not be displayed in the plan.
     */
    @JvmName("ghqgehwpqatexydb")
    public suspend fun password(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.password = mapped
    }

    /**
     * @param value An servicekey token for a notification channel. Channel types that support this field include: pagerduty
     * **Note**: This property is sensitive and will not be displayed in the plan.
     */
    @JvmName("cxvpvjgcbwqhtqsm")
    public suspend fun serviceKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serviceKey = mapped
    }

    internal fun build(): NotificationChannelSensitiveLabelsArgs =
        NotificationChannelSensitiveLabelsArgs(
            authToken = authToken,
            password = password,
            serviceKey = serviceKey,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy