
com.pulumi.awsnative.qbusiness.kotlin.inputs.GetIndexPlainArgs.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.qbusiness.kotlin.inputs
import com.pulumi.awsnative.qbusiness.inputs.GetIndexPlainArgs.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 index.
* @property indexId The identifier for the index.
*/
public data class GetIndexPlainArgs(
public val applicationId: String,
public val indexId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.qbusiness.inputs.GetIndexPlainArgs =
com.pulumi.awsnative.qbusiness.inputs.GetIndexPlainArgs.builder()
.applicationId(applicationId.let({ args0 -> args0 }))
.indexId(indexId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetIndexPlainArgs].
*/
@PulumiTagMarker
public class GetIndexPlainArgsBuilder internal constructor() {
private var applicationId: String? = null
private var indexId: String? = null
/**
* @param value The identifier of the Amazon Q Business application using the index.
*/
@JvmName("upfbjhojjdntiujo")
public suspend fun applicationId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.applicationId = mapped
}
/**
* @param value The identifier for the index.
*/
@JvmName("onyrmxutlibjgdvv")
public suspend fun indexId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.indexId = mapped
}
internal fun build(): GetIndexPlainArgs = GetIndexPlainArgs(
applicationId = applicationId ?: throw PulumiNullFieldException("applicationId"),
indexId = indexId ?: throw PulumiNullFieldException("indexId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy