Class FaqReference.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.FaqReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FaqReference>
- Enclosing interface:
FaqReference
@Stability(Stable)
public static final class FaqReference.Builder
extends Object
implements software.amazon.jsii.Builder<FaqReference>
A builder for
FaqReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofFaqReference.getFaqArn()
Sets the value ofFaqReference.getFaqId()
Sets the value ofFaqReference.getIndexId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
faqArn
Sets the value ofFaqReference.getFaqArn()
- Parameters:
faqArn
- The ARN of the Faq resource. This parameter is required.- Returns:
this
-
faqId
Sets the value ofFaqReference.getFaqId()
- Parameters:
faqId
- The Id of the Faq resource. This parameter is required.- Returns:
this
-
indexId
Sets the value ofFaqReference.getIndexId()
- Parameters:
indexId
- The IndexId of the Faq resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<FaqReference>
- Returns:
- a new instance of
FaqReference
- Throws:
NullPointerException
- if any required attribute was not provided
-