![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.bedrock.kotlin.outputs.AgentKnowledgeBase.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.bedrock.kotlin.outputs
import com.pulumi.awsnative.bedrock.kotlin.enums.AgentKnowledgeBaseState
import kotlin.String
import kotlin.Suppress
/**
* Agent Knowledge Base
* @property description Description of the Resource.
* @property knowledgeBaseId Identifier for a resource.
* @property knowledgeBaseState Specifies whether to use the knowledge base or not when sending an [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) request.
*/
public data class AgentKnowledgeBase(
public val description: String,
public val knowledgeBaseId: String,
public val knowledgeBaseState: AgentKnowledgeBaseState? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.AgentKnowledgeBase): AgentKnowledgeBase = AgentKnowledgeBase(
description = javaType.description(),
knowledgeBaseId = javaType.knowledgeBaseId(),
knowledgeBaseState = javaType.knowledgeBaseState().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.enums.AgentKnowledgeBaseState.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy