code: public void setAllowedPrincipals(java.util.Collection<AllowedPrincipal> allowedPrincipals) {
          if (allowedPrincipals == null) {
              this.allowedPrincipals = null;
              return;
          }
  
          this.allowedPrincipals = new com.amazonaws.internal.SdkInternalList<AllowedPrincipal>(allowedPrincipals);
      }
docs: <p>
  Information about one or more allowed principals.
  </p>
  
  @param allowedPrincipals
  Information about one or more allowed principals.