Interface DataSourceToIndexFieldMapping.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataSourceToIndexFieldMapping.Builder,
,DataSourceToIndexFieldMapping> SdkBuilder<DataSourceToIndexFieldMapping.Builder,
,DataSourceToIndexFieldMapping> SdkPojo
- Enclosing class:
DataSourceToIndexFieldMapping
public static interface DataSourceToIndexFieldMapping.Builder
extends SdkPojo, CopyableBuilder<DataSourceToIndexFieldMapping.Builder,DataSourceToIndexFieldMapping>
-
Method Summary
Modifier and TypeMethodDescriptiondataSourceFieldName
(String dataSourceFieldName) The name of the field in the data source.dateFieldFormat
(String dateFieldFormat) The format for date fields in the data source.indexFieldName
(String indexFieldName) The name of the index field to map to the data source field.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
-
dataSourceFieldName
The name of the field in the data source. You must first create the index field using the
UpdateIndex
API.- Parameters:
dataSourceFieldName
- The name of the field in the data source. You must first create the index field using theUpdateIndex
API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateFieldFormat
The format for date fields in the data source. If the field specified in
DataSourceFieldName
is a date field, you must specify the date format. If the field is not a date field, an exception is thrown.- Parameters:
dateFieldFormat
- The format for date fields in the data source. If the field specified inDataSourceFieldName
is a date field, you must specify the date format. If the field is not a date field, an exception is thrown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexFieldName
The name of the index field to map to the data source field. The index field type must match the data source field type.
- Parameters:
indexFieldName
- The name of the index field to map to the data source field. The index field type must match the data source field type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-