All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.wisdom.kotlin.inputs.GetAssistantAssociationPlainArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.wisdom.kotlin.inputs

import com.pulumi.awsnative.wisdom.inputs.GetAssistantAssociationPlainArgs.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 assistantAssociationId The ID of the association.
 * @property assistantId The identifier of the Wisdom assistant.
 */
public data class GetAssistantAssociationPlainArgs(
    public val assistantAssociationId: String,
    public val assistantId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.wisdom.inputs.GetAssistantAssociationPlainArgs =
        com.pulumi.awsnative.wisdom.inputs.GetAssistantAssociationPlainArgs.builder()
            .assistantAssociationId(assistantAssociationId.let({ args0 -> args0 }))
            .assistantId(assistantId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetAssistantAssociationPlainArgs].
 */
@PulumiTagMarker
public class GetAssistantAssociationPlainArgsBuilder internal constructor() {
    private var assistantAssociationId: String? = null

    private var assistantId: String? = null

    /**
     * @param value The ID of the association.
     */
    @JvmName("mggdvfwuvfcyeqmq")
    public suspend fun assistantAssociationId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.assistantAssociationId = mapped
    }

    /**
     * @param value The identifier of the Wisdom assistant.
     */
    @JvmName("qopkkxyyknvckqwo")
    public suspend fun assistantId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.assistantId = mapped
    }

    internal fun build(): GetAssistantAssociationPlainArgs = GetAssistantAssociationPlainArgs(
        assistantAssociationId = assistantAssociationId ?: throw
            PulumiNullFieldException("assistantAssociationId"),
        assistantId = assistantId ?: throw PulumiNullFieldException("assistantId"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy