Class ThesaurusReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.kendra.ThesaurusReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ThesaurusReference>
- Enclosing interface:
ThesaurusReference
@Stability(Stable)
public static final class ThesaurusReference.Builder
extends Object
implements software.amazon.jsii.Builder<ThesaurusReference>
A builder for
ThesaurusReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.thesaurusArn(String thesaurusArn) Sets the value ofThesaurusReference.getThesaurusArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
thesaurusArn
Sets the value ofThesaurusReference.getThesaurusArn()- Parameters:
thesaurusArn- The Arn of the Thesaurus resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ThesaurusReference>- Returns:
- a new instance of
ThesaurusReference - Throws:
NullPointerException- if any required attribute was not provided
-