public BatchAssociateResourcesToCustomLineItemResult withSuccessfullyAssociatedResources(
            AssociateResourceResponseElement... successfullyAssociatedResources) {
        if (this.successfullyAssociatedResources == null) {
            setSuccessfullyAssociatedResources(new java.util.ArrayList<AssociateResourceResponseElement>(successfullyAssociatedResources.length));
        }
        for (AssociateResourceResponseElement ele : successfullyAssociatedResources) {
            this.successfullyAssociatedResources.add(ele);
        }
        return this;
    }
<p>
A list of <code>AssociateResourceResponseElement</code> for each resource that's been associated to a percentage
custom line item successfully.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSuccessfullyAssociatedResources(java.util.Collection)} or
{@link #withSuccessfullyAssociatedResources(java.util.Collection)} if you want to override the existing values.
</p>

@param successfullyAssociatedResources
       A list of <code>AssociateResourceResponseElement</code> for each resource that's been associated to a
       percentage custom line item successfully.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-billingconductor/src/main/java/com/amazonaws/services/billingconductor/model/BatchAssociateResourcesToCustomLineItemResult.java