public void setType(String type) {
        this.type = type;
    }
<p>
The type of metric with the best result.
</p>

@param type
       The type of metric with the best result.
@see AutoMLJobObjectiveType
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/FinalAutoMLJobObjectiveMetric.java