public NetworkInsightsAnalysis withAdditionalAccounts(String... additionalAccounts) {
        if (this.additionalAccounts == null) {
            setAdditionalAccounts(new com.amazonaws.internal.SdkInternalList<String>(additionalAccounts.length));
        }
        for (String ele : additionalAccounts) {
            this.additionalAccounts.add(ele);
        }
        return this;
    }
<p>
The member accounts that contain resources that the path can traverse.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAdditionalAccounts(java.util.Collection)} or {@link #withAdditionalAccounts(java.util.Collection)} if
you want to override the existing values.
</p>

@param additionalAccounts
       The member accounts that contain resources that the path can traverse.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/NetworkInsightsAnalysis.java