Interface UpdateDataSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDataSourceRequest.Builder,
,UpdateDataSourceRequest> QBusinessRequest.Builder
,SdkBuilder<UpdateDataSourceRequest.Builder,
,UpdateDataSourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDataSourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The identifier of the Amazon Q Business application the data source is attached to.configuration
(Document configuration) Sets the value of the Configuration property for this object.dataSourceId
(String dataSourceId) The identifier of the data source connector.description
(String description) The description of the data source connector.displayName
(String displayName) A name of the data source connector.default UpdateDataSourceRequest.Builder
documentEnrichmentConfiguration
(Consumer<DocumentEnrichmentConfiguration.Builder> documentEnrichmentConfiguration) Sets the value of the DocumentEnrichmentConfiguration property for this object.documentEnrichmentConfiguration
(DocumentEnrichmentConfiguration documentEnrichmentConfiguration) Sets the value of the DocumentEnrichmentConfiguration property for this object.The identifier of the index attached to the data source connector.default UpdateDataSourceRequest.Builder
mediaExtractionConfiguration
(Consumer<MediaExtractionConfiguration.Builder> mediaExtractionConfiguration) The configuration for extracting information from media in documents for your data source.mediaExtractionConfiguration
(MediaExtractionConfiguration mediaExtractionConfiguration) The configuration for extracting information from media in documents for your data source.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 access the data source and required resources.syncSchedule
(String syncSchedule) The chosen update frequency for your data source.default UpdateDataSourceRequest.Builder
vpcConfiguration
(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Sets the value of the VpcConfiguration property for this object.vpcConfiguration
(DataSourceVpcConfiguration vpcConfiguration) Sets the value of the VpcConfiguration property for this object.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.qbusiness.model.QBusinessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The identifier of the Amazon Q Business application the data source is attached to.
- Parameters:
applicationId
- The identifier of the Amazon Q Business application the data source is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexId
The identifier of the index attached to the data source connector.
- Parameters:
indexId
- The identifier of the index attached to the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceId
The identifier of the data source connector.
- Parameters:
dataSourceId
- The identifier of the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
A name of the data source connector.
- Parameters:
displayName
- A name of the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Sets the value of the Configuration property for this object.- Parameters:
configuration
- The new value for the Configuration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
Sets the value of the VpcConfiguration property for this object.- Parameters:
vpcConfiguration
- The new value for the VpcConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default UpdateDataSourceRequest.Builder vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Sets the value of the VpcConfiguration property for this object. 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
The description of the data source connector.
- Parameters:
description
- The description of the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncSchedule
The chosen update frequency for your data source.
- Parameters:
syncSchedule
- The chosen update frequency for your data source.- 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 the data source and required resources.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentEnrichmentConfiguration
UpdateDataSourceRequest.Builder documentEnrichmentConfiguration(DocumentEnrichmentConfiguration documentEnrichmentConfiguration) Sets the value of the DocumentEnrichmentConfiguration property for this object.- Parameters:
documentEnrichmentConfiguration
- The new value for the DocumentEnrichmentConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentEnrichmentConfiguration
default UpdateDataSourceRequest.Builder documentEnrichmentConfiguration(Consumer<DocumentEnrichmentConfiguration.Builder> documentEnrichmentConfiguration) Sets the value of the DocumentEnrichmentConfiguration property for this object. This is a convenience method that creates an instance of theDocumentEnrichmentConfiguration.Builder
avoiding the need to create one manually viaDocumentEnrichmentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration)
.- Parameters:
documentEnrichmentConfiguration
- a consumer that will call methods onDocumentEnrichmentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mediaExtractionConfiguration
UpdateDataSourceRequest.Builder mediaExtractionConfiguration(MediaExtractionConfiguration mediaExtractionConfiguration) The configuration for extracting information from media in documents for your data source.
- Parameters:
mediaExtractionConfiguration
- The configuration for extracting information from media in documents for your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaExtractionConfiguration
default UpdateDataSourceRequest.Builder mediaExtractionConfiguration(Consumer<MediaExtractionConfiguration.Builder> mediaExtractionConfiguration) The configuration for extracting information from media in documents for your data source.
This is a convenience method that creates an instance of theMediaExtractionConfiguration.Builder
avoiding the need to create one manually viaMediaExtractionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomediaExtractionConfiguration(MediaExtractionConfiguration)
.- Parameters:
mediaExtractionConfiguration
- a consumer that will call methods onMediaExtractionConfiguration.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.
-