Interface UpdateDataSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDataSourceRequest.Builder,
,UpdateDataSourceRequest> KendraRequest.Builder
,SdkBuilder<UpdateDataSourceRequest.Builder,
,UpdateDataSourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDataSourceRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateDataSourceRequest.Builder
configuration
(Consumer<DataSourceConfiguration.Builder> configuration) Configuration information you want to update for the data source connector.configuration
(DataSourceConfiguration configuration) Configuration information you want to update for the data source connector.default UpdateDataSourceRequest.Builder
customDocumentEnrichmentConfiguration
(Consumer<CustomDocumentEnrichmentConfiguration.Builder> customDocumentEnrichmentConfiguration) Configuration information you want to update for altering document metadata and content during the document ingestion process.customDocumentEnrichmentConfiguration
(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration) Configuration information you want to update for altering document metadata and content during the document ingestion process.description
(String description) A new description for the data source connector.The identifier of the data source connector you want to update.The identifier of the index used with the data source connector.languageCode
(String languageCode) The code for a language you want to update for the data source connector.A new name for the data source connector.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 access the data source and required resources.The sync schedule you want to update for the data source connector.default UpdateDataSourceRequest.Builder
vpcConfiguration
(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your data source.vpcConfiguration
(DataSourceVpcConfiguration vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your data source.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 the data source connector you want to update.
- Parameters:
id
- The identifier of the data source connector you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A new name for the data source connector.
- Parameters:
name
- A new name for the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexId
The identifier of the index used with the data source connector.
- Parameters:
indexId
- The identifier of the index used with the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Configuration information you want to update for the data source connector.
- Parameters:
configuration
- Configuration information you want to update for the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateDataSourceRequest.Builder configuration(Consumer<DataSourceConfiguration.Builder> configuration) Configuration information you want to update for the data source connector.
This is a convenience method that creates an instance of theDataSourceConfiguration.Builder
avoiding the need to create one manually viaDataSourceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(DataSourceConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onDataSourceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfiguration
Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
- Parameters:
vpcConfiguration
- Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default UpdateDataSourceRequest.Builder vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
This is a convenience method that creates an instance of theDataSourceVpcConfiguration.Builder
avoiding the need to create one manually viaDataSourceVpcConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfiguration(DataSourceVpcConfiguration)
.- Parameters:
vpcConfiguration
- a consumer that will call methods onDataSourceVpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A new description for the data source connector.
- Parameters:
description
- A new description for the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The sync schedule you want to update for the data source connector.
- Parameters:
schedule
- The sync schedule you want to update for the data source connector.- 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 the data source and required resources. For more information, see IAM roles for Amazon Kendra.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of a role with permission to access the data source and required resources. For more information, see IAM roles for Amazon Kendra.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
languageCode
The code for a language you want to update for the data source connector. This allows you to support a language for all documents when updating the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
- Parameters:
languageCode
- The code for a language you want to update for the data source connector. This allows you to support a language for all documents when updating the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDocumentEnrichmentConfiguration
UpdateDataSourceRequest.Builder customDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration) Configuration information you want to update for altering document metadata and content during the document ingestion process.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
- Parameters:
customDocumentEnrichmentConfiguration
- Configuration information you want to update for altering document metadata and content during the document ingestion process.For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDocumentEnrichmentConfiguration
default UpdateDataSourceRequest.Builder customDocumentEnrichmentConfiguration(Consumer<CustomDocumentEnrichmentConfiguration.Builder> customDocumentEnrichmentConfiguration) Configuration information you want to update for altering document metadata and content during the document ingestion process.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
This is a convenience method that creates an instance of theCustomDocumentEnrichmentConfiguration.Builder
avoiding the need to create one manually viaCustomDocumentEnrichmentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration)
.- Parameters:
customDocumentEnrichmentConfiguration
- a consumer that will call methods onCustomDocumentEnrichmentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateDataSourceRequest.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
UpdateDataSourceRequest.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.
-