public NetAppONTAPCluster withRecommendations(Recommendation... recommendations) {
        if (this.recommendations == null) {
            setRecommendations(new java.util.ArrayList<Recommendation>(recommendations.length));
        }
        for (Recommendation ele : recommendations) {
            this.recommendations.add(ele);
        }
        return this;
    }
<p>
The Amazon Web Services storage services that DataSync Discovery recommends for the cluster. For more
information, see <a
href="https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html"
>Recommendations provided by DataSync Discovery</a>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRecommendations(java.util.Collection)} or {@link #withRecommendations(java.util.Collection)} if you
want to override the existing values.
</p>

@param recommendations
       The Amazon Web Services storage services that DataSync Discovery recommends for the cluster. For more
       information, see <a
       href="https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html"
       >Recommendations provided by DataSync Discovery</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/NetAppONTAPCluster.java