public DeleteMembersRequest 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 list of Amazon Web Services account identifiers for the member accounts to remove from the behavior graph.
You can remove up to 50 member accounts at a time.
</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 list of Amazon Web Services account identifiers for the member accounts to remove from the behavior
       graph. You can remove up to 50 member accounts at a time.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-detective/src/main/java/com/amazonaws/services/detective/model/DeleteMembersRequest.java