
com.pulumi.awsnative.bedrock.kotlin.outputs.AgentFunction.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.bedrock.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* Function definition
* @property description Description of function
* @property name Name for a resource.
* @property parameters The parameters that the agent elicits from the user to fulfill the function.
*/
public data class AgentFunction(
public val description: String? = null,
public val name: String,
public val parameters: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.AgentFunction): AgentFunction = AgentFunction(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
parameters = javaType.parameters().map({ args0 ->
args0.key.to(
args0.value.let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.outputs.AgentParameterDetail.Companion.toKotlin(args0)
}),
)
}).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy