Interface ColumnConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ColumnConfiguration.Builder,ColumnConfiguration>,SdkBuilder<ColumnConfiguration.Builder,ColumnConfiguration>,SdkPojo
- Enclosing class:
- ColumnConfiguration
public static interface ColumnConfiguration.Builder extends SdkPojo, CopyableBuilder<ColumnConfiguration.Builder,ColumnConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ColumnConfiguration.BuilderchangeDetectingColumns(String... changeDetectingColumns)One to five columns that indicate when a document in the database has changed.ColumnConfiguration.BuilderchangeDetectingColumns(Collection<String> changeDetectingColumns)One to five columns that indicate when a document in the database has changed.ColumnConfiguration.BuilderdocumentDataColumnName(String documentDataColumnName)The column that contains the contents of the document.ColumnConfiguration.BuilderdocumentIdColumnName(String documentIdColumnName)The column that provides the document's identifier.ColumnConfiguration.BuilderdocumentTitleColumnName(String documentTitleColumnName)The column that contains the title of the document.ColumnConfiguration.BuilderfieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)An array of objects that map database column names to the corresponding fields in an index.ColumnConfiguration.BuilderfieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings)An array of objects that map database column names to the corresponding fields in an index.ColumnConfiguration.BuilderfieldMappings(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 Detail
-
documentIdColumnName
ColumnConfiguration.Builder documentIdColumnName(String 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
ColumnConfiguration.Builder documentDataColumnName(String 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
ColumnConfiguration.Builder documentTitleColumnName(String 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
ColumnConfiguration.Builder fieldMappings(Collection<DataSourceToIndexFieldMapping> 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
UpdateIndexAPI.- 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 theUpdateIndexAPI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
ColumnConfiguration.Builder fieldMappings(DataSourceToIndexFieldMapping... 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
UpdateIndexAPI.- 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 theUpdateIndexAPI.- 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 theUpdateIndexAPI.DataSourceToIndexFieldMapping.Builderavoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fieldMappings(List.) - 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:
#fieldMappings(java.util.Collection)
-
changeDetectingColumns
ColumnConfiguration.Builder changeDetectingColumns(Collection<String> 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
ColumnConfiguration.Builder changeDetectingColumns(String... 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.
-
-