public class AWSDeviceFarmAsyncClient extends AWSDeviceFarmClient implements AWSDeviceFarmAsync
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
AWS Device Farm is a service that enables mobile app developers to test Android, iOS, and Fire OS apps on physical phones, tablets, and other devices in the cloud.
jsonErrorUnmarshallers
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AWSDeviceFarmAsyncClient()
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm.
|
AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the specified AWS account credentials.
|
AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the specified AWS account credentials, executor
service, and client configuration options.
|
AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the specified AWS account credentials and executor
service.
|
AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the specified AWS account credentials provider.
|
AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the provided AWS account credentials provider and
client configuration options.
|
AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the specified AWS account credentials provider,
executor service, and client configuration options.
|
AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the specified AWS account credentials provider and
executor service.
|
AWSDeviceFarmAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm.
|
createDevicePool, createProject, createUpload, getAccountSettings, getCachedResponseMetadata, getDevice, getDevicePool, getDevicePoolCompatibility, getJob, getProject, getRun, getSuite, getTest, getUpload, listArtifacts, listDevicePools, listDevices, listJobs, listProjects, listRuns, listSamples, listSuites, listTests, listUniqueProblems, listUploads, scheduleRun
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDevicePool, createProject, createUpload, getAccountSettings, getCachedResponseMetadata, getDevice, getDevicePool, getDevicePoolCompatibility, getJob, getProject, getRun, getSuite, getTest, getUpload, listArtifacts, listDevicePools, listDevices, listJobs, listProjects, listRuns, listSamples, listSuites, listTests, listUniqueProblems, listUploads, scheduleRun, setEndpoint, setRegion
public AWSDeviceFarmAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
public AWSDeviceFarmAsyncClient(ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client
connects to AWS Device Farm (ex: proxy settings, retry counts,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.Executors.newFixedThreadPool(int)
public AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public ExecutorService getExecutorService()
public Future<CreateDevicePoolResult> createDevicePoolAsync(CreateDevicePoolRequest request)
AWSDeviceFarmAsync
Creates a device pool.
createDevicePoolAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the create device pool operation.public Future<CreateDevicePoolResult> createDevicePoolAsync(CreateDevicePoolRequest request, AsyncHandler<CreateDevicePoolRequest,CreateDevicePoolResult> asyncHandler)
AWSDeviceFarmAsync
Creates a device pool.
createDevicePoolAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the create device pool 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.public Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request)
AWSDeviceFarmAsync
Creates a new project.
createProjectAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the create project operation.public Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
AWSDeviceFarmAsync
Creates a new project.
createProjectAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the create project 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.public Future<CreateUploadResult> createUploadAsync(CreateUploadRequest request)
AWSDeviceFarmAsync
Uploads an app or test scripts.
createUploadAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the create upload operation.public Future<CreateUploadResult> createUploadAsync(CreateUploadRequest request, AsyncHandler<CreateUploadRequest,CreateUploadResult> asyncHandler)
AWSDeviceFarmAsync
Uploads an app or test scripts.
createUploadAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the create upload 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.public Future<GetAccountSettingsResult> getAccountSettingsAsync(GetAccountSettingsRequest request)
AWSDeviceFarmAsync
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
getAccountSettingsAsync
in interface AWSDeviceFarmAsync
request
- nullpublic Future<GetAccountSettingsResult> getAccountSettingsAsync(GetAccountSettingsRequest request, AsyncHandler<GetAccountSettingsRequest,GetAccountSettingsResult> asyncHandler)
AWSDeviceFarmAsync
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
getAccountSettingsAsync
in interface AWSDeviceFarmAsync
request
- nullasyncHandler
- 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.public Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest request)
AWSDeviceFarmAsync
Gets information about a unique device type.
getDeviceAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get device request.public Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest request, AsyncHandler<GetDeviceRequest,GetDeviceResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a unique device type.
getDeviceAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get device 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.public Future<GetDevicePoolResult> getDevicePoolAsync(GetDevicePoolRequest request)
AWSDeviceFarmAsync
Gets information about a device pool.
getDevicePoolAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get device pool operation.public Future<GetDevicePoolResult> getDevicePoolAsync(GetDevicePoolRequest request, AsyncHandler<GetDevicePoolRequest,GetDevicePoolResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a device pool.
getDevicePoolAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get device pool 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.public Future<GetDevicePoolCompatibilityResult> getDevicePoolCompatibilityAsync(GetDevicePoolCompatibilityRequest request)
AWSDeviceFarmAsync
Gets information about compatibility with a device pool.
getDevicePoolCompatibilityAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get device pool compatibility
operation.public Future<GetDevicePoolCompatibilityResult> getDevicePoolCompatibilityAsync(GetDevicePoolCompatibilityRequest request, AsyncHandler<GetDevicePoolCompatibilityRequest,GetDevicePoolCompatibilityResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about compatibility with a device pool.
getDevicePoolCompatibilityAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get device pool compatibility
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.public Future<GetJobResult> getJobAsync(GetJobRequest request)
AWSDeviceFarmAsync
Gets information about a job.
getJobAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get job operation.public Future<GetJobResult> getJobAsync(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a job.
getJobAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get job 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.public Future<GetProjectResult> getProjectAsync(GetProjectRequest request)
AWSDeviceFarmAsync
Gets information about a project.
getProjectAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get project operation.public Future<GetProjectResult> getProjectAsync(GetProjectRequest request, AsyncHandler<GetProjectRequest,GetProjectResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a project.
getProjectAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get project 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.public Future<GetRunResult> getRunAsync(GetRunRequest request)
AWSDeviceFarmAsync
Gets information about a run.
getRunAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get run operation.public Future<GetRunResult> getRunAsync(GetRunRequest request, AsyncHandler<GetRunRequest,GetRunResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a run.
getRunAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get run 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.public Future<GetSuiteResult> getSuiteAsync(GetSuiteRequest request)
AWSDeviceFarmAsync
Gets information about a suite.
getSuiteAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get suite operation.public Future<GetSuiteResult> getSuiteAsync(GetSuiteRequest request, AsyncHandler<GetSuiteRequest,GetSuiteResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a suite.
getSuiteAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get suite 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.public Future<GetTestResult> getTestAsync(GetTestRequest request)
AWSDeviceFarmAsync
Gets information about a test.
getTestAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get test operation.public Future<GetTestResult> getTestAsync(GetTestRequest request, AsyncHandler<GetTestRequest,GetTestResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a test.
getTestAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get test 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.public Future<GetUploadResult> getUploadAsync(GetUploadRequest request)
AWSDeviceFarmAsync
Gets information about an upload.
getUploadAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get upload operation.public Future<GetUploadResult> getUploadAsync(GetUploadRequest request, AsyncHandler<GetUploadRequest,GetUploadResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about an upload.
getUploadAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get upload 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.public Future<ListArtifactsResult> listArtifactsAsync(ListArtifactsRequest request)
AWSDeviceFarmAsync
Gets information about artifacts.
listArtifactsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list artifacts operation.public Future<ListArtifactsResult> listArtifactsAsync(ListArtifactsRequest request, AsyncHandler<ListArtifactsRequest,ListArtifactsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about artifacts.
listArtifactsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list artifacts 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.public Future<ListDevicePoolsResult> listDevicePoolsAsync(ListDevicePoolsRequest request)
AWSDeviceFarmAsync
Gets information about device pools.
listDevicePoolsAsync
in interface AWSDeviceFarmAsync
request
- Represents the result of a list device pools request.public Future<ListDevicePoolsResult> listDevicePoolsAsync(ListDevicePoolsRequest request, AsyncHandler<ListDevicePoolsRequest,ListDevicePoolsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about device pools.
listDevicePoolsAsync
in interface AWSDeviceFarmAsync
request
- Represents the result of a list device pools 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.public Future<ListDevicesResult> listDevicesAsync(ListDevicesRequest request)
AWSDeviceFarmAsync
Gets information about unique device types.
listDevicesAsync
in interface AWSDeviceFarmAsync
request
- Represents the result of a list devices request.public Future<ListDevicesResult> listDevicesAsync(ListDevicesRequest request, AsyncHandler<ListDevicesRequest,ListDevicesResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about unique device types.
listDevicesAsync
in interface AWSDeviceFarmAsync
request
- Represents the result of a list devices 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.public Future<ListJobsResult> listJobsAsync(ListJobsRequest request)
AWSDeviceFarmAsync
Gets information about jobs.
listJobsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list jobs operation.public Future<ListJobsResult> listJobsAsync(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about jobs.
listJobsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list jobs 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.public Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request)
AWSDeviceFarmAsync
Gets information about projects.
listProjectsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list projects operation.public Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about projects.
listProjectsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list projects 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.public Future<ListRunsResult> listRunsAsync(ListRunsRequest request)
AWSDeviceFarmAsync
Gets information about runs.
listRunsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list runs operation.public Future<ListRunsResult> listRunsAsync(ListRunsRequest request, AsyncHandler<ListRunsRequest,ListRunsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about runs.
listRunsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list runs 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.public Future<ListSamplesResult> listSamplesAsync(ListSamplesRequest request)
AWSDeviceFarmAsync
Gets information about samples.
listSamplesAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list samples operation.public Future<ListSamplesResult> listSamplesAsync(ListSamplesRequest request, AsyncHandler<ListSamplesRequest,ListSamplesResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about samples.
listSamplesAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list samples 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.public Future<ListSuitesResult> listSuitesAsync(ListSuitesRequest request)
AWSDeviceFarmAsync
Gets information about suites.
listSuitesAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list suites operation.public Future<ListSuitesResult> listSuitesAsync(ListSuitesRequest request, AsyncHandler<ListSuitesRequest,ListSuitesResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about suites.
listSuitesAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list suites 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.public Future<ListTestsResult> listTestsAsync(ListTestsRequest request)
AWSDeviceFarmAsync
Gets information about tests.
listTestsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list tests operation.public Future<ListTestsResult> listTestsAsync(ListTestsRequest request, AsyncHandler<ListTestsRequest,ListTestsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about tests.
listTestsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list tests 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.public Future<ListUniqueProblemsResult> listUniqueProblemsAsync(ListUniqueProblemsRequest request)
AWSDeviceFarmAsync
Gets information about unique problems.
listUniqueProblemsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list unique problems operation.public Future<ListUniqueProblemsResult> listUniqueProblemsAsync(ListUniqueProblemsRequest request, AsyncHandler<ListUniqueProblemsRequest,ListUniqueProblemsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about unique problems.
listUniqueProblemsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list unique problems 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.public Future<ListUploadsResult> listUploadsAsync(ListUploadsRequest request)
AWSDeviceFarmAsync
Gets information about uploads.
listUploadsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list uploads operation.public Future<ListUploadsResult> listUploadsAsync(ListUploadsRequest request, AsyncHandler<ListUploadsRequest,ListUploadsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about uploads.
listUploadsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list uploads 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.public Future<ScheduleRunResult> scheduleRunAsync(ScheduleRunRequest request)
AWSDeviceFarmAsync
Schedules a run.
scheduleRunAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the schedule run operation.public Future<ScheduleRunResult> scheduleRunAsync(ScheduleRunRequest request, AsyncHandler<ScheduleRunRequest,ScheduleRunResult> asyncHandler)
AWSDeviceFarmAsync
Schedules a run.
scheduleRunAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the schedule run 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.public void shutdown()
getExecutorService().shutdown()
followed by
getExecutorService().awaitTermination()
prior to calling this
method.shutdown
in interface AWSDeviceFarm
shutdown
in class AmazonWebServiceClient
Copyright © 2015. All rights reserved.