public void setFieldMappings(java.util.Collection<DataSourceToIndexFieldMapping> fieldMappings) {
        if (fieldMappings == null) {
            this.fieldMappings = null;
            return;
        }

        this.fieldMappings = new java.util.ArrayList<DataSourceToIndexFieldMapping>(fieldMappings);
    }
<p>
One or more objects that map fields in attachments to Amazon Kendra index fields.
</p>

@param fieldMappings
       One or more objects that map fields in attachments to Amazon Kendra index fields.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/SalesforceStandardObjectAttachmentConfiguration.java