com.pulumi.awsnative.appflow.kotlin.inputs.GetFlowPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appflow.kotlin.inputs
import com.pulumi.awsnative.appflow.inputs.GetFlowPlainArgs.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 flowName Name of the flow.
*/
public data class GetFlowPlainArgs(
public val flowName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appflow.inputs.GetFlowPlainArgs =
com.pulumi.awsnative.appflow.inputs.GetFlowPlainArgs.builder()
.flowName(flowName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetFlowPlainArgs].
*/
@PulumiTagMarker
public class GetFlowPlainArgsBuilder internal constructor() {
private var flowName: String? = null
/**
* @param value Name of the flow.
*/
@JvmName("sfmsgrcvoktpnvbs")
public suspend fun flowName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.flowName = mapped
}
internal fun build(): GetFlowPlainArgs = GetFlowPlainArgs(
flowName = flowName ?: throw PulumiNullFieldException("flowName"),
)
}