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

com.pulumi.awsnative.location.kotlin.inputs.GetMapPlainArgs.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: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.location.kotlin.inputs

import com.pulumi.awsnative.location.inputs.GetMapPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property mapName The name for the map resource.
 * Requirements:
 * - Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
 * - Must be a unique map resource name.
 * - No spaces allowed. For example, `ExampleMap` .
 */
public data class GetMapPlainArgs(
    public val mapName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.location.inputs.GetMapPlainArgs =
        com.pulumi.awsnative.location.inputs.GetMapPlainArgs.builder()
            .mapName(mapName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetMapPlainArgs].
 */
@PulumiTagMarker
public class GetMapPlainArgsBuilder internal constructor() {
    private var mapName: String? = null

    /**
     * @param value The name for the map resource.
     * Requirements:
     * - Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
     * - Must be a unique map resource name.
     * - No spaces allowed. For example, `ExampleMap` .
     */
    @JvmName("yfumwfleupyonwpj")
    public suspend fun mapName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.mapName = mapped
    }

    internal fun build(): GetMapPlainArgs = GetMapPlainArgs(
        mapName = mapName ?: throw PulumiNullFieldException("mapName"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy