public CompositeAlarm withAlarmActions(java.util.Collection<String> alarmActions) {
        setAlarmActions(alarmActions);
        return this;
    }
<p>
The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is
specified as an Amazon Resource Name (ARN).
</p>

@param alarmActions
       The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is
       specified as an Amazon Resource Name (ARN).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/CompositeAlarm.java