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

com.pulumi.azurenative.securityinsights.kotlin.inputs.EventGroupingSettingsArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.securityinsights.kotlin.inputs

import com.pulumi.azurenative.securityinsights.inputs.EventGroupingSettingsArgs.builder
import com.pulumi.azurenative.securityinsights.kotlin.enums.EventGroupingAggregationKind
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Event grouping settings property bag.
 * @property aggregationKind The event grouping aggregation kinds
 */
public data class EventGroupingSettingsArgs(
    public val aggregationKind: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.securityinsights.inputs.EventGroupingSettingsArgs =
        com.pulumi.azurenative.securityinsights.inputs.EventGroupingSettingsArgs.builder()
            .aggregationKind(
                aggregationKind?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

/**
 * Builder for [EventGroupingSettingsArgs].
 */
@PulumiTagMarker
public class EventGroupingSettingsArgsBuilder internal constructor() {
    private var aggregationKind: Output>? = null

    /**
     * @param value The event grouping aggregation kinds
     */
    @JvmName("lodgyetftqdqokum")
    public suspend fun aggregationKind(`value`: Output>) {
        this.aggregationKind = value
    }

    /**
     * @param value The event grouping aggregation kinds
     */
    @JvmName("hoimmauauvbwqilo")
    public suspend fun aggregationKind(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.aggregationKind = mapped
    }

    /**
     * @param value The event grouping aggregation kinds
     */
    @JvmName("pwytvalfvwqpkbge")
    public fun aggregationKind(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.aggregationKind = mapped
    }

    /**
     * @param value The event grouping aggregation kinds
     */
    @JvmName("bkmucbqviggyoyyc")
    public fun aggregationKind(`value`: EventGroupingAggregationKind) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.aggregationKind = mapped
    }

    internal fun build(): EventGroupingSettingsArgs = EventGroupingSettingsArgs(
        aggregationKind = aggregationKind,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy