public CreateResponsePlanRequest withEngagements(String... engagements) {
        if (this.engagements == null) {
            setEngagements(new java.util.ArrayList<String>(engagements.length));
        }
        for (String ele : engagements) {
            this.engagements.add(ele);
        }
        return this;
    }
<p>
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an
incident.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEngagements(java.util.Collection)} or {@link #withEngagements(java.util.Collection)} if you want to
override the existing values.
</p>

@param engagements
       The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during
       an incident.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssmincidents/src/main/java/com/amazonaws/services/ssmincidents/model/CreateResponsePlanRequest.java