public FailedDeleteRemediationExceptionsBatch withFailedItems(RemediationExceptionResourceKey... failedItems) {
        if (this.failedItems == null) {
            setFailedItems(new com.amazonaws.internal.SdkInternalList<RemediationExceptionResourceKey>(failedItems.length));
        }
        for (RemediationExceptionResourceKey ele : failedItems) {
            this.failedItems.add(ele);
        }
        return this;
    }
<p>
Returns remediation exception resource key object of the failed items.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFailedItems(java.util.Collection)} or {@link #withFailedItems(java.util.Collection)} if you want to
override the existing values.
</p>

@param failedItems
       Returns remediation exception resource key object of the failed items.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/FailedDeleteRemediationExceptionsBatch.java