public TargetTrackingConfiguration withPredefinedMetricSpecification(PredefinedMetricSpecification predefinedMetricSpecification) {
        setPredefinedMetricSpecification(predefinedMetricSpecification);
        return this;
    }
<p>
A predefined metric. You must specify either a predefined metric or a customized metric.
</p>

@param predefinedMetricSpecification
       A predefined metric. You must specify either a predefined metric or a customized metric.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/TargetTrackingConfiguration.java