code: public Policy withResourceTypeList(String... resourceTypeList) {
          if (this.resourceTypeList == null) {
              setResourceTypeList(new java.util.ArrayList<String>(resourceTypeList.length));
          }
          for (String ele : resourceTypeList) {
              this.resourceTypeList.add(ele);
          }
          return this;
      }
docs: <p>
  An array of <code>ResourceType</code>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setResourceTypeList(java.util.Collection)} or {@link #withResourceTypeList(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param resourceTypeList
  An array of <code>ResourceType</code>.
  @return Returns a reference to this object so that method calls can be chained together.