Package com.amazonaws.services.glacier.model

Examples of com.amazonaws.services.glacier.model.InitiateJobRequest


            JobParameters jobParameters = new JobParameters()
                .withArchiveId(archiveId)
                .withType("archive-retrieval")
                .withSNSTopic(jobStatusMonitor.getTopicArn());
            InitiateJobResult archiveRetrievalResult =
                glacier.initiateJob(new InitiateJobRequest()
                    .withAccountId(accountId)
                    .withVaultName(vaultName)
                    .withJobParameters(jobParameters));
            jobId = archiveRetrievalResult.getJobId();
View Full Code Here


        JobParameters jobParameters = new JobParameters()
          .withArchiveId(archiveId)
          .withType("archive-retrieval")
          .withSNSTopic(jobStatusMonitor.getTopicArn());
        InitiateJobResult archiveRetrievalResult =
          glacier.initiateJob(new InitiateJobRequest()
            .withAccountId(accountId)
            .withVaultName(vaultName)
            .withJobParameters(jobParameters));
        String jobId = archiveRetrievalResult.getJobId();
View Full Code Here

            JobParameters jobParameters = new JobParameters()
                .withArchiveId(archiveId)
                .withType("archive-retrieval")
                .withSNSTopic(jobStatusMonitor.getTopicArn());
            InitiateJobResult archiveRetrievalResult =
                glacier.initiateJob(new InitiateJobRequest()
                    .withAccountId(accountId)
                    .withVaultName(vaultName)
                    .withJobParameters(jobParameters));
            jobId = archiveRetrievalResult.getJobId();
View Full Code Here

            JobParameters jobParameters = new JobParameters()
                .withArchiveId(archiveId)
                .withType("archive-retrieval")
                .withSNSTopic(jobStatusMonitor.getTopicArn());
            InitiateJobResult archiveRetrievalResult =
                glacier.initiateJob(new InitiateJobRequest()
                    .withAccountId(accountId)
                    .withVaultName(vaultName)
                    .withJobParameters(jobParameters));
            jobId = archiveRetrievalResult.getJobId();
View Full Code Here

          try
          {
          JobParameters jParameters = new JobParameters()
            .withType("inventory-retrieval");
         
            InitiateJobRequest initJobRequest = new InitiateJobRequest()
              .withVaultName(irVault)
              .withJobParameters(jParameters);
           
            InitiateJobResult initJobResult = irClient.initiateJob(initJobRequest);
            String thisJobId = initJobResult.getJobId();
View Full Code Here

    @Override
    public Job initiateArchiveRetreival(ResultCapture<InitiateJobResult>
            extractor) {

        InitiateJobRequest request = new InitiateJobRequest();
        return initiateArchiveRetreival(request, extractor);
    }
View Full Code Here

    @Override
    public Job initiateInventoryRetrieval(ResultCapture<InitiateJobResult>
            extractor) {

        InitiateJobRequest request = new InitiateJobRequest();
        return initiateInventoryRetrieval(request, extractor);
    }
View Full Code Here

            JobParameters jobParameters = new JobParameters()
                .withArchiveId(archiveId)
                .withType("archive-retrieval")
                .withSNSTopic(jobStatusMonitor.getTopicArn());
            InitiateJobResult archiveRetrievalResult =
                glacier.initiateJob(new InitiateJobRequest()
                    .withAccountId(accountId)
                    .withVaultName(vaultName)
                    .withJobParameters(jobParameters));
            jobId = archiveRetrievalResult.getJobId();
View Full Code Here

            JobParameters jobParameters = new JobParameters()
                .withArchiveId(archiveId)
                .withType("archive-retrieval")
                .withSNSTopic(jobStatusMonitor.getTopicArn());
            InitiateJobResult archiveRetrievalResult =
                glacier.initiateJob(new InitiateJobRequest()
                    .withAccountId(accountId)
                    .withVaultName(vaultName)
                    .withJobParameters(jobParameters));
            jobId = archiveRetrievalResult.getJobId();
View Full Code Here

  public void startInventoryListing(final String vaultName) {
    log.info("Starting inventory listing for vault " + vaultName + "...");

    try {
      final InitiateJobRequest initJobRequest = new InitiateJobRequest().withVaultName(vaultName).withJobParameters(
          new JobParameters().withType("inventory-retrieval"));

      final InitiateJobResult initJobResult = client.initiateJob(initJobRequest);
      final String jobId = initJobResult.getJobId();
      log.info("Inventory Job created with ID" + System.getProperty("line.separator") + jobId);
View Full Code Here

TOP

Related Classes of com.amazonaws.services.glacier.model.InitiateJobRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.