public Snapshot withAccountsWithRestoreAccess(java.util.Collection<AccountWithRestoreAccess> accountsWithRestoreAccess) {
        setAccountsWithRestoreAccess(accountsWithRestoreAccess);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/Snapshot.java