public void setAttachmentStatuses(java.util.Collection<VolumeStatusAttachmentStatus> attachmentStatuses) {
        if (attachmentStatuses == null) {
            this.attachmentStatuses = null;
            return;
        }

        this.attachmentStatuses = new com.amazonaws.internal.SdkInternalList<VolumeStatusAttachmentStatus>(attachmentStatuses);
    }
<p>
Information about the instances to which the volume is attached.
</p>

@param attachmentStatuses
       Information about the instances to which the volume is attached.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusItem.java