public void setAccountsWithRestoreAccess(java.util.Collection<AccountWithRestoreAccess> accountsWithRestoreAccess) {
        if (accountsWithRestoreAccess == null) {
            this.accountsWithRestoreAccess = null;
            return;
        }

        this.accountsWithRestoreAccess = new com.amazonaws.internal.SdkInternalList<AccountWithRestoreAccess>(accountsWithRestoreAccess);
    }
<p>
A list of the Amazon Web Services accounts authorized to restore the snapshot. Returns <code>null</code> if no
accounts are authorized. Visible only to the snapshot owner.
</p>

@param accountsWithRestoreAccess
       A list of the Amazon Web Services accounts authorized to restore the snapshot. Returns <code>null</code>
       if no accounts are authorized. Visible only to the snapshot owner.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/Snapshot.java