Class CfnPromptPropsMixin.PromptInferenceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnPromptPropsMixin.PromptInferenceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPromptPropsMixin.PromptInferenceConfigurationProperty>
- Enclosing interface:
CfnPromptPropsMixin.PromptInferenceConfigurationProperty
@Stability(Stable)
public static final class CfnPromptPropsMixin.PromptInferenceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPromptPropsMixin.PromptInferenceConfigurationProperty>
A builder for
CfnPromptPropsMixin.PromptInferenceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPromptPropsMixin.PromptInferenceConfigurationProperty.getText()text(IResolvable text) Sets the value ofCfnPromptPropsMixin.PromptInferenceConfigurationProperty.getText()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
text
@Stability(Stable) public CfnPromptPropsMixin.PromptInferenceConfigurationProperty.Builder text(IResolvable text) Sets the value ofCfnPromptPropsMixin.PromptInferenceConfigurationProperty.getText()- Parameters:
text- Contains inference configurations for a text prompt.- Returns:
this
-
text
@Stability(Stable) public CfnPromptPropsMixin.PromptInferenceConfigurationProperty.Builder text(CfnPromptPropsMixin.PromptModelInferenceConfigurationProperty text) Sets the value ofCfnPromptPropsMixin.PromptInferenceConfigurationProperty.getText()- Parameters:
text- Contains inference configurations for a text prompt.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPromptPropsMixin.PromptInferenceConfigurationProperty>- Returns:
- a new instance of
CfnPromptPropsMixin.PromptInferenceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-