
com.pulumi.awsnative.wisdom.kotlin.AssistantAssociationArgs.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.wisdom.kotlin
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgs
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgsBuilder
import com.pulumi.awsnative.wisdom.AssistantAssociationArgs.builder
import com.pulumi.awsnative.wisdom.kotlin.enums.AssistantAssociationAssociationType
import com.pulumi.awsnative.wisdom.kotlin.inputs.AssistantAssociationAssociationDataArgs
import com.pulumi.awsnative.wisdom.kotlin.inputs.AssistantAssociationAssociationDataArgsBuilder
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
/**
* Definition of AWS::Wisdom::AssistantAssociation Resource Type
* @property assistantId The identifier of the Wisdom assistant.
* @property association The identifier of the associated resource.
* @property associationType The type of association.
* @property tags The tags used to organize, track, or control access for this resource.
*/
public data class AssistantAssociationArgs(
public val assistantId: Output? = null,
public val association: Output? = null,
public val associationType: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.wisdom.AssistantAssociationArgs =
com.pulumi.awsnative.wisdom.AssistantAssociationArgs.builder()
.assistantId(assistantId?.applyValue({ args0 -> args0 }))
.association(association?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.associationType(associationType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [AssistantAssociationArgs].
*/
@PulumiTagMarker
public class AssistantAssociationArgsBuilder internal constructor() {
private var assistantId: Output? = null
private var association: Output? = null
private var associationType: Output? = null
private var tags: Output>? = null
/**
* @param value The identifier of the Wisdom assistant.
*/
@JvmName("npobxhexwrmabgua")
public suspend fun assistantId(`value`: Output) {
this.assistantId = value
}
/**
* @param value The identifier of the associated resource.
*/
@JvmName("bmongevhxcphulhb")
public suspend fun association(`value`: Output) {
this.association = value
}
/**
* @param value The type of association.
*/
@JvmName("uhxwqabteearyeqk")
public suspend fun associationType(`value`: Output) {
this.associationType = value
}
/**
* @param value The tags used to organize, track, or control access for this resource.
*/
@JvmName("ifcmfnujdeacrdaa")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("raymuiouoqncnwga")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The tags used to organize, track, or control access for this resource.
*/
@JvmName("gluihbptauikieyr")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy