code: public JobResource withS3Resources(S3Resource... s3Resources) {
          if (this.s3Resources == null) {
              setS3Resources(new java.util.ArrayList<S3Resource>(s3Resources.length));
          }
          for (S3Resource ele : s3Resources) {
              this.s3Resources.add(ele);
          }
          return this;
      }
docs: <p>
  An array of <code>S3Resource</code> objects.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setS3Resources(java.util.Collection)} or {@link #withS3Resources(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param s3Resources
  An array of <code>S3Resource</code> objects.
  @return Returns a reference to this object so that method calls can be chained together.