code: public void setAccountsWithRestoreAccess(java.util.Collection<AccountWithRestoreAccess> accountsWithRestoreAccess) {
          if (accountsWithRestoreAccess == null) {
              this.accountsWithRestoreAccess = null;
              return;
          }
  
          this.accountsWithRestoreAccess = new com.amazonaws.internal.SdkInternalList<AccountWithRestoreAccess>(accountsWithRestoreAccess);
      }
docs: <p>
  A list of the AWS customer 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 AWS customer accounts authorized to restore the snapshot. Returns <code>null</code> if no
  accounts are authorized. Visible only to the snapshot owner.