public IdMappingRuleBasedProperties withRecordMatchingModel(RecordMatchingModel recordMatchingModel) {
        this.recordMatchingModel = recordMatchingModel.toString();
        return this;
    }
<p>
The type of matching record that is allowed to be used in an ID mapping workflow.
</p>
<p>
If the value is set to <code>ONE_SOURCE_TO_ONE_TARGET</code>, only one record in the source can be matched to the
same record in the target.
</p>
<p>
If the value is set to <code>MANY_SOURCE_TO_ONE_TARGET</code>, multiple records in the source can be matched to
one record in the target.
</p>

@param recordMatchingModel
       The type of matching record that is allowed to be used in an ID mapping workflow. </p>
       <p>
       If the value is set to <code>ONE_SOURCE_TO_ONE_TARGET</code>, only one record in the source can be matched
       to the same record in the target.
       </p>
       <p>
       If the value is set to <code>MANY_SOURCE_TO_ONE_TARGET</code>, multiple records in the source can be
       matched to one record in the target.
@return Returns a reference to this object so that method calls can be chained together.
@see RecordMatchingModel
aws-java-sdk-entityresolution/src/main/java/com/amazonaws/services/entityresolution/model/IdMappingRuleBasedProperties.java