JobStatusMonitor jobStatusMonitor = null;
GetJobOutputResult jobOutputResult = null;
try {
jobStatusMonitor = new JobStatusMonitor(credentialsProvider, clientConfiguration);
JobParameters jobParameters = new JobParameters()
.withArchiveId(archiveId)
.withType("archive-retrieval")
.withSNSTopic(jobStatusMonitor.getTopicArn());
InitiateJobResult archiveRetrievalResult =
glacier.initiateJob(new InitiateJobRequest()