Class KendraQuerySuggestionsBlockListConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.kendra_query_suggestions_block_list.KendraQuerySuggestionsBlockListConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KendraQuerySuggestionsBlockListConfig>
- Enclosing interface:
- KendraQuerySuggestionsBlockListConfig
@Stability(Stable) public static final class KendraQuerySuggestionsBlockListConfig.Builder extends Object implements software.amazon.jsii.Builder<KendraQuerySuggestionsBlockListConfig>
A builder forKendraQuerySuggestionsBlockListConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
indexId
@Stability(Stable) public KendraQuerySuggestionsBlockListConfig.Builder indexId(String indexId)
Sets the value ofKendraQuerySuggestionsBlockListConfig.getIndexId()- Parameters:
indexId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kendra_query_suggestions_block_list#index_id KendraQuerySuggestionsBlockList#index_id}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public KendraQuerySuggestionsBlockListConfig.Builder name(String name)
Sets the value ofKendraQuerySuggestionsBlockListConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kendra_query_suggestions_block_list#name KendraQuerySuggestionsBlockList#name}. This parameter is required.- Returns:
this
-
roleArn
@Stability(Stable) public KendraQuerySuggestionsBlockListConfig.Builder roleArn(String roleArn)
Sets the value ofKendraQuerySuggestionsBlockListConfig.getRoleArn()- Parameters:
roleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kendra_query_suggestions_block_list#role_arn KendraQuerySuggestionsBlockList#role_arn}. This parameter is required.- Returns:
this
-
sourceS3Path
@Stability(Stable) public KendraQuerySuggestionsBlockListConfig.Builder sourceS3Path(KendraQuerySuggestionsBlockListSourceS3Path sourceS3Path)
Sets the value ofKendraQuerySuggestionsBlockListConfig.getSourceS3Path()- Parameters:
sourceS3Path- source_s3_path block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kendra_query_suggestions_block_list#source_s3_path KendraQuerySuggestionsBlockList#source_s3_path}- Returns:
this
-
description
@Stability(Stable) public KendraQuerySuggestionsBlockListConfig.Builder description(String description)
Sets the value ofKendraQuerySuggestionsBlockListConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kendra_query_suggestions_block_list#description KendraQuerySuggestionsBlockList#description}.- Returns:
this
-
id
@Stability(Stable) public KendraQuerySuggestionsBlockListConfig.Builder id(String id)
Sets the value ofKendraQuerySuggestionsBlockListConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kendra_query_suggestions_block_list#id KendraQuerySuggestionsBlockList#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
tags
@Stability(Stable) public KendraQuerySuggestionsBlockListConfig.Builder tags(Map<String,String> tags)
Sets the value ofKendraQuerySuggestionsBlockListConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kendra_query_suggestions_block_list#tags KendraQuerySuggestionsBlockList#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public KendraQuerySuggestionsBlockListConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofKendraQuerySuggestionsBlockListConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kendra_query_suggestions_block_list#tags_all KendraQuerySuggestionsBlockList#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public KendraQuerySuggestionsBlockListConfig.Builder timeouts(KendraQuerySuggestionsBlockListTimeouts timeouts)
Sets the value ofKendraQuerySuggestionsBlockListConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kendra_query_suggestions_block_list#timeouts KendraQuerySuggestionsBlockList#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public KendraQuerySuggestionsBlockListConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public KendraQuerySuggestionsBlockListConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public KendraQuerySuggestionsBlockListConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public KendraQuerySuggestionsBlockListConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public KendraQuerySuggestionsBlockListConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public KendraQuerySuggestionsBlockListConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public KendraQuerySuggestionsBlockListConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public KendraQuerySuggestionsBlockListConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public KendraQuerySuggestionsBlockListConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public KendraQuerySuggestionsBlockListConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KendraQuerySuggestionsBlockListConfig>- Returns:
- a new instance of
KendraQuerySuggestionsBlockListConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-