/**
  * A list of <code>TemplateParameter</code> structures.
  *
  * <p>Returns a reference to this object so that method calls can be chained together.
  *
  * @param parameters A list of <code>TemplateParameter</code> structures.
  * @return A reference to this updated object so that method calls can be chained together.
  */
 public ValidateTemplateResult withParameters(TemplateParameter... parameters) {
   if (getParameters() == null)
     setParameters(new java.util.ArrayList<TemplateParameter>(parameters.length));
   for (TemplateParameter value : parameters) {
     getParameters().add(value);
   }
   return this;
 }
 /**
  * A list of <code>TemplateParameter</code> structures.
  *
  * <p><b>NOTE:</b> This method appends the values to the existing list (if any). Use {@link
  * #setParameters(java.util.Collection)} or {@link #withParameters(java.util.Collection)} if you
  * want to override the existing values.
  *
  * @param parameters A list of <code>TemplateParameter</code> structures.
  * @return Returns a reference to this object so that method calls can be chained together.
  */
 public ValidateTemplateResult withParameters(TemplateParameter... parameters) {
   if (this.parameters == null) {
     setParameters(
         new com.amazonaws.internal.SdkInternalList<TemplateParameter>(parameters.length));
   }
   for (TemplateParameter ele : parameters) {
     this.parameters.add(ele);
   }
   return this;
 }
 /**
  * A list of <code>TemplateParameter</code> structures.
  *
  * @param parameters A list of <code>TemplateParameter</code> structures.
  * @return Returns a reference to this object so that method calls can be chained together.
  */
 public ValidateTemplateResult withParameters(java.util.Collection<TemplateParameter> parameters) {
   setParameters(parameters);
   return this;
 }