code: public ActionDeclaration withOutputArtifacts(OutputArtifact... outputArtifacts) {
          if (this.outputArtifacts == null) {
              setOutputArtifacts(new java.util.ArrayList<OutputArtifact>(outputArtifacts.length));
          }
          for (OutputArtifact ele : outputArtifacts) {
              this.outputArtifacts.add(ele);
          }
          return this;
      }
docs: <p>
  The name or ID of the result of the action declaration, such as a test or build artifact.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setOutputArtifacts(java.util.Collection)} or {@link #withOutputArtifacts(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param outputArtifacts
  The name or ID of the result of the action declaration, such as a test or build artifact.
  @return Returns a reference to this object so that method calls can be chained together.