Interface UpdateThesaurusRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateThesaurusRequest.Builder,UpdateThesaurusRequest>,KendraRequest.Builder,SdkBuilder<UpdateThesaurusRequest.Builder,UpdateThesaurusRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateThesaurusRequest
public static interface UpdateThesaurusRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<UpdateThesaurusRequest.Builder,UpdateThesaurusRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateThesaurusRequest.Builderdescription(String description)A new description for the thesaurus.UpdateThesaurusRequest.Builderid(String id)The identifier of the thesaurus you want to update.UpdateThesaurusRequest.BuilderindexId(String indexId)The identifier of the index for the thesaurus.UpdateThesaurusRequest.Buildername(String name)A new name for the thesaurus.UpdateThesaurusRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateThesaurusRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateThesaurusRequest.BuilderroleArn(String roleArn)An IAM role that gives Amazon Kendra permissions to access thesaurus file specified inSourceS3Path.default UpdateThesaurusRequest.BuildersourceS3Path(Consumer<S3Path.Builder> sourceS3Path)Sets the value of the SourceS3Path property for this object.UpdateThesaurusRequest.BuildersourceS3Path(S3Path sourceS3Path)Sets the value of the SourceS3Path property for this object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
UpdateThesaurusRequest.Builder id(String id)
The identifier of the thesaurus you want to update.
- Parameters:
id- The identifier of the thesaurus you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateThesaurusRequest.Builder name(String name)
A new name for the thesaurus.
- Parameters:
name- A new name for the thesaurus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexId
UpdateThesaurusRequest.Builder indexId(String indexId)
The identifier of the index for the thesaurus.
- Parameters:
indexId- The identifier of the index for the thesaurus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateThesaurusRequest.Builder description(String description)
A new description for the thesaurus.
- Parameters:
description- A new description for the thesaurus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
UpdateThesaurusRequest.Builder roleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path.- Parameters:
roleArn- An IAM role that gives Amazon Kendra permissions to access thesaurus file specified inSourceS3Path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceS3Path
UpdateThesaurusRequest.Builder sourceS3Path(S3Path sourceS3Path)
Sets the value of the SourceS3Path property for this object.- Parameters:
sourceS3Path- The new value for the SourceS3Path property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceS3Path
default UpdateThesaurusRequest.Builder sourceS3Path(Consumer<S3Path.Builder> sourceS3Path)
Sets the value of the SourceS3Path property for this object. This is a convenience method that creates an instance of theS3Path.Builderavoiding the need to create one manually viaS3Path.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceS3Path(S3Path).- Parameters:
sourceS3Path- a consumer that will call methods onS3Path.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceS3Path(S3Path)
-
overrideConfiguration
UpdateThesaurusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateThesaurusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-