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

com.pulumi.azurenative.securityinsights.kotlin.inputs.SecurityMLAnalyticsSettingsDataSourceArgs.kt Maven / Gradle / Ivy

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

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

import com.pulumi.azurenative.securityinsights.inputs.SecurityMLAnalyticsSettingsDataSourceArgs.builder
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.collections.List
import kotlin.jvm.JvmName

/**
 * security ml analytics settings data sources
 * @property connectorId The connector id that provides the following data types
 * @property dataTypes The data types used by the security ml analytics settings
 */
public data class SecurityMLAnalyticsSettingsDataSourceArgs(
    public val connectorId: Output? = null,
    public val dataTypes: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.securityinsights.inputs.SecurityMLAnalyticsSettingsDataSourceArgs =
        com.pulumi.azurenative.securityinsights.inputs.SecurityMLAnalyticsSettingsDataSourceArgs.builder()
            .connectorId(connectorId?.applyValue({ args0 -> args0 }))
            .dataTypes(dataTypes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [SecurityMLAnalyticsSettingsDataSourceArgs].
 */
@PulumiTagMarker
public class SecurityMLAnalyticsSettingsDataSourceArgsBuilder internal constructor() {
    private var connectorId: Output? = null

    private var dataTypes: Output>? = null

    /**
     * @param value The connector id that provides the following data types
     */
    @JvmName("hvtqxaaddtsgaiqe")
    public suspend fun connectorId(`value`: Output) {
        this.connectorId = value
    }

    /**
     * @param value The data types used by the security ml analytics settings
     */
    @JvmName("afghaludbdmeqfpi")
    public suspend fun dataTypes(`value`: Output>) {
        this.dataTypes = value
    }

    @JvmName("dokmilhccuuybxxp")
    public suspend fun dataTypes(vararg values: Output) {
        this.dataTypes = Output.all(values.asList())
    }

    /**
     * @param values The data types used by the security ml analytics settings
     */
    @JvmName("gqmybhtvhessyvwa")
    public suspend fun dataTypes(values: List>) {
        this.dataTypes = Output.all(values)
    }

    /**
     * @param value The connector id that provides the following data types
     */
    @JvmName("ggtnhftafhyorcwn")
    public suspend fun connectorId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.connectorId = mapped
    }

    /**
     * @param value The data types used by the security ml analytics settings
     */
    @JvmName("biyukibkywgnmjbx")
    public suspend fun dataTypes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataTypes = mapped
    }

    /**
     * @param values The data types used by the security ml analytics settings
     */
    @JvmName("wdbtivciaikkyxvy")
    public suspend fun dataTypes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataTypes = mapped
    }

    internal fun build(): SecurityMLAnalyticsSettingsDataSourceArgs =
        SecurityMLAnalyticsSettingsDataSourceArgs(
            connectorId = connectorId,
            dataTypes = dataTypes,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy