Class CfnPrompt.ToolChoiceProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.CfnPrompt.ToolChoiceProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnPrompt.ToolChoiceProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnPrompt.ToolChoiceProperty
@Stability(Stable)
@Internal
public static final class CfnPrompt.ToolChoiceProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnPrompt.ToolChoiceProperty
An implementation for
CfnPrompt.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.CfnPrompt.ToolChoiceProperty
CfnPrompt.ToolChoiceProperty.Builder, CfnPrompt.ToolChoiceProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnPrompt.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 theCfnPrompt.ToolChoiceProperty.Builder.
-
-
Method Details
-
getAny
Description copied from interface:CfnPrompt.ToolChoicePropertyThe model must request at least one tool (no text is generated).- Specified by:
getAnyin interfaceCfnPrompt.ToolChoiceProperty- See Also:
-
getAuto
Description copied from interface:CfnPrompt.ToolChoiceProperty(Default).The Model automatically decides if a tool should be called or whether to generate text instead.
- Specified by:
getAutoin interfaceCfnPrompt.ToolChoiceProperty- See Also:
-
getTool
Description copied from interface:CfnPrompt.ToolChoicePropertyThe Model must request the specified tool.Only supported by Anthropic Claude 3 and Amazon Nova models.
Returns union: either
IResolvableorCfnPrompt.SpecificToolChoiceProperty- Specified by:
getToolin interfaceCfnPrompt.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()
-