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

com.pulumi.awsnative.iotwireless.kotlin.NetworkAnalyzerConfigurationArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iotwireless.kotlin

import com.pulumi.awsnative.iotwireless.NetworkAnalyzerConfigurationArgs.builder
import com.pulumi.awsnative.iotwireless.kotlin.inputs.TraceContentPropertiesArgs
import com.pulumi.awsnative.iotwireless.kotlin.inputs.TraceContentPropertiesArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgs
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Create and manage NetworkAnalyzerConfiguration resource.
 * @property description The description of the new resource
 * @property name Name of the network analyzer configuration
 * @property tags An array of key-value pairs to apply to this resource.
 * @property traceContent Trace content for your wireless gateway and wireless device resources
 * @property wirelessDevices List of wireless gateway resources that have been added to the network analyzer configuration
 * @property wirelessGateways List of wireless gateway resources that have been added to the network analyzer configuration
 */
public data class NetworkAnalyzerConfigurationArgs(
    public val description: Output? = null,
    public val name: Output? = null,
    public val tags: Output>? = null,
    public val traceContent: Output? = null,
    public val wirelessDevices: Output>? = null,
    public val wirelessGateways: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iotwireless.NetworkAnalyzerConfigurationArgs =
        com.pulumi.awsnative.iotwireless.NetworkAnalyzerConfigurationArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .traceContent(traceContent?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .wirelessDevices(wirelessDevices?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .wirelessGateways(wirelessGateways?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var name: Output? = null

    private var tags: Output>? = null

    private var traceContent: Output? = null

    private var wirelessDevices: Output>? = null

    private var wirelessGateways: Output>? = null

    /**
     * @param value The description of the new resource
     */
    @JvmName("abslvibantjkohsh")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Name of the network analyzer configuration
     */
    @JvmName("byykaoithkqeyqkv")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value An array of key-value pairs to apply to this resource.
     */
    @JvmName("aojukhchuiinaldh")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

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

    /**
     * @param values An array of key-value pairs to apply to this resource.
     */
    @JvmName("iwvtyfuseldbtpof")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value Trace content for your wireless gateway and wireless device resources
     */
    @JvmName("mcsujfycvpngrumj")
    public suspend fun traceContent(`value`: Output) {
        this.traceContent = value
    }

    /**
     * @param value List of wireless gateway resources that have been added to the network analyzer configuration
     */
    @JvmName("yvfimvwcfvwtwdlt")
    public suspend fun wirelessDevices(`value`: Output>) {
        this.wirelessDevices = value
    }

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

    /**
     * @param values List of wireless gateway resources that have been added to the network analyzer configuration
     */
    @JvmName("vigaxvsswpvdeult")
    public suspend fun wirelessDevices(values: List>) {
        this.wirelessDevices = Output.all(values)
    }

    /**
     * @param value List of wireless gateway resources that have been added to the network analyzer configuration
     */
    @JvmName("effosxpvbarpdeim")
    public suspend fun wirelessGateways(`value`: Output>) {
        this.wirelessGateways = value
    }

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

    /**
     * @param values List of wireless gateway resources that have been added to the network analyzer configuration
     */
    @JvmName("mgsuxnfqhlqdnbdv")
    public suspend fun wirelessGateways(values: List>) {
        this.wirelessGateways = Output.all(values)
    }

    /**
     * @param value The description of the new resource
     */
    @JvmName("mecibhfymqsjihhq")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Name of the network analyzer configuration
     */
    @JvmName("xjsjwfkxipuihbgi")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value An array of key-value pairs to apply to this resource.
     */
    @JvmName("uywdraoobphorifk")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("hrvguwssfuellsec")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            CreateOnlyTagArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("inejcmqwtiqosopt")
    public suspend fun tags(vararg argument: suspend CreateOnlyTagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            CreateOnlyTagArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("rqvdupxigutqbvff")
    public suspend fun tags(argument: suspend CreateOnlyTagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(CreateOnlyTagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values An array of key-value pairs to apply to this resource.
     */
    @JvmName("nrprdxilccwkwype")
    public suspend fun tags(vararg values: CreateOnlyTagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value Trace content for your wireless gateway and wireless device resources
     */
    @JvmName("dmrrkwuocfqwuwmf")
    public suspend fun traceContent(`value`: TraceContentPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.traceContent = mapped
    }

    /**
     * @param argument Trace content for your wireless gateway and wireless device resources
     */
    @JvmName("etmvdixwkqdsknpq")
    public suspend fun traceContent(argument: suspend TraceContentPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = TraceContentPropertiesArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.traceContent = mapped
    }

    /**
     * @param value List of wireless gateway resources that have been added to the network analyzer configuration
     */
    @JvmName("qusxoxincaiarmdx")
    public suspend fun wirelessDevices(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.wirelessDevices = mapped
    }

    /**
     * @param values List of wireless gateway resources that have been added to the network analyzer configuration
     */
    @JvmName("naoeasntrtrsckxs")
    public suspend fun wirelessDevices(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.wirelessDevices = mapped
    }

    /**
     * @param value List of wireless gateway resources that have been added to the network analyzer configuration
     */
    @JvmName("lbpwgbmqwxqqhnsp")
    public suspend fun wirelessGateways(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.wirelessGateways = mapped
    }

    /**
     * @param values List of wireless gateway resources that have been added to the network analyzer configuration
     */
    @JvmName("wlrhuaswuamdhcod")
    public suspend fun wirelessGateways(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.wirelessGateways = mapped
    }

    internal fun build(): NetworkAnalyzerConfigurationArgs = NetworkAnalyzerConfigurationArgs(
        description = description,
        name = name,
        tags = tags,
        traceContent = traceContent,
        wirelessDevices = wirelessDevices,
        wirelessGateways = wirelessGateways,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy