Interface DataSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataSource.Builder,DataSource>,SdkBuilder<DataSource.Builder,DataSource>,SdkPojo
- Enclosing class:
- DataSource
public static interface DataSource.Builder extends SdkPojo, CopyableBuilder<DataSource.Builder,DataSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataSource.BuildercreatedAt(Instant createdAt)Sets the value of the CreatedAt property for this object.default DataSource.BuilderdataSourceConfiguration(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration)Sets the value of the DataSourceConfiguration property for this object.DataSource.BuilderdataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)Sets the value of the DataSourceConfiguration property for this object.DataSource.BuilderdataSourceId(String dataSourceId)Sets the value of the DataSourceId property for this object.DataSource.Builderdescription(String description)Sets the value of the Description property for this object.DataSource.BuilderknowledgeBaseId(String knowledgeBaseId)Sets the value of the KnowledgeBaseId property for this object.DataSource.Buildername(String name)Sets the value of the Name property for this object.default DataSource.BuilderserverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration)Sets the value of the ServerSideEncryptionConfiguration property for this object.DataSource.BuilderserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)Sets the value of the ServerSideEncryptionConfiguration property for this object.DataSource.Builderstatus(String status)Sets the value of the Status property for this object.DataSource.Builderstatus(DataSourceStatus status)Sets the value of the Status property for this object.DataSource.BuilderupdatedAt(Instant updatedAt)Sets the value of the UpdatedAt property for this object.default DataSource.BuildervectorIngestionConfiguration(Consumer<VectorIngestionConfiguration.Builder> vectorIngestionConfiguration)Sets the value of the VectorIngestionConfiguration property for this object.DataSource.BuildervectorIngestionConfiguration(VectorIngestionConfiguration vectorIngestionConfiguration)Sets the value of the VectorIngestionConfiguration property for this object.-
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
DataSource.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
DataSource.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
DataSource.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.
-
status
DataSource.Builder status(String status)
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceStatus,DataSourceStatus
-
status
DataSource.Builder status(DataSourceStatus status)
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceStatus,DataSourceStatus
-
description
DataSource.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
DataSource.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 DataSource.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
DataSource.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 DataSource.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
DataSource.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 DataSource.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)
-
createdAt
DataSource.Builder createdAt(Instant createdAt)
Sets the value of the CreatedAt property for this object.- Parameters:
createdAt- The new value for the CreatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
DataSource.Builder updatedAt(Instant updatedAt)
Sets the value of the UpdatedAt property for this object.- Parameters:
updatedAt- The new value for the UpdatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-