public BatchDataCaptureConfig withGenerateInferenceId(Boolean generateInferenceId) {
        setGenerateInferenceId(generateInferenceId);
        return this;
    }
<p>
Flag that indicates whether to append inference id to the output.
</p>

@param generateInferenceId
       Flag that indicates whether to append inference id to the output.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/BatchDataCaptureConfig.java