public PredictiveScalingPredefinedMetricPair withPredefinedMetricType(PredefinedMetricPairType predefinedMetricType) {
        this.predefinedMetricType = predefinedMetricType.toString();
        return this;
    }
<p>
Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load
metric and one is a scaling metric. For example, if the metric type is <code>ASGCPUUtilization</code>, the Auto
Scaling group's total CPU metric is used as the load metric, and the average CPU metric is used for the scaling
metric.
</p>

@param predefinedMetricType
       Indicates which metrics to use. There are two different types of metrics for each metric type: one is a
       load metric and one is a scaling metric. For example, if the metric type is <code>ASGCPUUtilization</code>
       , the Auto Scaling group's total CPU metric is used as the load metric, and the average CPU metric is used
       for the scaling metric.
@return Returns a reference to this object so that method calls can be chained together.
@see PredefinedMetricPairType
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/PredictiveScalingPredefinedMetricPair.java