public DescribeComputeEnvironmentsRequest withComputeEnvironments(String... computeEnvironments) {
        if (this.computeEnvironments == null) {
            setComputeEnvironments(new java.util.ArrayList<String>(computeEnvironments.length));
        }
        for (String ele : computeEnvironments) {
            this.computeEnvironments.add(ele);
        }
        return this;
    }
<p>
A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setComputeEnvironments(java.util.Collection)} or {@link #withComputeEnvironments(java.util.Collection)}
if you want to override the existing values.
</p>

@param computeEnvironments
       A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/DescribeComputeEnvironmentsRequest.java