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 SummaryModifier and TypeMethodDescriptionclientToken(String clientToken) A token that you provide to identify the request to create your Amazon Kendra experience.default CreateExperienceRequest.Builderconfiguration(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 accessQueryAPI,GetQuerySuggestionsAPI, and other required APIs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.kendra.model.KendraRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
nameA 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.
 
- 
indexIdThe 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.
 
- 
roleArnThe Amazon Resource Name (ARN) of an IAM role with permission to access QueryAPI,GetQuerySuggestionsAPI, 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 access- QueryAPI,- GetQuerySuggestionsAPI, 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.
 
- 
configurationConfiguration 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 includes- ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and- UserIdentityConfiguration, 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.
 
- 
configurationdefault 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.Builderavoiding the need to create one manually viaExperienceConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(ExperienceConfiguration).- Parameters:
- configuration- a consumer that will call methods on- ExperienceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
descriptionA 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.
 
- 
clientTokenA token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls to the CreateExperienceAPI 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 the- CreateExperienceAPI 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.
 
- 
overrideConfigurationCreateExperienceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateExperienceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-