public AutomationExecution withTriggeredAlarms(java.util.Collection<AlarmStateInformation> triggeredAlarms) {
        setTriggeredAlarms(triggeredAlarms);
        return this;
    }
<p>
The CloudWatch alarm that was invoked by the automation.
</p>

@param triggeredAlarms
       The CloudWatch alarm that was invoked by the automation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/AutomationExecution.java