public ActionDeclaration withInputArtifacts(java.util.Collection<InputArtifact> inputArtifacts) {
        setInputArtifacts(inputArtifacts);
        return this;
    }
<p>
The name or ID of the artifact consumed by the action, such as a test or build artifact.
</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.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/ActionDeclaration.java