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

com.pulumi.awsnative.xray.kotlin.inputs.GroupInsightsConfigurationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.xray.kotlin.inputs

import com.pulumi.awsnative.xray.inputs.GroupInsightsConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property insightsEnabled Set the InsightsEnabled value to true to enable insights or false to disable insights.
 * @property notificationsEnabled Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
 */
public data class GroupInsightsConfigurationArgs(
    public val insightsEnabled: Output? = null,
    public val notificationsEnabled: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.xray.inputs.GroupInsightsConfigurationArgs =
        com.pulumi.awsnative.xray.inputs.GroupInsightsConfigurationArgs.builder()
            .insightsEnabled(insightsEnabled?.applyValue({ args0 -> args0 }))
            .notificationsEnabled(notificationsEnabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [GroupInsightsConfigurationArgs].
 */
@PulumiTagMarker
public class GroupInsightsConfigurationArgsBuilder internal constructor() {
    private var insightsEnabled: Output? = null

    private var notificationsEnabled: Output? = null

    /**
     * @param value Set the InsightsEnabled value to true to enable insights or false to disable insights.
     */
    @JvmName("qtdqitmcdpjkaxso")
    public suspend fun insightsEnabled(`value`: Output) {
        this.insightsEnabled = value
    }

    /**
     * @param value Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
     */
    @JvmName("kdiinrxbnfdxdlyy")
    public suspend fun notificationsEnabled(`value`: Output) {
        this.notificationsEnabled = value
    }

    /**
     * @param value Set the InsightsEnabled value to true to enable insights or false to disable insights.
     */
    @JvmName("mwiuidujkcnmuvtb")
    public suspend fun insightsEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.insightsEnabled = mapped
    }

    /**
     * @param value Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
     */
    @JvmName("iufthkgmbqmascmx")
    public suspend fun notificationsEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.notificationsEnabled = mapped
    }

    internal fun build(): GroupInsightsConfigurationArgs = GroupInsightsConfigurationArgs(
        insightsEnabled = insightsEnabled,
        notificationsEnabled = notificationsEnabled,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy