Interface CfnAIAgent.ToolConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIAgent.ToolConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAIAgent
@Stability(Stable)
public static interface CfnAIAgent.ToolConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wisdom.*;
Object annotations;
Object inputSchema;
Object outputSchema;
ToolConfigurationProperty toolConfigurationProperty = ToolConfigurationProperty.builder()
.toolName("toolName")
.toolType("toolType")
// the properties below are optional
.annotations(annotations)
.description("description")
.inputSchema(inputSchema)
.instruction(ToolInstructionProperty.builder()
.examples(List.of("examples"))
.instruction("instruction")
.build())
.outputFilters(List.of(ToolOutputFilterProperty.builder()
.jsonPath("jsonPath")
// the properties below are optional
.outputConfiguration(ToolOutputConfigurationProperty.builder()
.outputVariableNameOverride("outputVariableNameOverride")
.sessionDataNamespace("sessionDataNamespace")
.build())
.build()))
.outputSchema(outputSchema)
.overrideInputValues(List.of(ToolOverrideInputValueProperty.builder()
.jsonPath("jsonPath")
.value(ToolOverrideInputValueConfigurationProperty.builder()
.constant(ToolOverrideConstantInputValueProperty.builder()
.type("type")
.value("value")
.build())
.build())
.build()))
.title("title")
.toolId("toolId")
.userInteractionConfiguration(UserInteractionConfigurationProperty.builder()
.isUserConfirmationRequired(false)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAIAgent.ToolConfigurationPropertystatic final classAn implementation forCfnAIAgent.ToolConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Objectdefault Stringdefault Objectdefault ObjectReturns union: eitherIResolvableorCfnAIAgent.ToolInstructionPropertydefault ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAIAgent.ToolOutputFilterProperty>default Objectdefault ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAIAgent.ToolOverrideInputValueProperty>default StringgetTitle()default Stringdefault ObjectReturns union: eitherIResolvableorCfnAIAgent.UserInteractionConfigurationPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getToolName
- See Also:
-
getToolType
- See Also:
-
getAnnotations
- See Also:
-
getDescription
- See Also:
-
getInputSchema
- See Also:
-
getInstruction
Returns union: eitherIResolvableorCfnAIAgent.ToolInstructionProperty- See Also:
-
getOutputFilters
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAIAgent.ToolOutputFilterProperty>- See Also:
-
getOutputSchema
- See Also:
-
getOverrideInputValues
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAIAgent.ToolOverrideInputValueProperty>- See Also:
-
getTitle
- See Also:
-
getToolId
- See Also:
-
getUserInteractionConfiguration
Returns union: eitherIResolvableorCfnAIAgent.UserInteractionConfigurationProperty- See Also:
-
builder
-