Package com.pulumi.aws.kendra.inputs
Class ThesaurusState.Builder
- java.lang.Object
-
- com.pulumi.aws.kendra.inputs.ThesaurusState.Builder
-
- Enclosing class:
- ThesaurusState
public static final class ThesaurusState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ThesaurusState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ThesaurusState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
ThesaurusState.Builder
arn(java.lang.String arn)
ThesaurusState
build()
ThesaurusState.Builder
description(com.pulumi.core.Output<java.lang.String> description)
ThesaurusState.Builder
description(java.lang.String description)
ThesaurusState.Builder
indexId(com.pulumi.core.Output<java.lang.String> indexId)
ThesaurusState.Builder
indexId(java.lang.String indexId)
ThesaurusState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
ThesaurusState.Builder
name(java.lang.String name)
ThesaurusState.Builder
roleArn(com.pulumi.core.Output<java.lang.String> roleArn)
ThesaurusState.Builder
roleArn(java.lang.String roleArn)
ThesaurusState.Builder
sourceS3Path(ThesaurusSourceS3PathArgs sourceS3Path)
ThesaurusState.Builder
sourceS3Path(com.pulumi.core.Output<ThesaurusSourceS3PathArgs> sourceS3Path)
ThesaurusState.Builder
status(com.pulumi.core.Output<java.lang.String> status)
ThesaurusState.Builder
status(java.lang.String status)
ThesaurusState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
ThesaurusState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
ThesaurusState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.ThesaurusState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.ThesaurusState.Builder
thesaurusId(com.pulumi.core.Output<java.lang.String> thesaurusId)
ThesaurusState.Builder
thesaurusId(java.lang.String thesaurusId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ThesaurusState defaults)
-
-
Method Detail
-
arn
public ThesaurusState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- ARN of the thesaurus.- Returns:
- builder
-
arn
public ThesaurusState.Builder arn(java.lang.String arn)
- Parameters:
arn
- ARN of the thesaurus.- Returns:
- builder
-
description
public ThesaurusState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
-
description
public ThesaurusState.Builder description(java.lang.String description)
-
indexId
public ThesaurusState.Builder indexId(@Nullable com.pulumi.core.Output<java.lang.String> indexId)
- Parameters:
indexId
- The identifier of the index for a thesaurus.- Returns:
- builder
-
indexId
public ThesaurusState.Builder indexId(java.lang.String indexId)
- Parameters:
indexId
- The identifier of the index for a thesaurus.- Returns:
- builder
-
name
public ThesaurusState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name for the thesaurus.- Returns:
- builder
-
name
public ThesaurusState.Builder name(java.lang.String name)
- Parameters:
name
- The name for the thesaurus.- Returns:
- builder
-
roleArn
public ThesaurusState.Builder roleArn(@Nullable com.pulumi.core.Output<java.lang.String> roleArn)
- Parameters:
roleArn
- The IAM (Identity and Access Management) role used to access the thesaurus file in S3.- Returns:
- builder
-
roleArn
public ThesaurusState.Builder roleArn(java.lang.String roleArn)
- Parameters:
roleArn
- The IAM (Identity and Access Management) role used to access the thesaurus file in S3.- Returns:
- builder
-
sourceS3Path
public ThesaurusState.Builder sourceS3Path(@Nullable com.pulumi.core.Output<ThesaurusSourceS3PathArgs> sourceS3Path)
- Parameters:
sourceS3Path
- The S3 path where your thesaurus file sits in S3. Detailed below.- Returns:
- builder
-
sourceS3Path
public ThesaurusState.Builder sourceS3Path(ThesaurusSourceS3PathArgs sourceS3Path)
- Parameters:
sourceS3Path
- The S3 path where your thesaurus file sits in S3. Detailed below.- Returns:
- builder
-
status
public ThesaurusState.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status
- The current status of the thesaurus.- Returns:
- builder
-
status
public ThesaurusState.Builder status(java.lang.String status)
- Parameters:
status
- The current status of the thesaurus.- Returns:
- builder
-
tags
public ThesaurusState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
-
tags
public ThesaurusState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
-
tagsAll
@Deprecated public ThesaurusState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
tagsAll
@Deprecated public ThesaurusState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
thesaurusId
public ThesaurusState.Builder thesaurusId(@Nullable com.pulumi.core.Output<java.lang.String> thesaurusId)
-
thesaurusId
public ThesaurusState.Builder thesaurusId(java.lang.String thesaurusId)
-
build
public ThesaurusState build()
-
-