code: public GetTemplateSummaryResult withDeclaredTransforms(String... declaredTransforms) {
          if (this.declaredTransforms == null) {
              setDeclaredTransforms(new com.amazonaws.internal.SdkInternalList<String>(declaredTransforms.length));
          }
          for (String ele : declaredTransforms) {
              this.declaredTransforms.add(ele);
          }
          return this;
      }
docs: <p>
  A list of the transforms that are declared in the template.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDeclaredTransforms(java.util.Collection)} or {@link #withDeclaredTransforms(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param declaredTransforms
  A list of the transforms that are declared in the template.
  @return Returns a reference to this object so that method calls can be chained together.