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

com.pulumi.azure.sentinel.kotlin.inputs.ThreatIntelligenceIndicatorGranularMarkingArgs.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.sentinel.kotlin.inputs

import com.pulumi.azure.sentinel.inputs.ThreatIntelligenceIndicatorGranularMarkingArgs.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

/**
 *
 * @property language The language of granular marking of the Threat Intelligence Indicator.
 * @property markingRef The reference of the granular marking of the Threat Intelligence Indicator.
 * @property selectors A list of selectors of the granular marking of the Threat Intelligence Indicator.
 */
public data class ThreatIntelligenceIndicatorGranularMarkingArgs(
    public val language: Output? = null,
    public val markingRef: Output? = null,
    public val selectors: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.sentinel.inputs.ThreatIntelligenceIndicatorGranularMarkingArgs =
        com.pulumi.azure.sentinel.inputs.ThreatIntelligenceIndicatorGranularMarkingArgs.builder()
            .language(language?.applyValue({ args0 -> args0 }))
            .markingRef(markingRef?.applyValue({ args0 -> args0 }))
            .selectors(selectors?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [ThreatIntelligenceIndicatorGranularMarkingArgs].
 */
@PulumiTagMarker
public class ThreatIntelligenceIndicatorGranularMarkingArgsBuilder internal constructor() {
    private var language: Output? = null

    private var markingRef: Output? = null

    private var selectors: Output>? = null

    /**
     * @param value The language of granular marking of the Threat Intelligence Indicator.
     */
    @JvmName("eiyxjrxaocjroiiy")
    public suspend fun language(`value`: Output) {
        this.language = value
    }

    /**
     * @param value The reference of the granular marking of the Threat Intelligence Indicator.
     */
    @JvmName("cehgyeggratihbbb")
    public suspend fun markingRef(`value`: Output) {
        this.markingRef = value
    }

    /**
     * @param value A list of selectors of the granular marking of the Threat Intelligence Indicator.
     */
    @JvmName("lqeciitjfrpfrpsl")
    public suspend fun selectors(`value`: Output>) {
        this.selectors = value
    }

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

    /**
     * @param values A list of selectors of the granular marking of the Threat Intelligence Indicator.
     */
    @JvmName("kweuuefpxyckbolm")
    public suspend fun selectors(values: List>) {
        this.selectors = Output.all(values)
    }

    /**
     * @param value The language of granular marking of the Threat Intelligence Indicator.
     */
    @JvmName("qggykipujrokccsr")
    public suspend fun language(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.language = mapped
    }

    /**
     * @param value The reference of the granular marking of the Threat Intelligence Indicator.
     */
    @JvmName("ppkoitfwdbnyefhd")
    public suspend fun markingRef(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.markingRef = mapped
    }

    /**
     * @param value A list of selectors of the granular marking of the Threat Intelligence Indicator.
     */
    @JvmName("mdhqgxeascrrjphv")
    public suspend fun selectors(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.selectors = mapped
    }

    /**
     * @param values A list of selectors of the granular marking of the Threat Intelligence Indicator.
     */
    @JvmName("pwqhegstwrxhuthq")
    public suspend fun selectors(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.selectors = mapped
    }

    internal fun build(): ThreatIntelligenceIndicatorGranularMarkingArgs =
        ThreatIntelligenceIndicatorGranularMarkingArgs(
            language = language,
            markingRef = markingRef,
            selectors = selectors,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy