public ExportJobResponse withTotalPieces(Integer totalPieces) {
        setTotalPieces(totalPieces);
        return this;
    }
<p>
The total number of pieces that must be processed to complete the export job. Each piece consists of an
approximately equal portion of the endpoint definitions that are part of the export job.
</p>

@param totalPieces
       The total number of pieces that must be processed to complete the export job. Each piece consists of an
       approximately equal portion of the endpoint definitions that are part of the export job.
@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