public VolumeStatusItem withAttachmentStatuses(java.util.Collection<VolumeStatusAttachmentStatus> attachmentStatuses) {
        setAttachmentStatuses(attachmentStatuses);
        return this;
    }
<p>
Information about the instances to which the volume is attached.
</p>

@param attachmentStatuses
       Information about the instances to which the volume is attached.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusItem.java