![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.bedrock.kotlin.inputs.AgentParameterDetailArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.bedrock.kotlin.inputs
import com.pulumi.awsnative.bedrock.inputs.AgentParameterDetailArgs.builder
import com.pulumi.awsnative.bedrock.kotlin.enums.AgentType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Parameter detail
* @property description Description of function parameter.
* @property required Information about if a parameter is required for function call. Default to false.
* @property type The data type of the parameter.
*/
public data class AgentParameterDetailArgs(
public val description: Output? = null,
public val required: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.bedrock.inputs.AgentParameterDetailArgs =
com.pulumi.awsnative.bedrock.inputs.AgentParameterDetailArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.required(required?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AgentParameterDetailArgs].
*/
@PulumiTagMarker
public class AgentParameterDetailArgsBuilder internal constructor() {
private var description: Output? = null
private var required: Output? = null
private var type: Output? = null
/**
* @param value Description of function parameter.
*/
@JvmName("sucdfxvllkqphkih")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Information about if a parameter is required for function call. Default to false.
*/
@JvmName("iqspcqxancmsfvbo")
public suspend fun required(`value`: Output) {
this.required = value
}
/**
* @param value The data type of the parameter.
*/
@JvmName("nnkenrfijbmonnbf")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Description of function parameter.
*/
@JvmName("ofpyrmbjjlvpruyf")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value Information about if a parameter is required for function call. Default to false.
*/
@JvmName("npuqrdmgpcapiqev")
public suspend fun required(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.required = mapped
}
/**
* @param value The data type of the parameter.
*/
@JvmName("kpdjahbdkjrnvrjf")
public suspend fun type(`value`: AgentType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): AgentParameterDetailArgs = AgentParameterDetailArgs(
description = description,
required = required,
type = type ?: throw PulumiNullFieldException("type"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy