Class TextPromptVariantProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.alpha.TextPromptVariantProps.Jsii$Proxy
- All Implemented Interfaces:
CommonPromptVariantProps
,TextPromptVariantProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
TextPromptVariantProps
@Stability(Experimental)
@Internal
public static final class TextPromptVariantProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements TextPromptVariantProps
An implementation for
TextPromptVariantProps
-
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.TextPromptVariantProps
TextPromptVariantProps.Builder, TextPromptVariantProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(TextPromptVariantProps.Builder builder) Constructor that initializes the object based on literal property values passed by theTextPromptVariantProps.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
(experimental) Inference configuration for the Text Prompt.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 theTextPromptVariantProps.Builder
.
-
-
Method Details
-
getPromptText
Description copied from interface:TextPromptVariantProps
(experimental) The text prompt.Variables are used by enclosing its name with double curly braces as in
{{variable_name}}
.- Specified by:
getPromptText
in interfaceTextPromptVariantProps
-
getInferenceConfiguration
Description copied from interface:TextPromptVariantProps
(experimental) Inference configuration for the Text Prompt.Default: - No inference configuration provided.
- Specified by:
getInferenceConfiguration
in interfaceTextPromptVariantProps
-
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()
-