code: public BatchGetImageResult withFailures(ImageFailure... failures) {
          if (this.failures == null) {
              setFailures(new java.util.ArrayList<ImageFailure>(failures.length));
          }
          for (ImageFailure ele : failures) {
              this.failures.add(ele);
          }
          return this;
      }
docs: <p>
  Any failures associated with the call.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setFailures(java.util.Collection)} or {@link #withFailures(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param failures
  Any failures associated with the call.
  @return Returns a reference to this object so that method calls can be chained together.