@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SalesforceStandardObjectConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies confguration 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 titleB.
|
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)
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 titleB.
|
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 titleB.
|
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.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 titleB.
documentTitleFieldName
- The name of the field in the standard object table that contains the document titleB.public String getDocumentTitleFieldName()
The name of the field in the standard object table that contains the document titleB.
public SalesforceStandardObjectConfiguration withDocumentTitleFieldName(String documentTitleFieldName)
The name of the field in the standard object table that contains the document titleB.
documentTitleFieldName
- The name of the field in the standard object table that contains the document titleB.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 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.