public ExportJobResponse withFailedPieces(Integer failedPieces) {
        setFailedPieces(failedPieces);
        return this;
    }
<p>
The number of pieces that weren't processed successfully (failed) by the export job, as of the time of the
request.
</p>

@param failedPieces
       The number of pieces that weren't processed successfully (failed) by the export job, as of the time of the
       request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/ExportJobResponse.java