code: public FailedRemediationBatch withFailedItems(RemediationConfiguration... failedItems) {
          if (this.failedItems == null) {
              setFailedItems(new com.amazonaws.internal.SdkInternalList<RemediationConfiguration>(failedItems.length));
          }
          for (RemediationConfiguration ele : failedItems) {
              this.failedItems.add(ele);
          }
          return this;
      }
docs: <p>
  Returns remediation configurations 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 configurations of the failed items.
  @return Returns a reference to this object so that method calls can be chained together.