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

        this.accountIdsToAdd = new com.amazonaws.internal.SdkInternalList<String>(accountIdsToAdd);
    }
<p>
The Amazon Web Services users that should have access to the document. The account IDs can either be a group of
account IDs or <i>All</i>.
</p>

@param accountIdsToAdd
       The Amazon Web Services users that should have access to the document. The account IDs can either be a
       group of account IDs or <i>All</i>.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/ModifyDocumentPermissionRequest.java