Class CfnThesaurusPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnThesaurusPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThesaurusPropsMixin>
- Enclosing class:
CfnThesaurusPropsMixin
@Stability(Stable)
public static final class CfnThesaurusPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThesaurusPropsMixin>
A fluent builder for
CfnThesaurusPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) A description for the thesaurus.The identifier of the index for the thesaurus.A name for the thesaurus.An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.sourceS3Path(CfnThesaurusPropsMixin.S3PathProperty sourceS3Path) Information required to find a specific file in an Amazon S3 bucket.sourceS3Path(IResolvable sourceS3Path) Information required to find a specific file in an Amazon S3 bucket.A list of key-value pairs that identify or categorize the thesaurus.
-
Method Details
-
create
@Stability(Stable) public static CfnThesaurusPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnThesaurusPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnThesaurusPropsMixin.Builder.
-
description
A description for the thesaurus.- Parameters:
description- A description for the thesaurus. This parameter is required.- Returns:
this- See Also:
-
indexId
The identifier of the index for the thesaurus.- Parameters:
indexId- The identifier of the index for the thesaurus. This parameter is required.- Returns:
this- See Also:
-
name
A name for the thesaurus.- Parameters:
name- A name for the thesaurus. This parameter is required.- Returns:
this- See Also:
-
roleArn
An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.- Parameters:
roleArn- An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path. This parameter is required.- Returns:
this- See Also:
-
sourceS3Path
Information required to find a specific file in an Amazon S3 bucket.- Parameters:
sourceS3Path- Information required to find a specific file in an Amazon S3 bucket. This parameter is required.- Returns:
this- See Also:
-
sourceS3Path
@Stability(Stable) public CfnThesaurusPropsMixin.Builder sourceS3Path(CfnThesaurusPropsMixin.S3PathProperty sourceS3Path) Information required to find a specific file in an Amazon S3 bucket.- Parameters:
sourceS3Path- Information required to find a specific file in an Amazon S3 bucket. This parameter is required.- Returns:
this- See Also:
-
tags
A list of key-value pairs that identify or categorize the thesaurus.- Parameters:
tags- A list of key-value pairs that identify or categorize the thesaurus. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnThesaurusPropsMixin>- Returns:
- a newly built instance of
CfnThesaurusPropsMixin.
-