Interface ColumnConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ColumnConfiguration.Builder,
,ColumnConfiguration> SdkBuilder<ColumnConfiguration.Builder,
,ColumnConfiguration> SdkPojo
- Enclosing class:
ColumnConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionchangeDetectingColumns
(String... changeDetectingColumns) One to five columns that indicate when a document in the database has changed.changeDetectingColumns
(Collection<String> changeDetectingColumns) One to five columns that indicate when a document in the database has changed.documentDataColumnName
(String documentDataColumnName) The column that contains the contents of the document.documentIdColumnName
(String documentIdColumnName) The column that provides the document's identifier.documentTitleColumnName
(String documentTitleColumnName) The column that contains the title of the document.fieldMappings
(Collection<DataSourceToIndexFieldMapping> fieldMappings) An array of objects that map database column names to the corresponding fields in an index.fieldMappings
(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) An array of objects that map database column names to the corresponding fields in an index.fieldMappings
(DataSourceToIndexFieldMapping... fieldMappings) An array of objects that map database column names to the corresponding fields in an index.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 Details
-
documentIdColumnName
The column that provides the document's identifier.
- Parameters:
documentIdColumnName
- The column that provides the document's identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentDataColumnName
The column that contains the contents of the document.
- Parameters:
documentDataColumnName
- The column that contains the contents of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentTitleColumnName
The column that contains the title of the document.
- Parameters:
documentTitleColumnName
- The column that contains the title of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the
UpdateIndex
API.- Parameters:
fieldMappings
- An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using theUpdateIndex
API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the
UpdateIndex
API.- Parameters:
fieldMappings
- An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using theUpdateIndex
API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
ColumnConfiguration.Builder fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the
This is a convenience method that creates an instance of theUpdateIndex
API.DataSourceToIndexFieldMapping.Builder
avoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofieldMappings(List<DataSourceToIndexFieldMapping>)
.- Parameters:
fieldMappings
- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
changeDetectingColumns
One to five columns that indicate when a document in the database has changed.
- Parameters:
changeDetectingColumns
- One to five columns that indicate when a document in the database has changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeDetectingColumns
One to five columns that indicate when a document in the database has changed.
- Parameters:
changeDetectingColumns
- One to five columns that indicate when a document in the database has changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-