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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.alpha.TextPromptVariantProps
TextPromptVariantProps.Builder, TextPromptVariantProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(TextPromptVariantProps.Builder builder) Constructor that initializes the object based on literal property values passed by theTextPromptVariantProps.Builder.protectedJsii$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.JsonNodefinal boolean(experimental) Inference configuration for the Text Prompt.final IBedrockInvokablegetModel()(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 inthashCode()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:
getPromptTextin interfaceTextPromptVariantProps
-
getInferenceConfiguration
Description copied from interface:TextPromptVariantProps(experimental) Inference configuration for the Text Prompt.Default: - No inference configuration provided.
- Specified by:
getInferenceConfigurationin 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:
getModelin interfaceCommonPromptVariantProps
-
getVariantName
Description copied from interface:CommonPromptVariantProps(experimental) The name of the prompt variant.- Specified by:
getVariantNamein 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:
getPromptVariablesin interfaceCommonPromptVariantProps
-
$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()
-