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