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

com.pulumi.azurenative.storagecache.kotlin.inputs.UnknownTargetArgs.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.storagecache.kotlin.inputs

import com.pulumi.azurenative.storagecache.inputs.UnknownTargetArgs.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

/**
 * Properties pertaining to the UnknownTarget
 * @property attributes Dictionary of string->string pairs containing information about the Storage Target.
 */
public data class UnknownTargetArgs(
    public val attributes: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.storagecache.inputs.UnknownTargetArgs =
        com.pulumi.azurenative.storagecache.inputs.UnknownTargetArgs.builder()
            .attributes(
                attributes?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

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

    /**
     * @param value Dictionary of string->string pairs containing information about the Storage Target.
     */
    @JvmName("hjmifckyshvneanf")
    public suspend fun attributes(`value`: Output>) {
        this.attributes = value
    }

    /**
     * @param value Dictionary of string->string pairs containing information about the Storage Target.
     */
    @JvmName("syylndohsrqerhjp")
    public suspend fun attributes(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.attributes = mapped
    }

    /**
     * @param values Dictionary of string->string pairs containing information about the Storage Target.
     */
    @JvmName("yovvnhongtnsbveo")
    public fun attributes(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.attributes = mapped
    }

    internal fun build(): UnknownTargetArgs = UnknownTargetArgs(
        attributes = attributes,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy