Interface CreateExperienceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateExperienceRequest.Builder,
,CreateExperienceRequest> KendraRequest.Builder
,SdkBuilder<CreateExperienceRequest.Builder,
,CreateExperienceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateExperienceRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A token that you provide to identify the request to create your Amazon Kendra experience.default CreateExperienceRequest.Builder
configuration
(Consumer<ExperienceConfiguration.Builder> configuration) Configuration information for your Amazon Kendra experience.configuration
(ExperienceConfiguration configuration) Configuration information for your Amazon Kendra experience.description
(String description) A description for your Amazon Kendra experience.The identifier of the index for your Amazon Kendra experience.A 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 an IAM role with permission to accessQuery
API,GetQuerySuggestions
API, and other required APIs.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
-
name
A name for your Amazon Kendra experience.
- Parameters:
name
- A 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 an IAM role with permission to access
Query
API,GetQuerySuggestions
API, and other required APIs. The role also must include permission to access IAM Identity Center that stores your user and group information. For more information, see IAM access roles for Amazon Kendra.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of an IAM role with permission to accessQuery
API,GetQuerySuggestions
API, and other required APIs. The role also must include permission to access IAM Identity Center that stores your user and group information. For more information, see IAM access roles for Amazon Kendra.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Configuration information for your Amazon Kendra experience. This includes
ContentSourceConfiguration
, which specifies the data source IDs and/or FAQ IDs, andUserIdentityConfiguration
, which specifies the user or group information to grant access to your Amazon Kendra experience.- Parameters:
configuration
- Configuration information for your Amazon Kendra experience. This includesContentSourceConfiguration
, which specifies the data source IDs and/or FAQ IDs, andUserIdentityConfiguration
, which specifies the user or group information to grant access to your Amazon Kendra experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateExperienceRequest.Builder configuration(Consumer<ExperienceConfiguration.Builder> configuration) Configuration information for your Amazon Kendra experience. This includes
This is a convenience method that creates an instance of theContentSourceConfiguration
, which specifies the data source IDs and/or FAQ IDs, andUserIdentityConfiguration
, which specifies the user or group information to grant access to your Amazon Kendra experience.ExperienceConfiguration.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 description for your Amazon Kendra experience.
- Parameters:
description
- A description for your Amazon Kendra experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls to the
CreateExperience
API with the same client token creates only one Amazon Kendra experience.- Parameters:
clientToken
- A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls to theCreateExperience
API with the same client token creates only one Amazon Kendra experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateExperienceRequest.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
CreateExperienceRequest.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.
-