com.pulumi.awsnative.bedrock.kotlin.FlowVersionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.bedrock.kotlin
import com.pulumi.awsnative.bedrock.FlowVersionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Definition of AWS::Bedrock::FlowVersion Resource Type
* @property description Description of the flow version
* @property flowArn Arn representation of the Flow
*/
public data class FlowVersionArgs(
public val description: Output? = null,
public val flowArn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.bedrock.FlowVersionArgs =
com.pulumi.awsnative.bedrock.FlowVersionArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.flowArn(flowArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FlowVersionArgs].
*/
@PulumiTagMarker
public class FlowVersionArgsBuilder internal constructor() {
private var description: Output? = null
private var flowArn: Output? = null
/**
* @param value Description of the flow version
*/
@JvmName("insbytjvslfvwkoq")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Arn representation of the Flow
*/
@JvmName("cwcucrcxfvwuykci")
public suspend fun flowArn(`value`: Output) {
this.flowArn = value
}
/**
* @param value Description of the flow version
*/
@JvmName("cqatqrkqxpgvqicm")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value Arn representation of the Flow
*/
@JvmName("vyjpswtykcsccgdu")
public suspend fun flowArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.flowArn = mapped
}
internal fun build(): FlowVersionArgs = FlowVersionArgs(
description = description,
flowArn = flowArn,
)
}