public void setAccountIdsToRemove(java.util.Collection<String> accountIdsToRemove) {
        if (accountIdsToRemove == null) {
            this.accountIdsToRemove = null;
            return;
        }

        this.accountIdsToRemove = new com.amazonaws.internal.SdkInternalList<String>(accountIdsToRemove);
    }
<p>
The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user can
either be a group of account IDs or <i>All</i>. This action has a higher priority than
<code>AccountIdsToAdd</code>. If you specify an ID to add and the same ID to remove, the system removes access to
the document.
</p>

@param accountIdsToRemove
       The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services
       user can either be a group of account IDs or <i>All</i>. This action has a higher priority than
       <code>AccountIdsToAdd</code>. If you specify an ID to add and the same ID to remove, the system removes
       access to the document.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/ModifyDocumentPermissionRequest.java