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

com.pulumi.awsnative.stepfunctions.kotlin.inputs.GetStateMachineVersionPlainArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.stepfunctions.kotlin.inputs

import com.pulumi.awsnative.stepfunctions.inputs.GetStateMachineVersionPlainArgs.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 Returns the ARN of the state machine version. For example, `arn:aws:states:us-east-1:123456789012:stateMachine:myStateMachine:1` .
 */
public data class GetStateMachineVersionPlainArgs(
    public val arn: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.stepfunctions.inputs.GetStateMachineVersionPlainArgs =
        com.pulumi.awsnative.stepfunctions.inputs.GetStateMachineVersionPlainArgs.builder()
            .arn(arn.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetStateMachineVersionPlainArgs].
 */
@PulumiTagMarker
public class GetStateMachineVersionPlainArgsBuilder internal constructor() {
    private var arn: String? = null

    /**
     * @param value Returns the ARN of the state machine version. For example, `arn:aws:states:us-east-1:123456789012:stateMachine:myStateMachine:1` .
     */
    @JvmName("xluclemawphwyptc")
    public suspend fun arn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.arn = mapped
    }

    internal fun build(): GetStateMachineVersionPlainArgs = GetStateMachineVersionPlainArgs(
        arn = arn ?: throw PulumiNullFieldException("arn"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy