public static final class CfnDataSource.ColumnConfigurationProperty.Builder
extends java.lang.Object
CfnDataSource.ColumnConfigurationProperty
Constructor and Description |
---|
Builder() |
public CfnDataSource.ColumnConfigurationProperty.Builder changeDetectingColumns(java.util.List<java.lang.String> changeDetectingColumns)
CfnDataSource.ColumnConfigurationProperty.getChangeDetectingColumns()
changeDetectingColumns
- One to five columns that indicate when a document in the database has changed. This parameter is required.this
public CfnDataSource.ColumnConfigurationProperty.Builder documentDataColumnName(java.lang.String documentDataColumnName)
CfnDataSource.ColumnConfigurationProperty.getDocumentDataColumnName()
documentDataColumnName
- The column that contains the contents of the document. This parameter is required.this
public CfnDataSource.ColumnConfigurationProperty.Builder documentIdColumnName(java.lang.String documentIdColumnName)
CfnDataSource.ColumnConfigurationProperty.getDocumentIdColumnName()
documentIdColumnName
- The column that provides the document's unique identifier. This parameter is required.this
public CfnDataSource.ColumnConfigurationProperty.Builder documentTitleColumnName(java.lang.String documentTitleColumnName)
CfnDataSource.ColumnConfigurationProperty.getDocumentTitleColumnName()
documentTitleColumnName
- The column that contains the title of the document.this
public CfnDataSource.ColumnConfigurationProperty.Builder fieldMappings(IResolvable fieldMappings)
CfnDataSource.ColumnConfigurationProperty.getFieldMappings()
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 operation.this
public CfnDataSource.ColumnConfigurationProperty.Builder fieldMappings(java.util.List<? extends java.lang.Object> fieldMappings)
CfnDataSource.ColumnConfigurationProperty.getFieldMappings()
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 operation.this
public CfnDataSource.ColumnConfigurationProperty build()
CfnDataSource.ColumnConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided