Class CfnKnowledgeBase.ParsingPromptProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnKnowledgeBase.ParsingPromptProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBase.ParsingPromptProperty>
- Enclosing interface:
CfnKnowledgeBase.ParsingPromptProperty
@Stability(Stable)
public static final class CfnKnowledgeBase.ParsingPromptProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBase.ParsingPromptProperty>
A builder for
CfnKnowledgeBase.ParsingPromptProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.parsingPromptText(String parsingPromptText) Sets the value ofCfnKnowledgeBase.ParsingPromptProperty.getParsingPromptText()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parsingPromptText
@Stability(Stable) public CfnKnowledgeBase.ParsingPromptProperty.Builder parsingPromptText(String parsingPromptText) Sets the value ofCfnKnowledgeBase.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBase.ParsingPromptProperty>- Returns:
- a new instance of
CfnKnowledgeBase.ParsingPromptProperty - Throws:
NullPointerException- if any required attribute was not provided
-