@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SalesforceStandardObjectConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information for indexing a single standard object.
Constructor and Description |
---|
SalesforceStandardObjectConfiguration() |
Modifier and Type | Method and Description |
---|---|
SalesforceStandardObjectConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getDocumentDataFieldName()
The name of the field in the standard object table that contains the document contents.
|
String |
getDocumentTitleFieldName()
The name of the field in the standard object table that contains the document title.
|
List<DataSourceToIndexFieldMapping> |
getFieldMappings()
Maps attributes or field names of the standard object to Amazon Kendra index field names.
|
String |
getName()
The name of the standard object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDocumentDataFieldName(String documentDataFieldName)
The name of the field in the standard object table that contains the document contents.
|
void |
setDocumentTitleFieldName(String documentTitleFieldName)
The name of the field in the standard object table that contains the document title.
|
void |
setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Maps attributes or field names of the standard object to Amazon Kendra index field names.
|
void |
setName(String name)
The name of the standard object.
|
String |
toString()
Returns a string representation of this object.
|
SalesforceStandardObjectConfiguration |
withDocumentDataFieldName(String documentDataFieldName)
The name of the field in the standard object table that contains the document contents.
|
SalesforceStandardObjectConfiguration |
withDocumentTitleFieldName(String documentTitleFieldName)
The name of the field in the standard object table that contains the document title.
|
SalesforceStandardObjectConfiguration |
withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Maps attributes or field names of the standard object to Amazon Kendra index field names.
|
SalesforceStandardObjectConfiguration |
withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Maps attributes or field names of the standard object to Amazon Kendra index field names.
|
SalesforceStandardObjectConfiguration |
withName(SalesforceStandardObjectName name)
The name of the standard object.
|
SalesforceStandardObjectConfiguration |
withName(String name)
The name of the standard object.
|
public SalesforceStandardObjectConfiguration()
public void setName(String name)
The name of the standard object.
name
- The name of the standard object.SalesforceStandardObjectName
public String getName()
The name of the standard object.
SalesforceStandardObjectName
public SalesforceStandardObjectConfiguration withName(String name)
The name of the standard object.
name
- The name of the standard object.SalesforceStandardObjectName
public SalesforceStandardObjectConfiguration withName(SalesforceStandardObjectName name)
The name of the standard object.
name
- The name of the standard object.SalesforceStandardObjectName
public void setDocumentDataFieldName(String documentDataFieldName)
The name of the field in the standard object table that contains the document contents.
documentDataFieldName
- The name of the field in the standard object table that contains the document contents.public String getDocumentDataFieldName()
The name of the field in the standard object table that contains the document contents.
public SalesforceStandardObjectConfiguration withDocumentDataFieldName(String documentDataFieldName)
The name of the field in the standard object table that contains the document contents.
documentDataFieldName
- The name of the field in the standard object table that contains the document contents.public void setDocumentTitleFieldName(String documentTitleFieldName)
The name of the field in the standard object table that contains the document title.
documentTitleFieldName
- The name of the field in the standard object table that contains the document title.public String getDocumentTitleFieldName()
The name of the field in the standard object table that contains the document title.
public SalesforceStandardObjectConfiguration withDocumentTitleFieldName(String documentTitleFieldName)
The name of the field in the standard object table that contains the document title.
documentTitleFieldName
- The name of the field in the standard object table that contains the document title.public List<DataSourceToIndexFieldMapping> getFieldMappings()
Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Salesforce fields. For more information, see Mapping data source fields. The
Salesforce data source field names must exist in your Salesforce custom metadata.
UpdateIndex
API before you map to Salesforce fields. For more
information, see Mapping data
source fields. The Salesforce data source field names must exist in your Salesforce custom metadata.public void setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Salesforce fields. For more information, see Mapping data source fields. The
Salesforce data source field names must exist in your Salesforce custom metadata.
fieldMappings
- Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Salesforce fields. For more information,
see Mapping data source
fields. The Salesforce data source field names must exist in your Salesforce custom metadata.public SalesforceStandardObjectConfiguration withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Salesforce fields. For more information, see Mapping data source fields. The
Salesforce data source field names must exist in your Salesforce custom metadata.
NOTE: This method appends the values to the existing list (if any). Use
setFieldMappings(java.util.Collection)
or withFieldMappings(java.util.Collection)
if you want
to override the existing values.
fieldMappings
- Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Salesforce fields. For more information,
see Mapping data source
fields. The Salesforce data source field names must exist in your Salesforce custom metadata.public SalesforceStandardObjectConfiguration withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Salesforce fields. For more information, see Mapping data source fields. The
Salesforce data source field names must exist in your Salesforce custom metadata.
fieldMappings
- Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Salesforce fields. For more information,
see Mapping data source
fields. The Salesforce data source field names must exist in your Salesforce custom metadata.public String toString()
toString
in class Object
Object.toString()
public SalesforceStandardObjectConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.