public void setEvents(java.util.Collection<ResourceSyncEvent> events) {
        if (events == null) {
            this.events = null;
            return;
        }

        this.events = new java.util.ArrayList<ResourceSyncEvent>(events);
    }
<p>
An array of events with detail data.
</p>

@param events
       An array of events with detail data.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/ResourceSyncAttempt.java