Class CfnPromptVersion.ToolChoiceProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.CfnPromptVersion.ToolChoiceProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnPromptVersion.ToolChoiceProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnPromptVersion.ToolChoiceProperty
@Stability(Stable)
@Internal
public static final class CfnPromptVersion.ToolChoiceProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnPromptVersion.ToolChoiceProperty
An implementation for
CfnPromptVersion.ToolChoiceProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.CfnPromptVersion.ToolChoiceProperty
CfnPromptVersion.ToolChoiceProperty.Builder, CfnPromptVersion.ToolChoiceProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnPromptVersion.ToolChoiceProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnPromptVersion.ToolChoiceProperty.Builder.
-
-
Method Details
-
getAny
Description copied from interface:CfnPromptVersion.ToolChoicePropertyThe model must request at least one tool (no text is generated).- Specified by:
getAnyin interfaceCfnPromptVersion.ToolChoiceProperty- See Also:
-
getAuto
Description copied from interface:CfnPromptVersion.ToolChoiceProperty(Default).The Model automatically decides if a tool should be called or whether to generate text instead.
- Specified by:
getAutoin interfaceCfnPromptVersion.ToolChoiceProperty- See Also:
-
getTool
Description copied from interface:CfnPromptVersion.ToolChoicePropertyThe Model must request the specified tool.Only supported by Anthropic Claude 3 and Amazon Nova models.
Returns union: either
IResolvableorCfnPromptVersion.SpecificToolChoiceProperty- Specified by:
getToolin interfaceCfnPromptVersion.ToolChoiceProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-