public GetAutoScalingGroupRecommendationsRequest withAccountIds(String... accountIds) {
        if (this.accountIds == null) {
            setAccountIds(new java.util.ArrayList<String>(accountIds.length));
        }
        for (String ele : accountIds) {
            this.accountIds.add(ele);
        }
        return this;
    }
<p>
The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.
</p>
<p>
If your account is the management account of an organization, use this parameter to specify the member account
for which you want to return Auto Scaling group recommendations.
</p>
<p>
Only one account ID can be specified per request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAccountIds(java.util.Collection)} or {@link #withAccountIds(java.util.Collection)} if you want to
override the existing values.
</p>

@param accountIds
       The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.</p>
       <p>
       If your account is the management account of an organization, use this parameter to specify the member
       account for which you want to return Auto Scaling group recommendations.
       </p>
       <p>
       Only one account ID can be specified per request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/GetAutoScalingGroupRecommendationsRequest.java