public PracticeRunConfiguration withOutcomeAlarms(ControlCondition... outcomeAlarms) {
        if (this.outcomeAlarms == null) {
            setOutcomeAlarms(new java.util.ArrayList<ControlCondition>(outcomeAlarms.length));
        }
        for (ControlCondition ele : outcomeAlarms) {
            this.outcomeAlarms.add(ele);
        }
        return this;
    }
<p>
The <i>outcome alarm</i> for practice runs is an alarm that you specify that ends a practice run when the alarm
is in an <code>ALARM</code> state.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOutcomeAlarms(java.util.Collection)} or {@link #withOutcomeAlarms(java.util.Collection)} if you want
to override the existing values.
</p>

@param outcomeAlarms
       The <i>outcome alarm</i> for practice runs is an alarm that you specify that ends a practice run when the
       alarm is in an <code>ALARM</code> state.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-arczonalshift/src/main/java/com/amazonaws/services/arczonalshift/model/PracticeRunConfiguration.java