Class CfnQuerySuggestionsBlockList.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnQuerySuggestionsBlockList.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQuerySuggestionsBlockList>
- Enclosing class:
CfnQuerySuggestionsBlockList
@Stability(Stable)
public static final class CfnQuerySuggestionsBlockList.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQuerySuggestionsBlockList>
A fluent builder for
CfnQuerySuggestionsBlockList.-
Method Summary
Modifier and TypeMethodDescriptionbuild()description(String description) A description for the block list.The identifier of the index for the block list.The name of the block list.The Amazon Resource Name (ARN) of an IAM role with permission to access the S3 bucket that contains the block list text file.sourceS3Path(IResolvable sourceS3Path) Information required to find a specific file in an Amazon S3 bucket.sourceS3Path(CfnQuerySuggestionsBlockList.S3PathProperty sourceS3Path) Information required to find a specific file in an Amazon S3 bucket.A list of key-value pairs that identify or categorize the block list.
-
Method Details
-
create
@Stability(Stable) public static CfnQuerySuggestionsBlockList.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnQuerySuggestionsBlockList.Builder.
-
indexId
The identifier of the index for the block list.- Parameters:
indexId- The identifier of the index for the block list. This parameter is required.- Returns:
this- See Also:
-
name
The name of the block list.- Parameters:
name- The name of the block list. This parameter is required.- Returns:
this- See Also:
-
roleArn
The Amazon Resource Name (ARN) of an IAM role with permission to access the S3 bucket that contains the block list text file.- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role with permission to access the S3 bucket that contains the block list text file. This parameter is required.- Returns:
this- See Also:
-
sourceS3Path
@Stability(Stable) public CfnQuerySuggestionsBlockList.Builder sourceS3Path(IResolvable 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 CfnQuerySuggestionsBlockList.Builder sourceS3Path(CfnQuerySuggestionsBlockList.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:
-
description
A description for the block list.- Parameters:
description- A description for the block list. This parameter is required.- Returns:
this- See Also:
-
tags
A list of key-value pairs that identify or categorize the block list.- Parameters:
tags- A list of key-value pairs that identify or categorize the block list. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQuerySuggestionsBlockList>- Returns:
- a newly built instance of
CfnQuerySuggestionsBlockList.
-