
com.pulumi.awsnative.connect.kotlin.inputs.TaskTemplateFieldArgs.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.inputs
import com.pulumi.awsnative.connect.inputs.TaskTemplateFieldArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.TaskTemplateFieldType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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
/**
* A task template field object.
* @property description The description of the task template's field
* @property id The unique identifier for the field.
* @property singleSelectOptions list of field options to be used with single select
* @property type Indicates the type of field. Following are the valid field types: `NAME` `DESCRIPTION` | `SCHEDULED_TIME` | `QUICK_CONNECT` | `URL` | `NUMBER` | `TEXT` | `TEXT_AREA` | `DATE_TIME` | `BOOLEAN` | `SINGLE_SELECT` | `EMAIL`
*/
public data class TaskTemplateFieldArgs(
public val description: Output? = null,
public val id: Output,
public val singleSelectOptions: Output>? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.inputs.TaskTemplateFieldArgs =
com.pulumi.awsnative.connect.inputs.TaskTemplateFieldArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.id(id.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.singleSelectOptions(singleSelectOptions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TaskTemplateFieldArgs].
*/
@PulumiTagMarker
public class TaskTemplateFieldArgsBuilder internal constructor() {
private var description: Output? = null
private var id: Output? = null
private var singleSelectOptions: Output>? = null
private var type: Output? = null
/**
* @param value The description of the task template's field
*/
@JvmName("kgqjlvjjqesfsfxy")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The unique identifier for the field.
*/
@JvmName("uylexpclmydydwjo")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value list of field options to be used with single select
*/
@JvmName("drmffuivqwyvkhxt")
public suspend fun singleSelectOptions(`value`: Output>) {
this.singleSelectOptions = value
}
@JvmName("xloremujiavrxjeh")
public suspend fun singleSelectOptions(vararg values: Output) {
this.singleSelectOptions = Output.all(values.asList())
}
/**
* @param values list of field options to be used with single select
*/
@JvmName("yothvkejhcmsfiiu")
public suspend fun singleSelectOptions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy