public CreateAutoMLJobRequest withProblemType(ProblemType problemType) {
        this.problemType = problemType.toString();
        return this;
    }
<p>
Defines the type of supervised learning problem available for the candidates. For more information, see <a href=
"https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-datasets-problem-types.html#autopilot-problem-types">
SageMaker Autopilot problem types</a>.
</p>

@param problemType
       Defines the type of supervised learning problem available for the candidates. For more information, see <a
       href=
       "https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-datasets-problem-types.html#autopilot-problem-types"
       > SageMaker Autopilot problem types</a>.
@return Returns a reference to this object so that method calls can be chained together.
@see ProblemType
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateAutoMLJobRequest.java