Interface UpdateExperienceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateExperienceRequest.Builder,
,UpdateExperienceRequest> KendraRequest.Builder
,SdkBuilder<UpdateExperienceRequest.Builder,
,UpdateExperienceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateExperienceRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateExperienceRequest.Builder
configuration
(Consumer<ExperienceConfiguration.Builder> configuration) Configuration information you want to update for your Amazon Kendra experience.configuration
(ExperienceConfiguration configuration) Configuration information you want to update for your Amazon Kendra experience.description
(String description) A new description for your Amazon Kendra experience.The identifier of your Amazon Kendra experience you want to update.The identifier of the index for your Amazon Kendra experience.A new name for your Amazon Kendra experience.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of a role with permission to accessQuery
API,QuerySuggestions
API,SubmitFeedback
API, and IAM Identity Center that stores your user and group information.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 Details
-
id
The identifier of your Amazon Kendra experience you want to update.
- Parameters:
id
- The identifier of your Amazon Kendra experience you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A new name for your Amazon Kendra experience.
- Parameters:
name
- A new name for your Amazon Kendra experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexId
The identifier of the index for your Amazon Kendra experience.
- Parameters:
indexId
- The identifier of the index for your Amazon Kendra experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of a role with permission to access
Query
API,QuerySuggestions
API,SubmitFeedback
API, and IAM Identity Center that stores your user and group information. For more information, see IAM roles for Amazon Kendra.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of a role with permission to accessQuery
API,QuerySuggestions
API,SubmitFeedback
API, and IAM Identity Center that stores your user and group information. For more information, see IAM roles for Amazon Kendra.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Configuration information you want to update for your Amazon Kendra experience.
- Parameters:
configuration
- Configuration information you want to update for your Amazon Kendra experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateExperienceRequest.Builder configuration(Consumer<ExperienceConfiguration.Builder> configuration) Configuration information you want to update for your Amazon Kendra experience.
This is a convenience method that creates an instance of theExperienceConfiguration.Builder
avoiding the need to create one manually viaExperienceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(ExperienceConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onExperienceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A new description for your Amazon Kendra experience.
- Parameters:
description
- A new description for your Amazon Kendra experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateExperienceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateExperienceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-