Interface UpdateDataSourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>,KendraRequest.Builder,SdkBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDataSourceRequest
public static interface UpdateDataSourceRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateDataSourceRequest.Builderconfiguration(Consumer<DataSourceConfiguration.Builder> configuration)Configuration information you want to update for the data source connector.UpdateDataSourceRequest.Builderconfiguration(DataSourceConfiguration configuration)Configuration information you want to update for the data source connector.default UpdateDataSourceRequest.BuildercustomDocumentEnrichmentConfiguration(Consumer<CustomDocumentEnrichmentConfiguration.Builder> customDocumentEnrichmentConfiguration)Configuration information you want to update for altering document metadata and content during the document ingestion process.UpdateDataSourceRequest.BuildercustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)Configuration information you want to update for altering document metadata and content during the document ingestion process.UpdateDataSourceRequest.Builderdescription(String description)A new description for the data source connector.UpdateDataSourceRequest.Builderid(String id)The identifier of the data source connector you want to update.UpdateDataSourceRequest.BuilderindexId(String indexId)The identifier of the index used with the data source connector.UpdateDataSourceRequest.BuilderlanguageCode(String languageCode)The code for a language you want to update for the data source connector.UpdateDataSourceRequest.Buildername(String name)A new name for the data source connector.UpdateDataSourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDataSourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateDataSourceRequest.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of a role with permission to access the data source and required resources.UpdateDataSourceRequest.Builderschedule(String schedule)The sync schedule you want to update for the data source connector.default UpdateDataSourceRequest.BuildervpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration)Configuration information for an Amazon Virtual Private Cloud to connect to your data source.UpdateDataSourceRequest.BuildervpcConfiguration(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 Detail
-
id
UpdateDataSourceRequest.Builder id(String 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
UpdateDataSourceRequest.Builder name(String 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
UpdateDataSourceRequest.Builder indexId(String 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
UpdateDataSourceRequest.Builder configuration(DataSourceConfiguration 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.Builderavoiding the need to create one manually viaDataSourceConfiguration.builder().When the
Consumercompletes,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:
configuration(DataSourceConfiguration)
-
vpcConfiguration
UpdateDataSourceRequest.Builder vpcConfiguration(DataSourceVpcConfiguration 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.Builderavoiding the need to create one manually viaDataSourceVpcConfiguration.builder().When the
Consumercompletes,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:
vpcConfiguration(DataSourceVpcConfiguration)
-
description
UpdateDataSourceRequest.Builder description(String 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
UpdateDataSourceRequest.Builder schedule(String 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
UpdateDataSourceRequest.Builder roleArn(String 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
UpdateDataSourceRequest.Builder languageCode(String 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.Builderavoiding the need to create one manually viaCustomDocumentEnrichmentConfiguration.builder().When the
Consumercompletes,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:
customDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration)
-
overrideConfiguration
UpdateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-