public ResolveComponentCandidatesResult withResolvedComponentVersions(ResolvedComponentVersion... resolvedComponentVersions) {
        if (this.resolvedComponentVersions == null) {
            setResolvedComponentVersions(new java.util.ArrayList<ResolvedComponentVersion>(resolvedComponentVersions.length));
        }
        for (ResolvedComponentVersion ele : resolvedComponentVersions) {
            this.resolvedComponentVersions.add(ele);
        }
        return this;
    }
<p>
A list of components that meet the requirements that you specify in the request. This list includes each
component's recipe that you can use to install the component.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setResolvedComponentVersions(java.util.Collection)} or
{@link #withResolvedComponentVersions(java.util.Collection)} if you want to override the existing values.
</p>

@param resolvedComponentVersions
       A list of components that meet the requirements that you specify in the request. This list includes each
       component's recipe that you can use to install the component.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrassv2/src/main/java/com/amazonaws/services/greengrassv2/model/ResolveComponentCandidatesResult.java