public Instance withEbsVolumes(java.util.Collection<EbsVolume> ebsVolumes) {
        setEbsVolumes(ebsVolumes);
        return this;
    }
<p>
The list of Amazon EBS volumes that are attached to this instance.
</p>

@param ebsVolumes
       The list of Amazon EBS volumes that are attached to this instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/Instance.java