code: public CreateFlowLogsResult withUnsuccessful(UnsuccessfulItem... unsuccessful) {
          if (this.unsuccessful == null) {
              setUnsuccessful(new com.amazonaws.internal.SdkInternalList<UnsuccessfulItem>(unsuccessful.length));
          }
          for (UnsuccessfulItem ele : unsuccessful) {
              this.unsuccessful.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the flow logs that could not be created successfully.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setUnsuccessful(java.util.Collection)} or {@link #withUnsuccessful(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param unsuccessful
  Information about the flow logs that could not be created successfully.
  @return Returns a reference to this object so that method calls can be chained together.