public void setMaxRecordCount(Integer maxRecordCount) {
        this.maxRecordCount = maxRecordCount;
    }
<p>
The maximum number of records in a request that the model container can process when querying the model container
for the predictions of a <a href=
"https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-online-explainability-create-endpoint.html#clarify-online-explainability-create-endpoint-synthetic"
>synthetic dataset</a>. A record is a unit of input data that inference can be made on, for example, a single
line in CSV data. If <code>MaxRecordCount</code> is <code>1</code>, the model container expects one record per
request. A value of 2 or greater means that the model expects batch requests, which can reduce overhead and speed
up the inferencing process. If this parameter is not provided, the explainer will tune the record count per
request according to the model container's capacity at runtime.
</p>

@param maxRecordCount
       The maximum number of records in a request that the model container can process when querying the model
       container for the predictions of a <a href=
       "https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-online-explainability-create-endpoint.html#clarify-online-explainability-create-endpoint-synthetic"
       >synthetic dataset</a>. A record is a unit of input data that inference can be made on, for example, a
       single line in CSV data. If <code>MaxRecordCount</code> is <code>1</code>, the model container expects one
       record per request. A value of 2 or greater means that the model expects batch requests, which can reduce
       overhead and speed up the inferencing process. If this parameter is not provided, the explainer will tune
       the record count per request according to the model container's capacity at runtime.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ClarifyInferenceConfig.java