public CompositeAlarm withOKActions(String... oKActions) {
        if (this.oKActions == null) {
            setOKActions(new com.amazonaws.internal.SdkInternalList<String>(oKActions.length));
        }
        for (String ele : oKActions) {
            this.oKActions.add(ele);
        }
        return this;
    }
<p>
The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified
as an Amazon Resource Name (ARN).
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOKActions(java.util.Collection)} or {@link #withOKActions(java.util.Collection)} if you want to
override the existing values.
</p>

@param oKActions
       The actions to execute when this alarm transitions to the OK 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