@Override
    public void setFile(File file) {
        this.file = file;
    }
Sets the file containing the data to upload. Exactly one File or
InputStream must be specified as the input to this operation.

@param file
           The file containing the data to upload. Exactly one File or
           InputStream must be specified as the input to this operation.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/UploadPartRequest.java