@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SalesforceStandardObjectConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies 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()
One or more objects that map fields in the standard object to Amazon Kendra index fields.
|
String |
getName()
The name of the standard object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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)
One or more objects that map fields in the standard object to Amazon Kendra index fields.
|
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)
One or more objects that map fields in the standard object to Amazon Kendra index fields.
|
SalesforceStandardObjectConfiguration |
withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
One or more objects that map fields in the standard object to Amazon Kendra index fields.
|
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.SalesforceStandardObjectNamepublic String getName()
The name of the standard object.
SalesforceStandardObjectNamepublic SalesforceStandardObjectConfiguration withName(String name)
The name of the standard object.
name - The name of the standard object.SalesforceStandardObjectNamepublic SalesforceStandardObjectConfiguration withName(SalesforceStandardObjectName name)
The name of the standard object.
name - The name of the standard object.SalesforceStandardObjectNamepublic 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()
One or more objects that map fields in the standard object to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.
public void setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
One or more objects that map fields in the standard object to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.
fieldMappings - One or more objects that map fields in the standard object to Amazon Kendra index fields. The index field
must exist before you can map a Salesforce field to it.public SalesforceStandardObjectConfiguration withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
One or more objects that map fields in the standard object to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.
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 - One or more objects that map fields in the standard object to Amazon Kendra index fields. The index field
must exist before you can map a Salesforce field to it.public SalesforceStandardObjectConfiguration withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
One or more objects that map fields in the standard object to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.
fieldMappings - One or more objects that map fields in the standard object to Amazon Kendra index fields. The index field
must exist before you can map a Salesforce field to it.public String toString()
toString in class ObjectObject.toString()public SalesforceStandardObjectConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.