Class TextTemplateConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.alpha.TextTemplateConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TextTemplateConfigurationProps>
- Enclosing interface:
TextTemplateConfigurationProps
@Stability(Experimental)
public static final class TextTemplateConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<TextTemplateConfigurationProps>
A builder for
TextTemplateConfigurationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inputVariables(List<String> inputVariables) Sets the value ofTextTemplateConfigurationProps.getInputVariables()Sets the value ofTextTemplateConfigurationProps.getText()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
text
Sets the value ofTextTemplateConfigurationProps.getText()- Parameters:
text- The text content of the template. This parameter is required.- Returns:
this
-
inputVariables
@Stability(Experimental) public TextTemplateConfigurationProps.Builder inputVariables(List<String> inputVariables) Sets the value ofTextTemplateConfigurationProps.getInputVariables()- Parameters:
inputVariables- The input variables for the template.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TextTemplateConfigurationProps>- Returns:
- a new instance of
TextTemplateConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-