public TaskConfig withEntityRecognitionConfig(EntityRecognitionConfig entityRecognitionConfig) {
        setEntityRecognitionConfig(entityRecognitionConfig);
        return this;
    }
<p>
Configuration required for an entity recognition model.
</p>

@param entityRecognitionConfig
       Configuration required for an entity recognition model.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TaskConfig.java