public void setAutoScalingGroups(java.util.Collection<String> autoScalingGroups) {
        if (autoScalingGroups == null) {
            this.autoScalingGroups = null;
            return;
        }

        this.autoScalingGroups = new com.amazonaws.internal.SdkInternalList<String>(autoScalingGroups);
    }
<p>
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
</p>

@param autoScalingGroups
       The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green
       deployment.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/TargetInstances.java