Interface UpdateDataSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<UpdateDataSourceRequest.Builder,,UpdateDataSourceRequest> SdkBuilder<UpdateDataSourceRequest.Builder,,UpdateDataSourceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateDataSourceRequest
-
Method Summary
Modifier and TypeMethodDescriptiondataDeletionPolicy(String dataDeletionPolicy) The data deletion policy for the data source that you want to update.dataDeletionPolicy(DataDeletionPolicy dataDeletionPolicy) The data deletion policy for the data source that you want to update.default UpdateDataSourceRequest.BuilderdataSourceConfiguration(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration) The connection configuration for the data source that you want to update.dataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration) The connection configuration for the data source that you want to update.dataSourceId(String dataSourceId) The unique identifier of the data source.description(String description) Specifies a new description for the data source.knowledgeBaseId(String knowledgeBaseId) The unique identifier of the knowledge base for the data source.Specifies a new name for the data source.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateDataSourceRequest.BuilderserverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration) Contains details about server-side encryption of the data source.serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) Contains details about server-side encryption of the data source.default UpdateDataSourceRequest.BuildervectorIngestionConfiguration(Consumer<VectorIngestionConfiguration.Builder> vectorIngestionConfiguration) Contains details about how to ingest the documents in the data source.vectorIngestionConfiguration(VectorIngestionConfiguration vectorIngestionConfiguration) Contains details about how to ingest the documents in the data source.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dataDeletionPolicy
The data deletion policy for the data source that you want to update.
- Parameters:
dataDeletionPolicy- The data deletion policy for the data source that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataDeletionPolicy
The data deletion policy for the data source that you want to update.
- Parameters:
dataDeletionPolicy- The data deletion policy for the data source that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSourceConfiguration
UpdateDataSourceRequest.Builder dataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration) The connection configuration for the data source that you want to update.
- Parameters:
dataSourceConfiguration- The connection configuration for the data source that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceConfiguration
default UpdateDataSourceRequest.Builder dataSourceConfiguration(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration) The connection configuration for the data source that you want to update.
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 todataSourceConfiguration(DataSourceConfiguration).- Parameters:
dataSourceConfiguration- 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:
-
dataSourceId
The unique identifier of the data source.
- Parameters:
dataSourceId- The unique identifier of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Specifies a new description for the data source.
- Parameters:
description- Specifies a new description for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseId
The unique identifier of the knowledge base for the data source.
- Parameters:
knowledgeBaseId- The unique identifier of the knowledge base for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Specifies a new name for the data source.
- Parameters:
name- Specifies a new name for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
UpdateDataSourceRequest.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) Contains details about server-side encryption of the data source.
- Parameters:
serverSideEncryptionConfiguration- Contains details about server-side encryption of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
default UpdateDataSourceRequest.Builder serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration) Contains details about server-side encryption of the data source.
This is a convenience method that creates an instance of theServerSideEncryptionConfiguration.Builderavoiding the need to create one manually viaServerSideEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration).- Parameters:
serverSideEncryptionConfiguration- a consumer that will call methods onServerSideEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vectorIngestionConfiguration
UpdateDataSourceRequest.Builder vectorIngestionConfiguration(VectorIngestionConfiguration vectorIngestionConfiguration) Contains details about how to ingest the documents in the data source.
- Parameters:
vectorIngestionConfiguration- Contains details about how to ingest the documents in the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorIngestionConfiguration
default UpdateDataSourceRequest.Builder vectorIngestionConfiguration(Consumer<VectorIngestionConfiguration.Builder> vectorIngestionConfiguration) Contains details about how to ingest the documents in the data source.
This is a convenience method that creates an instance of theVectorIngestionConfiguration.Builderavoiding the need to create one manually viaVectorIngestionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovectorIngestionConfiguration(VectorIngestionConfiguration).- Parameters:
vectorIngestionConfiguration- a consumer that will call methods onVectorIngestionConfiguration.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-