com.pulumi.awsnative.kendra.kotlin.inputs.GetIndexPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kendra.kotlin.inputs
import com.pulumi.awsnative.kendra.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 id The identifier for the index. For example: `f4aeaa10-8056-4b2c-a343-522ca0f41234` .
*/
public data class GetIndexPlainArgs(
public val id: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kendra.inputs.GetIndexPlainArgs =
com.pulumi.awsnative.kendra.inputs.GetIndexPlainArgs.builder()
.id(id.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetIndexPlainArgs].
*/
@PulumiTagMarker
public class GetIndexPlainArgsBuilder internal constructor() {
private var id: String? = null
/**
* @param value The identifier for the index. For example: `f4aeaa10-8056-4b2c-a343-522ca0f41234` .
*/
@JvmName("evtgoalmmfaepvxt")
public suspend fun id(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.id = mapped
}
internal fun build(): GetIndexPlainArgs = GetIndexPlainArgs(
id = id ?: throw PulumiNullFieldException("id"),
)
}