@Override
    public void setInputStream(InputStream inputStream) {
        this.inputStream = inputStream;
    }
Sets the stream containing the data to upload for the new part.

@param inputStream
           the stream containing the data to upload for the new part.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/UploadPartRequest.java