public String getTask() {
        return this.task;
    }
<p>
The machine learning task your model package accomplishes. Common machine learning tasks include object detection
and image classification.
</p>

@return The machine learning task your model package accomplishes. Common machine learning tasks include object
        detection and image classification.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ModelPackage.java