I use the Amazon Glacier through the Amazon Java SDK.
I am amazed that the parameters are passed through the object, and not as separate parameters.
For example, to obtain the result of a job, where the parameters are Vault, JobId, range, the following method is used:
client.getJobOutput(new GetJobOutputRequest(Vault, JobId, range));
Instead:
client.getJobOutput(Vault, JobId, range);
What are the pros and cons of the two approaches?
java amazon-web-services amazon-glacier
Alan
source share