public BatchCreateDelegationByAssessmentResult withDelegations(Delegation... delegations) {
        if (this.delegations == null) {
            setDelegations(new java.util.ArrayList<Delegation>(delegations.length));
        }
        for (Delegation ele : delegations) {
            this.delegations.add(ele);
        }
        return this;
    }
<p>
The delegations that are associated with the assessment.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDelegations(java.util.Collection)} or {@link #withDelegations(java.util.Collection)} if you want to
override the existing values.
</p>

@param delegations
       The delegations that are associated with the assessment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-auditmanager/src/main/java/com/amazonaws/services/auditmanager/model/BatchCreateDelegationByAssessmentResult.java