Class CfnQuerySuggestionsBlockListMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnQuerySuggestionsBlockListMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQuerySuggestionsBlockListMixinProps>
- Enclosing interface:
CfnQuerySuggestionsBlockListMixinProps
@Stability(Stable)
public static final class CfnQuerySuggestionsBlockListMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQuerySuggestionsBlockListMixinProps>
A builder for
CfnQuerySuggestionsBlockListMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getDescription()Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getIndexId()Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getName()Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getRoleArn()Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getSourceS3Path()sourceS3Path(IResolvable sourceS3Path) Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getSourceS3Path()Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnQuerySuggestionsBlockListMixinProps.Builder description(String description) Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getDescription()- Parameters:
description- A description for the block list.- Returns:
this
-
indexId
Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getIndexId()- Parameters:
indexId- The identifier of the index for the block list.- Returns:
this
-
name
Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getName()- Parameters:
name- The name of the block list.- Returns:
this
-
roleArn
Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getRoleArn()- 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.- Returns:
this
-
sourceS3Path
@Stability(Stable) public CfnQuerySuggestionsBlockListMixinProps.Builder sourceS3Path(IResolvable sourceS3Path) Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getSourceS3Path()- Parameters:
sourceS3Path- Information required to find a specific file in an Amazon S3 bucket.- Returns:
this
-
sourceS3Path
@Stability(Stable) public CfnQuerySuggestionsBlockListMixinProps.Builder sourceS3Path(CfnQuerySuggestionsBlockListPropsMixin.S3PathProperty sourceS3Path) Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getSourceS3Path()- Parameters:
sourceS3Path- Information required to find a specific file in an Amazon S3 bucket.- Returns:
this
-
tags
@Stability(Stable) public CfnQuerySuggestionsBlockListMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnQuerySuggestionsBlockListMixinProps.getTags()- Parameters:
tags- A list of key-value pairs that identify or categorize the block list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQuerySuggestionsBlockListMixinProps>- Returns:
- a new instance of
CfnQuerySuggestionsBlockListMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-