public PredefinedMetricSpecification withPredefinedMetricType(MetricType predefinedMetricType) {
        this.predefinedMetricType = predefinedMetricType.toString();
        return this;
    }
<p>
The metric type. The <code>ALBRequestCountPerTarget</code> metric type applies only to Spot Fleets and ECS
services.
</p>

@param predefinedMetricType
       The metric type. The <code>ALBRequestCountPerTarget</code> metric type applies only to Spot Fleets and ECS
       services.
@return Returns a reference to this object so that method calls can be chained together.
@see MetricType
aws-java-sdk-applicationautoscaling/src/main/java/com/amazonaws/services/applicationautoscaling/model/PredefinedMetricSpecification.java