code: public ActionDeclaration withInputArtifacts(InputArtifact... inputArtifacts) {
          if (this.inputArtifacts == null) {
              setInputArtifacts(new java.util.ArrayList<InputArtifact>(inputArtifacts.length));
          }
          for (InputArtifact ele : inputArtifacts) {
              this.inputArtifacts.add(ele);
          }
          return this;
      }
docs: <p>
  The name or ID of the artifact consumed by the action, 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 #setInputArtifacts(java.util.Collection)} or {@link #withInputArtifacts(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param inputArtifacts
  The name or ID of the artifact consumed by the action, such as a test or build artifact.
  @return Returns a reference to this object so that method calls can be chained together.