Class CfnDataSource.ParsingPromptProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.ParsingPromptProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.ParsingPromptProperty>
- Enclosing interface:
CfnDataSource.ParsingPromptProperty
@Stability(Stable)
public static final class CfnDataSource.ParsingPromptProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.ParsingPromptProperty>
A builder for
CfnDataSource.ParsingPromptProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.parsingPromptText
(String parsingPromptText) Sets the value ofCfnDataSource.ParsingPromptProperty.getParsingPromptText()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parsingPromptText
@Stability(Stable) public CfnDataSource.ParsingPromptProperty.Builder parsingPromptText(String parsingPromptText) Sets the value ofCfnDataSource.ParsingPromptProperty.getParsingPromptText()
- Parameters:
parsingPromptText
- Instructions for interpreting the contents of a document. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.ParsingPromptProperty>
- Returns:
- a new instance of
CfnDataSource.ParsingPromptProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-