code: public ListTypesResult withTypes(Type... types) {
          if (this.types == null) {
              setTypes(new java.util.ArrayList<Type>(types.length));
          }
          for (Type ele : types) {
              this.types.add(ele);
          }
          return this;
      }
docs: <p>
  The <code>Type</code> objects.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTypes(java.util.Collection)} or {@link #withTypes(java.util.Collection)} if you want to override the
  existing values.
  </p>
  
  @param types
  The <code>Type</code> objects.
  @return Returns a reference to this object so that method calls can be chained together.