public ComponentRecommendation withConfigRecommendations(ConfigRecommendation... configRecommendations) {
        if (this.configRecommendations == null) {
            setConfigRecommendations(new java.util.ArrayList<ConfigRecommendation>(configRecommendations.length));
        }
        for (ConfigRecommendation ele : configRecommendations) {
            this.configRecommendations.add(ele);
        }
        return this;
    }
<p>
List of recommendations.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setConfigRecommendations(java.util.Collection)} or
{@link #withConfigRecommendations(java.util.Collection)} if you want to override the existing values.
</p>

@param configRecommendations
       List of recommendations.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/ComponentRecommendation.java