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

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

package com.pulumi.awsnative.resourceexplorer2.kotlin.inputs

import com.pulumi.awsnative.resourceexplorer2.inputs.GetViewPlainArgs.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 viewArn The ARN of the new view. For example:
 * `arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222`
 */
public data class GetViewPlainArgs(
    public val viewArn: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.resourceexplorer2.inputs.GetViewPlainArgs =
        com.pulumi.awsnative.resourceexplorer2.inputs.GetViewPlainArgs.builder()
            .viewArn(viewArn.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetViewPlainArgs].
 */
@PulumiTagMarker
public class GetViewPlainArgsBuilder internal constructor() {
    private var viewArn: String? = null

    /**
     * @param value The ARN of the new view. For example:
     * `arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222`
     */
    @JvmName("bjsjdonorvigmdxb")
    public suspend fun viewArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.viewArn = mapped
    }

    internal fun build(): GetViewPlainArgs = GetViewPlainArgs(
        viewArn = viewArn ?: throw PulumiNullFieldException("viewArn"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy