public SubmitAttachmentStateChangesRequest withAttachments(java.util.Collection<AttachmentStateChange> attachments) {
        setAttachments(attachments);
        return this;
    }
<p>
Any attachments associated with the state change request.
</p>

@param attachments
       Any attachments associated with the state change request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/SubmitAttachmentStateChangesRequest.java