
com.pulumi.awsnative.connect.kotlin.ContactFlowArgs.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.connect.kotlin
import com.pulumi.awsnative.connect.ContactFlowArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.ContactFlowState
import com.pulumi.awsnative.connect.kotlin.enums.ContactFlowType
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::Connect::ContactFlow
* ## Example Usage
* ### Example
* No Java example available.
* @property content The content of the contact flow in JSON format.
* @property description The description of the contact flow.
* @property instanceArn The identifier of the Amazon Connect instance (ARN).
* @property name The name of the contact flow.
* @property state The state of the contact flow.
* @property tags One or more tags.
* @property type The type of the contact flow.
*/
public data class ContactFlowArgs(
public val content: Output? = null,
public val description: Output? = null,
public val instanceArn: Output? = null,
public val name: Output? = null,
public val state: Output? = null,
public val tags: Output>? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.ContactFlowArgs =
com.pulumi.awsnative.connect.ContactFlowArgs.builder()
.content(content?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.instanceArn(instanceArn?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.state(state?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ContactFlowArgs].
*/
@PulumiTagMarker
public class ContactFlowArgsBuilder internal constructor() {
private var content: Output? = null
private var description: Output? = null
private var instanceArn: Output? = null
private var name: Output? = null
private var state: Output? = null
private var tags: Output>? = null
private var type: Output? = null
/**
* @param value The content of the contact flow in JSON format.
*/
@JvmName("vdvemjdgjubtbmfk")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value The description of the contact flow.
*/
@JvmName("rpbdjwlyituwjylx")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The identifier of the Amazon Connect instance (ARN).
*/
@JvmName("ggncwsciblvwavck")
public suspend fun instanceArn(`value`: Output) {
this.instanceArn = value
}
/**
* @param value The name of the contact flow.
*/
@JvmName("skqbtudxwvmbamys")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The state of the contact flow.
*/
@JvmName("ronbhwklhejecqxk")
public suspend fun state(`value`: Output) {
this.state = value
}
/**
* @param value One or more tags.
*/
@JvmName("ekhaaegckcxdqoae")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("ipdpolbtpqppuddp")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values One or more tags.
*/
@JvmName("dlytvusiublocvbd")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy