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

com.pulumi.awsnative.qbusiness.kotlin.inputs.GetRetrieverPlainArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.qbusiness.kotlin.inputs

import com.pulumi.awsnative.qbusiness.inputs.GetRetrieverPlainArgs.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 applicationId The identifier of the Amazon Q Business application using the retriever.
 * @property retrieverId The identifier of the retriever used by your Amazon Q Business application.
 */
public data class GetRetrieverPlainArgs(
    public val applicationId: String,
    public val retrieverId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.qbusiness.inputs.GetRetrieverPlainArgs =
        com.pulumi.awsnative.qbusiness.inputs.GetRetrieverPlainArgs.builder()
            .applicationId(applicationId.let({ args0 -> args0 }))
            .retrieverId(retrieverId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetRetrieverPlainArgs].
 */
@PulumiTagMarker
public class GetRetrieverPlainArgsBuilder internal constructor() {
    private var applicationId: String? = null

    private var retrieverId: String? = null

    /**
     * @param value The identifier of the Amazon Q Business application using the retriever.
     */
    @JvmName("jjdkhnyoswuwexfp")
    public suspend fun applicationId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.applicationId = mapped
    }

    /**
     * @param value The identifier of the retriever used by your Amazon Q Business application.
     */
    @JvmName("reusigemoysdikmn")
    public suspend fun retrieverId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.retrieverId = mapped
    }

    internal fun build(): GetRetrieverPlainArgs = GetRetrieverPlainArgs(
        applicationId = applicationId ?: throw PulumiNullFieldException("applicationId"),
        retrieverId = retrieverId ?: throw PulumiNullFieldException("retrieverId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy