public ScalingInstruction withTargetTrackingConfigurations(TargetTrackingConfiguration... targetTrackingConfigurations) {
        if (this.targetTrackingConfigurations == null) {
            setTargetTrackingConfigurations(new java.util.ArrayList<TargetTrackingConfiguration>(targetTrackingConfigurations.length));
        }
        for (TargetTrackingConfiguration ele : targetTrackingConfigurations) {
            this.targetTrackingConfigurations.add(ele);
        }
        return this;
    }
<p>
The target tracking configurations (up to 10). Each of these structures must specify a unique scaling metric and
a target value for the metric.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTargetTrackingConfigurations(java.util.Collection)} or
{@link #withTargetTrackingConfigurations(java.util.Collection)} if you want to override the existing values.
</p>

@param targetTrackingConfigurations
       The target tracking configurations (up to 10). Each of these structures must specify a unique scaling
       metric and a target value for the metric.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscalingplans/src/main/java/com/amazonaws/services/autoscalingplans/model/ScalingInstruction.java