public RespondDecisionTaskCompletedRequest withDecisions(Decision... decisions) {
        if (this.decisions == null) {
            setDecisions(new java.util.ArrayList<Decision>(decisions.length));
        }
        for (Decision ele : decisions) {
            this.decisions.add(ele);
        }
        return this;
    }
<p>
The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for
the <a>Decision</a> structure for details.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDecisions(java.util.Collection)} or {@link #withDecisions(java.util.Collection)} if you want to
override the existing values.
</p>

@param decisions
       The list of decisions (possibly empty) made by the decider while processing this decision task. See the
       docs for the <a>Decision</a> structure for details.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/RespondDecisionTaskCompletedRequest.java