public UploadPartRequest withPartNumber(int partNumber) {
        this.partNumber = partNumber;
        return this;
    }
Sets the part number describing this part's position relative to the
other parts in the multipart upload. Part number must be between 1 and
10,000 (inclusive).
<p>
Returns this updated UploadPartRequest object so that additional method
calls can be chained together.

@param partNumber
           the part number describing this part's position relative to
           the other parts in the multipart upload. Part number must be
           between 1 and 10,000 (inclusive).

@return This updated UploadPartRequest object.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/UploadPartRequest.java