Class CfnPromptVersion.PromptVariantProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.CfnPromptVersion.PromptVariantProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnPromptVersion.PromptVariantProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnPromptVersion.PromptVariantProperty
@Stability(Stable)
@Internal
public static final class CfnPromptVersion.PromptVariantProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnPromptVersion.PromptVariantProperty
An implementation for
CfnPromptVersion.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.CfnPromptVersion.PromptVariantProperty
CfnPromptVersion.PromptVariantProperty.Builder, CfnPromptVersion.PromptVariantProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnPromptVersion.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 theCfnPromptVersion.PromptVariantProperty.Builder.
-
-
Method Details
-
getName
Description copied from interface:CfnPromptVersion.PromptVariantPropertyThe name of the prompt variant.- Specified by:
getNamein interfaceCfnPromptVersion.PromptVariantProperty- See Also:
-
getTemplateConfiguration
Description copied from interface:CfnPromptVersion.PromptVariantPropertyContains configurations for the prompt template.Returns union: either
IResolvableorCfnPromptVersion.PromptTemplateConfigurationProperty- Specified by:
getTemplateConfigurationin interfaceCfnPromptVersion.PromptVariantProperty- See Also:
-
getTemplateType
Description copied from interface:CfnPromptVersion.PromptVariantPropertyThe type of prompt template to use.- Specified by:
getTemplateTypein interfaceCfnPromptVersion.PromptVariantProperty- See Also:
-
getAdditionalModelRequestFields
Description copied from interface:CfnPromptVersion.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 interfaceCfnPromptVersion.PromptVariantProperty- See Also:
-
getGenAiResource
Description copied from interface:CfnPromptVersion.PromptVariantPropertySpecifies a generative AI resource with which to use the prompt.Returns union: either
IResolvableorCfnPromptVersion.PromptGenAiResourceProperty- Specified by:
getGenAiResourcein interfaceCfnPromptVersion.PromptVariantProperty- See Also:
-
getInferenceConfiguration
Description copied from interface:CfnPromptVersion.PromptVariantPropertyContains inference configurations for the prompt variant.Returns union: either
IResolvableorCfnPromptVersion.PromptInferenceConfigurationProperty- Specified by:
getInferenceConfigurationin interfaceCfnPromptVersion.PromptVariantProperty- See Also:
-
getMetadata
Description copied from interface:CfnPromptVersion.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: '<'eitherIResolvableorCfnPromptVersion.PromptMetadataEntryProperty>- Specified by:
getMetadatain interfaceCfnPromptVersion.PromptVariantProperty- See Also:
-
getModelId
Description copied from interface:CfnPromptVersion.PromptVariantPropertyThe unique identifier of the model or inference profile with which to run inference on the prompt.- Specified by:
getModelIdin interfaceCfnPromptVersion.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()
-