public void setLastPart(boolean isLastPart) {
        this.isLastPart = isLastPart;
    }
Marks this part as the last part being uploaded in a multipart upload.

@param isLastPart
           Whether or not this is the last part being uploaded in a
           multipart upload.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/UploadPartRequest.java