@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceToIndexFieldMapping extends Object implements Serializable, Cloneable, StructuredPojo
Maps a column or attribute in the data source to an index field. You must first create the fields in the index using the UpdateIndex operation.
Constructor and Description |
---|
DataSourceToIndexFieldMapping() |
Modifier and Type | Method and Description |
---|---|
DataSourceToIndexFieldMapping |
clone() |
boolean |
equals(Object obj) |
String |
getDataSourceFieldName()
The name of the column or attribute in the data source.
|
String |
getDateFieldFormat()
The type of data stored in the column or attribute.
|
String |
getIndexFieldName()
The name of the field in the index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataSourceFieldName(String dataSourceFieldName)
The name of the column or attribute in the data source.
|
void |
setDateFieldFormat(String dateFieldFormat)
The type of data stored in the column or attribute.
|
void |
setIndexFieldName(String indexFieldName)
The name of the field in the index.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceToIndexFieldMapping |
withDataSourceFieldName(String dataSourceFieldName)
The name of the column or attribute in the data source.
|
DataSourceToIndexFieldMapping |
withDateFieldFormat(String dateFieldFormat)
The type of data stored in the column or attribute.
|
DataSourceToIndexFieldMapping |
withIndexFieldName(String indexFieldName)
The name of the field in the index.
|
public void setDataSourceFieldName(String dataSourceFieldName)
The name of the column or attribute in the data source.
dataSourceFieldName
- The name of the column or attribute in the data source.public String getDataSourceFieldName()
The name of the column or attribute in the data source.
public DataSourceToIndexFieldMapping withDataSourceFieldName(String dataSourceFieldName)
The name of the column or attribute in the data source.
dataSourceFieldName
- The name of the column or attribute in the data source.public void setDateFieldFormat(String dateFieldFormat)
The type of data stored in the column or attribute.
dateFieldFormat
- The type of data stored in the column or attribute.public String getDateFieldFormat()
The type of data stored in the column or attribute.
public DataSourceToIndexFieldMapping withDateFieldFormat(String dateFieldFormat)
The type of data stored in the column or attribute.
dateFieldFormat
- The type of data stored in the column or attribute.public void setIndexFieldName(String indexFieldName)
The name of the field in the index.
indexFieldName
- The name of the field in the index.public String getIndexFieldName()
The name of the field in the index.
public DataSourceToIndexFieldMapping withIndexFieldName(String indexFieldName)
The name of the field in the index.
indexFieldName
- The name of the field in the index.public String toString()
toString
in class Object
Object.toString()
public DataSourceToIndexFieldMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.