public Component withParameters(ComponentParameterDetail... parameters) {
        if (this.parameters == null) {
            setParameters(new java.util.ArrayList<ComponentParameterDetail>(parameters.length));
        }
        for (ComponentParameterDetail ele : parameters) {
            this.parameters.add(ele);
        }
        return this;
    }
<p>
Contains parameter details for each of the parameters that the component document defined for the component.
</p>
<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.
</p>

@param parameters
       Contains parameter details for each of the parameters that the component document defined for the
       component.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/Component.java