public ThirdPartyJobData withInputArtifacts(Artifact... inputArtifacts) {
        if (this.inputArtifacts == null) {
            setInputArtifacts(new java.util.ArrayList<Artifact>(inputArtifacts.length));
        }
        for (Artifact ele : inputArtifacts) {
            this.inputArtifacts.add(ele);
        }
        return this;
    }
<p>
The name of the artifact that is worked on by the action, if any. This name might be system-generated, such as
"MyApp", or it might be defined by the user when the action is created. The input artifact name must match the
name of an output artifact generated by an action in an earlier action or stage of the pipeline.
</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 of the artifact that is worked on by the action, if any. This name might be system-generated,
       such as "MyApp", or it might be defined by the user when the action is created. The input artifact name
       must match the name of an output artifact generated by an action in an earlier action or stage of the
       pipeline.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/ThirdPartyJobData.java