code: public CachedMethods withItems(Method... items) {
          com.amazonaws.internal.SdkInternalList<String> itemsCopy = new com.amazonaws.internal.SdkInternalList<String>(items.length);
          for (Method value : items) {
              itemsCopy.add(value.toString());
          }
          if (getItems() == null) {
              setItems(itemsCopy);
          } else {
              getItems().addAll(itemsCopy);
          }
          return this;
      }
docs: <p>
  A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
  </p>
  
  @param items
  A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
  @return Returns a reference to this object so that method calls can be chained together.
  @see Method