code: public void setResources(java.util.Collection<String> resources) {
          if (resources == null) {
              this.resources = null;
              return;
          }
  
          this.resources = new java.util.ArrayList<String>(resources);
      }
docs: <p>
  The resources for which the principal is being authorized to perform the specified action.
  </p>
  
  @param resources
  The resources for which the principal is being authorized to perform the specified action.