Class CfnPrompt.PromptVariantProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.CfnPrompt.PromptVariantProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnPrompt.PromptVariantProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnPrompt.PromptVariantProperty
@Stability(Stable)
@Internal
public static final class CfnPrompt.PromptVariantProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnPrompt.PromptVariantProperty
An implementation for
CfnPrompt.PromptVariantProperty-
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.PromptVariantProperty
CfnPrompt.PromptVariantProperty.Builder, CfnPrompt.PromptVariantProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnPrompt.PromptVariantProperty.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 booleanfinal ObjectContains model-specific inference configurations that aren't in theinferenceConfigurationfield.final ObjectSpecifies a generative AI resource with which to use the prompt.final ObjectContains inference configurations for the prompt variant.final ObjectAn array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a prompt variant.final StringThe unique identifier of the model or inference profile with which to run inference on the prompt.final StringgetName()The name of the prompt variant.final ObjectContains configurations for the prompt template.final StringThe type of prompt template to use.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 theCfnPrompt.PromptVariantProperty.Builder.
-
-
Method Details
-
getName
Description copied from interface:CfnPrompt.PromptVariantPropertyThe name of the prompt variant.- Specified by:
getNamein interfaceCfnPrompt.PromptVariantProperty- See Also:
-
getTemplateConfiguration
Description copied from interface:CfnPrompt.PromptVariantPropertyContains configurations for the prompt template.Returns union: either
IResolvableorCfnPrompt.PromptTemplateConfigurationProperty- Specified by:
getTemplateConfigurationin interfaceCfnPrompt.PromptVariantProperty- See Also:
-
getTemplateType
Description copied from interface:CfnPrompt.PromptVariantPropertyThe type of prompt template to use.- Specified by:
getTemplateTypein interfaceCfnPrompt.PromptVariantProperty- See Also:
-
getAdditionalModelRequestFields
Description copied from interface:CfnPrompt.PromptVariantPropertyContains model-specific inference configurations that aren't in theinferenceConfigurationfield.To see model-specific inference parameters, see Inference request parameters and response fields for foundation models .
- Specified by:
getAdditionalModelRequestFieldsin interfaceCfnPrompt.PromptVariantProperty- See Also:
-
getGenAiResource
Description copied from interface:CfnPrompt.PromptVariantPropertySpecifies a generative AI resource with which to use the prompt.Returns union: either
IResolvableorCfnPrompt.PromptGenAiResourceProperty- Specified by:
getGenAiResourcein interfaceCfnPrompt.PromptVariantProperty- See Also:
-
getInferenceConfiguration
Description copied from interface:CfnPrompt.PromptVariantPropertyContains inference configurations for the prompt variant.Returns union: either
IResolvableorCfnPrompt.PromptInferenceConfigurationProperty- Specified by:
getInferenceConfigurationin interfaceCfnPrompt.PromptVariantProperty- See Also:
-
getMetadata
Description copied from interface:CfnPrompt.PromptVariantPropertyAn array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a prompt variant.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPrompt.PromptMetadataEntryProperty>- Specified by:
getMetadatain interfaceCfnPrompt.PromptVariantProperty- See Also:
-
getModelId
Description copied from interface:CfnPrompt.PromptVariantPropertyThe unique identifier of the model or inference profile with which to run inference on the prompt.- Specified by:
getModelIdin interfaceCfnPrompt.PromptVariantProperty- 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()
-