public DescribeAffectedEntitiesForOrganizationResult withFailedSet(OrganizationAffectedEntitiesErrorItem... failedSet) {
        if (this.failedSet == null) {
            setFailedSet(new java.util.ArrayList<OrganizationAffectedEntitiesErrorItem>(failedSet.length));
        }
        for (OrganizationAffectedEntitiesErrorItem ele : failedSet) {
            this.failedSet.add(ele);
        }
        return this;
    }
<p>
A JSON set of elements of the failed response, including the <code>awsAccountId</code>, <code>errorMessage</code>, <code>errorName</code>, and <code>eventArn</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFailedSet(java.util.Collection)} or {@link #withFailedSet(java.util.Collection)} if you want to
override the existing values.
</p>

@param failedSet
       A JSON set of elements of the failed response, including the <code>awsAccountId</code>,
       <code>errorMessage</code>, <code>errorName</code>, and <code>eventArn</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-health/src/main/java/com/amazonaws/services/health/model/DescribeAffectedEntitiesForOrganizationResult.java