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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataSourceToIndexFieldMapping.BuilderdataSourceFieldName(String dataSourceFieldName)The name of the field in the data source.DataSourceToIndexFieldMapping.BuilderdateFieldFormat(String dateFieldFormat)The format for date fields in the data source.DataSourceToIndexFieldMapping.BuilderindexFieldName(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 Detail
-
dataSourceFieldName
DataSourceToIndexFieldMapping.Builder dataSourceFieldName(String dataSourceFieldName)
The name of the field in the data source. You must first create the index field using the
UpdateIndexAPI.- Parameters:
dataSourceFieldName- The name of the field in the data source. You must first create the index field using theUpdateIndexAPI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateFieldFormat
DataSourceToIndexFieldMapping.Builder dateFieldFormat(String dateFieldFormat)
The format for date fields in the data source. If the field specified in
DataSourceFieldNameis 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 inDataSourceFieldNameis 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
DataSourceToIndexFieldMapping.Builder indexFieldName(String 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.
-
-