Interface UpdateDataSourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>,SdkBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDataSourceRequest
public static interface UpdateDataSourceRequest.Builder extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateDataSourceRequest.BuilderdataSourceConfiguration(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration)Sets the value of the DataSourceConfiguration property for this object.UpdateDataSourceRequest.BuilderdataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)Sets the value of the DataSourceConfiguration property for this object.UpdateDataSourceRequest.BuilderdataSourceId(String dataSourceId)Sets the value of the DataSourceId property for this object.UpdateDataSourceRequest.Builderdescription(String description)Sets the value of the Description property for this object.UpdateDataSourceRequest.BuilderknowledgeBaseId(String knowledgeBaseId)Sets the value of the KnowledgeBaseId property for this object.UpdateDataSourceRequest.Buildername(String name)Sets the value of the Name property for this object.UpdateDataSourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDataSourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateDataSourceRequest.BuilderserverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration)Sets the value of the ServerSideEncryptionConfiguration property for this object.UpdateDataSourceRequest.BuilderserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)Sets the value of the ServerSideEncryptionConfiguration property for this object.default UpdateDataSourceRequest.BuildervectorIngestionConfiguration(Consumer<VectorIngestionConfiguration.Builder> vectorIngestionConfiguration)Sets the value of the VectorIngestionConfiguration property for this object.UpdateDataSourceRequest.BuildervectorIngestionConfiguration(VectorIngestionConfiguration vectorIngestionConfiguration)Sets the value of the VectorIngestionConfiguration property for this object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
knowledgeBaseId
UpdateDataSourceRequest.Builder knowledgeBaseId(String knowledgeBaseId)
Sets the value of the KnowledgeBaseId property for this object.- Parameters:
knowledgeBaseId- The new value for the KnowledgeBaseId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceId
UpdateDataSourceRequest.Builder dataSourceId(String dataSourceId)
Sets the value of the DataSourceId property for this object.- Parameters:
dataSourceId- The new value for the DataSourceId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateDataSourceRequest.Builder name(String name)
Sets the value of the Name property for this object.- Parameters:
name- The new value for the Name property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateDataSourceRequest.Builder description(String description)
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceConfiguration
UpdateDataSourceRequest.Builder dataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Sets the value of the DataSourceConfiguration property for this object.- Parameters:
dataSourceConfiguration- The new value for the DataSourceConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceConfiguration
default UpdateDataSourceRequest.Builder dataSourceConfiguration(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration)
Sets the value of the DataSourceConfiguration property for this object. 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:
dataSourceConfiguration(DataSourceConfiguration)
-
serverSideEncryptionConfiguration
UpdateDataSourceRequest.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
Sets the value of the ServerSideEncryptionConfiguration property for this object.- Parameters:
serverSideEncryptionConfiguration- The new value for the ServerSideEncryptionConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
default UpdateDataSourceRequest.Builder serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration)
Sets the value of the ServerSideEncryptionConfiguration property for this object. 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:
serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration)
-
vectorIngestionConfiguration
UpdateDataSourceRequest.Builder vectorIngestionConfiguration(VectorIngestionConfiguration vectorIngestionConfiguration)
Sets the value of the VectorIngestionConfiguration property for this object.- Parameters:
vectorIngestionConfiguration- The new value for the VectorIngestionConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorIngestionConfiguration
default UpdateDataSourceRequest.Builder vectorIngestionConfiguration(Consumer<VectorIngestionConfiguration.Builder> vectorIngestionConfiguration)
Sets the value of the VectorIngestionConfiguration property for this object. 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:
vectorIngestionConfiguration(VectorIngestionConfiguration)
-
overrideConfiguration
UpdateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-