public UpdateCrossAccountAttachmentRequest withRemovePrincipals(String... removePrincipals) {
        if (this.removePrincipals == null) {
            setRemovePrincipals(new java.util.ArrayList<String>(removePrincipals.length));
        }
        for (String ele : removePrincipals) {
            this.removePrincipals.add(ele);
        }
        return this;
    }
<p>
The principals to remove from the cross-account attachment. A principal is an account or the Amazon Resource Name
(ARN) of an accelerator that the attachment gives permission to work with resources from another account. The
resources are also listed in the attachment.
</p>
<p>
To remove more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRemovePrincipals(java.util.Collection)} or {@link #withRemovePrincipals(java.util.Collection)} if you
want to override the existing values.
</p>

@param removePrincipals
       The principals to remove from the cross-account attachment. A principal is an account or the Amazon
       Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from
       another account. The resources are also listed in the attachment.</p>
       <p>
       To remove more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/UpdateCrossAccountAttachmentRequest.java