Class CfnBot.BKBExactResponseFieldsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.BKBExactResponseFieldsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.BKBExactResponseFieldsProperty>
- Enclosing interface:
CfnBot.BKBExactResponseFieldsProperty
@Stability(Stable)
public static final class CfnBot.BKBExactResponseFieldsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.BKBExactResponseFieldsProperty>
A builder for
CfnBot.BKBExactResponseFieldsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanswerField(String answerField) Sets the value ofCfnBot.BKBExactResponseFieldsProperty.getAnswerField()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
answerField
@Stability(Stable) public CfnBot.BKBExactResponseFieldsProperty.Builder answerField(String answerField) Sets the value ofCfnBot.BKBExactResponseFieldsProperty.getAnswerField()- Parameters:
answerField- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.BKBExactResponseFieldsProperty>- Returns:
- a new instance of
CfnBot.BKBExactResponseFieldsProperty - Throws:
NullPointerException- if any required attribute was not provided
-