public RecommendationSummary withInferredWorkloadSavings(InferredWorkloadSaving... inferredWorkloadSavings) {
        if (this.inferredWorkloadSavings == null) {
            setInferredWorkloadSavings(new java.util.ArrayList<InferredWorkloadSaving>(inferredWorkloadSavings.length));
        }
        for (InferredWorkloadSaving ele : inferredWorkloadSavings) {
            this.inferredWorkloadSavings.add(ele);
        }
        return this;
    }
<p>
An array of objects that describes the estimated monthly saving amounts for the instances running on the
specified <code>inferredWorkloadTypes</code>. The array contains the top five savings opportunites for the
instances that run inferred workload types.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInferredWorkloadSavings(java.util.Collection)} or
{@link #withInferredWorkloadSavings(java.util.Collection)} if you want to override the existing values.
</p>

@param inferredWorkloadSavings
       An array of objects that describes the estimated monthly saving amounts for the instances running on the
       specified <code>inferredWorkloadTypes</code>. The array contains the top five savings opportunites for the
       instances that run inferred workload types.
@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/RecommendationSummary.java