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

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

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

import com.pulumi.azure.sentinel.inputs.ThreatIntelligenceIndicatorExternalReferenceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 *
 * @property description The description of the external reference of the Threat Intelligence Indicator.
 * @property hashes The list of hashes of the external reference of the Threat Intelligence Indicator.
 * @property id The ID of the Sentinel Threat Intelligence Indicator.
 * @property sourceName The source name of the external reference of the Threat Intelligence Indicator.
 * @property url The url of the external reference of the Threat Intelligence Indicator.
 */
public data class ThreatIntelligenceIndicatorExternalReferenceArgs(
    public val description: Output? = null,
    public val hashes: Output>? = null,
    public val id: Output? = null,
    public val sourceName: Output? = null,
    public val url: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.sentinel.inputs.ThreatIntelligenceIndicatorExternalReferenceArgs =
        com.pulumi.azure.sentinel.inputs.ThreatIntelligenceIndicatorExternalReferenceArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .hashes(hashes?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
            .id(id?.applyValue({ args0 -> args0 }))
            .sourceName(sourceName?.applyValue({ args0 -> args0 }))
            .url(url?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ThreatIntelligenceIndicatorExternalReferenceArgs].
 */
@PulumiTagMarker
public class ThreatIntelligenceIndicatorExternalReferenceArgsBuilder internal constructor() {
    private var description: Output? = null

    private var hashes: Output>? = null

    private var id: Output? = null

    private var sourceName: Output? = null

    private var url: Output? = null

    /**
     * @param value The description of the external reference of the Threat Intelligence Indicator.
     */
    @JvmName("iugifrhtbcmgrjtj")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The list of hashes of the external reference of the Threat Intelligence Indicator.
     */
    @JvmName("rjqxmvbxkdgoydic")
    public suspend fun hashes(`value`: Output>) {
        this.hashes = value
    }

    /**
     * @param value The ID of the Sentinel Threat Intelligence Indicator.
     */
    @JvmName("eptanoofhkrxsuix")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value The source name of the external reference of the Threat Intelligence Indicator.
     */
    @JvmName("xotctsbsyghjbtbr")
    public suspend fun sourceName(`value`: Output) {
        this.sourceName = value
    }

    /**
     * @param value The url of the external reference of the Threat Intelligence Indicator.
     */
    @JvmName("yggkhmncpmyruqcg")
    public suspend fun url(`value`: Output) {
        this.url = value
    }

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

    /**
     * @param value The list of hashes of the external reference of the Threat Intelligence Indicator.
     */
    @JvmName("arblkopaeaoxdftl")
    public suspend fun hashes(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hashes = mapped
    }

    /**
     * @param values The list of hashes of the external reference of the Threat Intelligence Indicator.
     */
    @JvmName("lteuflgtlcwkfvlf")
    public fun hashes(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.hashes = mapped
    }

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

    /**
     * @param value The source name of the external reference of the Threat Intelligence Indicator.
     */
    @JvmName("qsomxjvgpatmmjck")
    public suspend fun sourceName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceName = mapped
    }

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

    internal fun build(): ThreatIntelligenceIndicatorExternalReferenceArgs =
        ThreatIntelligenceIndicatorExternalReferenceArgs(
            description = description,
            hashes = hashes,
            id = id,
            sourceName = sourceName,
            url = url,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy