public void setTriggerEvents(java.util.Collection<String> triggerEvents) {
        if (triggerEvents == null) {
            this.triggerEvents = null;
            return;
        }

        this.triggerEvents = new com.amazonaws.internal.SdkInternalList<String>(triggerEvents);
    }
<p>
The event type or types for which notifications are triggered.
</p>

@param triggerEvents
       The event type or types for which notifications are triggered.
@see TriggerEventType
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/TriggerConfig.java