code: public void setAccountDetails(java.util.Collection<AccountDetail> accountDetails) {
          if (accountDetails == null) {
              this.accountDetails = null;
              return;
          }
  
          this.accountDetails = new java.util.ArrayList<AccountDetail>(accountDetails);
      }
docs: A list of account ID and email address pairs of the accounts that you want to associate with the master GuardDuty
  account.
  
  @param accountDetails
  A list of account ID and email address pairs of the accounts that you want to associate with the master
  GuardDuty account.