public GetEBSVolumeRecommendationsRequest withVolumeArns(String... volumeArns) {
        if (this.volumeArns == null) {
            setVolumeArns(new java.util.ArrayList<String>(volumeArns.length));
        }
        for (String ele : volumeArns) {
            this.volumeArns.add(ele);
        }
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setVolumeArns(java.util.Collection)} or {@link #withVolumeArns(java.util.Collection)} if you want to
override the existing values.
</p>

@param volumeArns
       The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
@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/GetEBSVolumeRecommendationsRequest.java