code: public ListArtifactsResult withArtifacts(Artifact... artifacts) {
          if (this.artifacts == null) {
              setArtifacts(new java.util.ArrayList<Artifact>(artifacts.length));
          }
          for (Artifact ele : artifacts) {
              this.artifacts.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the artifacts.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setArtifacts(java.util.Collection)} or {@link #withArtifacts(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param artifacts
  Information about the artifacts.
  @return Returns a reference to this object so that method calls can be chained together.