public ListComponentsResult withComponents(java.util.Collection<ComponentSummary> components) {
        setComponents(components);
        return this;
    }
<p>
An array of components with summary data.
</p>

@param components
       An array of components with summary data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/ListComponentsResult.java