public InstanceRecommendation withRecommendationOptions(InstanceRecommendationOption... recommendationOptions) {
        if (this.recommendationOptions == null) {
            setRecommendationOptions(new java.util.ArrayList<InstanceRecommendationOption>(recommendationOptions.length));
        }
        for (InstanceRecommendationOption ele : recommendationOptions) {
            this.recommendationOptions.add(ele);
        }
        return this;
    }
<p>
An array of objects that describe the recommendation options for the instance.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRecommendationOptions(java.util.Collection)} or
{@link #withRecommendationOptions(java.util.Collection)} if you want to override the existing values.
</p>

@param recommendationOptions
       An array of objects that describe the recommendation options for the instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/InstanceRecommendation.java