public BatchAssociateResourceResult withFailedItems(java.util.Collection<FailedItem> failedItems) {
        setFailedItems(failedItems);
        return this;
    }
<p>
The resources that failed to associate to the resource set.
</p>

@param failedItems
       The resources that failed to associate to the resource set.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fms/src/main/java/com/amazonaws/services/fms/model/BatchAssociateResourceResult.java