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