public BatchGetMembershipDatasourcesResult withMembershipDatasources(MembershipDatasources... membershipDatasources) {
        if (this.membershipDatasources == null) {
            setMembershipDatasources(new java.util.ArrayList<MembershipDatasources>(membershipDatasources.length));
        }
        for (MembershipDatasources ele : membershipDatasources) {
            this.membershipDatasources.add(ele);
        }
        return this;
    }
<p>
Details on the data source package history for an member of the behavior graph.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMembershipDatasources(java.util.Collection)} or
{@link #withMembershipDatasources(java.util.Collection)} if you want to override the existing values.
</p>

@param membershipDatasources
       Details on the data source package history for an member of the behavior graph.
@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/BatchGetMembershipDatasourcesResult.java