I've been using Amazon Glacier via the Amazon Java SDK.
I'm struck that parameters are passed around via an object, rather than as individual parameters.
For example, to retrieve the output of a job, where the parameters are Vault, JobId,range, the following technique is used:
client.getJobOutput(new GetJobOutputRequest(Vault, JobId, range));
Instead of:
client.getJobOutput(Vault, JobId, range);
What are the pros and cons of the two approaches?
Pros:
Cons:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With