Class AbstractAmazonImportExportAsync

java.lang.Object
com.amazonaws.services.importexport.AbstractAmazonImportExport
com.amazonaws.services.importexport.AbstractAmazonImportExportAsync
All Implemented Interfaces:
AmazonImportExport, AmazonImportExportAsync

public class AbstractAmazonImportExportAsync extends AbstractAmazonImportExport implements AmazonImportExportAsync
Abstract implementation of AmazonImportExportAsync. Convenient method forms pass through to the corresponding overload that takes a request object and an AsyncHandler, which throws an UnsupportedOperationException.
  • Constructor Details

    • AbstractAmazonImportExportAsync

      protected AbstractAmazonImportExportAsync()
  • Method Details

    • cancelJobAsync

      public Future<CancelJobResult> cancelJobAsync(CancelJobRequest request)
      Description copied from interface: AmazonImportExportAsync
      This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete.
      Specified by:
      cancelJobAsync in interface AmazonImportExportAsync
      Parameters:
      request - Input structure for the CancelJob operation.
      Returns:
      A Java Future containing the result of the CancelJob operation returned by the service.
    • cancelJobAsync

      public Future<CancelJobResult> cancelJobAsync(CancelJobRequest request, AsyncHandler<CancelJobRequest,CancelJobResult> asyncHandler)
      Description copied from interface: AmazonImportExportAsync
      This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete.
      Specified by:
      cancelJobAsync in interface AmazonImportExportAsync
      Parameters:
      request - Input structure for the CancelJob operation.
      asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
      Returns:
      A Java Future containing the result of the CancelJob operation returned by the service.
    • createJobAsync

      public Future<CreateJobResult> createJobAsync(CreateJobRequest request)
      Description copied from interface: AmazonImportExportAsync
      This operation initiates the process of scheduling an upload or download of your data. You include in the request a manifest that describes the data transfer specifics. The response to the request includes a job ID, which you can use in other operations, a signature that you use to identify your storage device, and the address where you should ship your storage device.
      Specified by:
      createJobAsync in interface AmazonImportExportAsync
      Parameters:
      request - Input structure for the CreateJob operation.
      Returns:
      A Java Future containing the result of the CreateJob operation returned by the service.
    • createJobAsync

      public Future<CreateJobResult> createJobAsync(CreateJobRequest request, AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler)
      Description copied from interface: AmazonImportExportAsync
      This operation initiates the process of scheduling an upload or download of your data. You include in the request a manifest that describes the data transfer specifics. The response to the request includes a job ID, which you can use in other operations, a signature that you use to identify your storage device, and the address where you should ship your storage device.
      Specified by:
      createJobAsync in interface AmazonImportExportAsync
      Parameters:
      request - Input structure for the CreateJob operation.
      asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
      Returns:
      A Java Future containing the result of the CreateJob operation returned by the service.
    • getShippingLabelAsync

      public Future<GetShippingLabelResult> getShippingLabelAsync(GetShippingLabelRequest request)
      Description copied from interface: AmazonImportExportAsync
      This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing.
      Specified by:
      getShippingLabelAsync in interface AmazonImportExportAsync
      Parameters:
      request -
      Returns:
      A Java Future containing the result of the GetShippingLabel operation returned by the service.
    • getShippingLabelAsync

      Description copied from interface: AmazonImportExportAsync
      This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing.
      Specified by:
      getShippingLabelAsync in interface AmazonImportExportAsync
      Parameters:
      request -
      asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
      Returns:
      A Java Future containing the result of the GetShippingLabel operation returned by the service.
    • getStatusAsync

      public Future<GetStatusResult> getStatusAsync(GetStatusRequest request)
      Description copied from interface: AmazonImportExportAsync
      This operation returns information about a job, including where the job is in the processing pipeline, the status of the results, and the signature value associated with the job. You can only return information about jobs you own.
      Specified by:
      getStatusAsync in interface AmazonImportExportAsync
      Parameters:
      request - Input structure for the GetStatus operation.
      Returns:
      A Java Future containing the result of the GetStatus operation returned by the service.
    • getStatusAsync

      public Future<GetStatusResult> getStatusAsync(GetStatusRequest request, AsyncHandler<GetStatusRequest,GetStatusResult> asyncHandler)
      Description copied from interface: AmazonImportExportAsync
      This operation returns information about a job, including where the job is in the processing pipeline, the status of the results, and the signature value associated with the job. You can only return information about jobs you own.
      Specified by:
      getStatusAsync in interface AmazonImportExportAsync
      Parameters:
      request - Input structure for the GetStatus operation.
      asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
      Returns:
      A Java Future containing the result of the GetStatus operation returned by the service.
    • listJobsAsync

      public Future<ListJobsResult> listJobsAsync(ListJobsRequest request)
      Description copied from interface: AmazonImportExportAsync
      This operation returns the jobs associated with the requester. AWS Import/Export lists the jobs in reverse chronological order based on the date of creation. For example if Job Test1 was created 2009Dec30 and Test2 was created 2010Feb05, the ListJobs operation would return Test2 followed by Test1.
      Specified by:
      listJobsAsync in interface AmazonImportExportAsync
      Parameters:
      request - Input structure for the ListJobs operation.
      Returns:
      A Java Future containing the result of the ListJobs operation returned by the service.
    • listJobsAsync

      public Future<ListJobsResult> listJobsAsync(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
      Description copied from interface: AmazonImportExportAsync
      This operation returns the jobs associated with the requester. AWS Import/Export lists the jobs in reverse chronological order based on the date of creation. For example if Job Test1 was created 2009Dec30 and Test2 was created 2010Feb05, the ListJobs operation would return Test2 followed by Test1.
      Specified by:
      listJobsAsync in interface AmazonImportExportAsync
      Parameters:
      request - Input structure for the ListJobs operation.
      asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
      Returns:
      A Java Future containing the result of the ListJobs operation returned by the service.
    • listJobsAsync

      public Future<ListJobsResult> listJobsAsync()
      Simplified method form for invoking the ListJobs operation.
      Specified by:
      listJobsAsync in interface AmazonImportExportAsync
      See Also:
    • listJobsAsync

      public Future<ListJobsResult> listJobsAsync(AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
      Simplified method form for invoking the ListJobs operation with an AsyncHandler.
      Specified by:
      listJobsAsync in interface AmazonImportExportAsync
      See Also:
    • updateJobAsync

      public Future<UpdateJobResult> updateJobAsync(UpdateJobRequest request)
      Description copied from interface: AmazonImportExportAsync
      You use this operation to change the parameters specified in the original manifest file by supplying a new manifest file. The manifest file attached to this request replaces the original manifest file. You can only use the operation after a CreateJob request but before the data transfer starts and you can only use it on jobs you own.
      Specified by:
      updateJobAsync in interface AmazonImportExportAsync
      Parameters:
      request - Input structure for the UpateJob operation.
      Returns:
      A Java Future containing the result of the UpdateJob operation returned by the service.
    • updateJobAsync

      public Future<UpdateJobResult> updateJobAsync(UpdateJobRequest request, AsyncHandler<UpdateJobRequest,UpdateJobResult> asyncHandler)
      Description copied from interface: AmazonImportExportAsync
      You use this operation to change the parameters specified in the original manifest file by supplying a new manifest file. The manifest file attached to this request replaces the original manifest file. You can only use the operation after a CreateJob request but before the data transfer starts and you can only use it on jobs you own.
      Specified by:
      updateJobAsync in interface AmazonImportExportAsync
      Parameters:
      request - Input structure for the UpateJob operation.
      asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
      Returns:
      A Java Future containing the result of the UpdateJob operation returned by the service.