
com.pulumi.awsnative.cloudformation.kotlin.inputs.GetResourceVersionPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudformation.kotlin.inputs
import com.pulumi.awsnative.cloudformation.inputs.GetResourceVersionPlainArgs.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 arn The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
*/
public data class GetResourceVersionPlainArgs(
public val arn: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cloudformation.inputs.GetResourceVersionPlainArgs =
com.pulumi.awsnative.cloudformation.inputs.GetResourceVersionPlainArgs.builder()
.arn(arn.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetResourceVersionPlainArgs].
*/
@PulumiTagMarker
public class GetResourceVersionPlainArgsBuilder internal constructor() {
private var arn: String? = null
/**
* @param value The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
*/
@JvmName("kqhhpyifpaltdcdg")
public suspend fun arn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.arn = mapped
}
internal fun build(): GetResourceVersionPlainArgs = GetResourceVersionPlainArgs(
arn = arn ?: throw PulumiNullFieldException("arn"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy