Class AgentPromptVariantProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.alpha.AgentPromptVariantProps.Jsii$Proxy
- All Implemented Interfaces:
AgentPromptVariantProps
,CommonPromptVariantProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
AgentPromptVariantProps
@Stability(Experimental)
@Internal
public static final class AgentPromptVariantProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements AgentPromptVariantProps
An implementation for
AgentPromptVariantProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.alpha.AgentPromptVariantProps
AgentPromptVariantProps.Builder, AgentPromptVariantProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theAgentPromptVariantProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final IAgentAlias
(experimental) An alias pointing to the agent version to be used.final IBedrockInvokable
getModel()
(experimental) The model which is used to run the prompt.final String
(experimental) The text prompt.(experimental) The variables in the prompt template that can be filled in at runtime.final String
(experimental) The name of the prompt variant.final int
hashCode()
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 theAgentPromptVariantProps.Builder
.
-
-
Method Details
-
getAgentAlias
Description copied from interface:AgentPromptVariantProps
(experimental) An alias pointing to the agent version to be used.- Specified by:
getAgentAlias
in interfaceAgentPromptVariantProps
-
getPromptText
Description copied from interface:AgentPromptVariantProps
(experimental) The text prompt.Variables are used by enclosing its name with double curly braces as in
{{variable_name}}
.- Specified by:
getPromptText
in interfaceAgentPromptVariantProps
-
getModel
Description copied from interface:CommonPromptVariantProps
(experimental) The model which is used to run the prompt.The model could be a foundation model, a custom model, or a provisioned model.
- Specified by:
getModel
in interfaceCommonPromptVariantProps
-
getVariantName
Description copied from interface:CommonPromptVariantProps
(experimental) The name of the prompt variant.- Specified by:
getVariantName
in interfaceCommonPromptVariantProps
-
getPromptVariables
Description copied from interface:CommonPromptVariantProps
(experimental) The variables in the prompt template that can be filled in at runtime.Default: - No variables defined.
- Specified by:
getPromptVariables
in interfaceCommonPromptVariantProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-