All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.braket.AWSBraketAsync Maven / Gradle / Ivy

/*
 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.braket;

import javax.annotation.Generated;

import com.amazonaws.services.braket.model.*;

/**
 * Interface for accessing Braket asynchronously. Each asynchronous method will return a Java Future object representing
 * the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive notification when
 * an asynchronous operation completes.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.braket.AbstractAWSBraketAsync} instead. *

*

*

* The Amazon Braket API Reference provides information about the operations and structures supported in Amazon Braket. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSBraketAsync extends AWSBraket { /** *

* Cancels the specified task. *

* * @param cancelQuantumTaskRequest * @return A Java Future containing the result of the CancelQuantumTask operation returned by the service. * @sample AWSBraketAsync.CancelQuantumTask * @see AWS API * Documentation */ java.util.concurrent.Future cancelQuantumTaskAsync(CancelQuantumTaskRequest cancelQuantumTaskRequest); /** *

* Cancels the specified task. *

* * @param cancelQuantumTaskRequest * @param 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. * @return A Java Future containing the result of the CancelQuantumTask operation returned by the service. * @sample AWSBraketAsyncHandler.CancelQuantumTask * @see AWS API * Documentation */ java.util.concurrent.Future cancelQuantumTaskAsync(CancelQuantumTaskRequest cancelQuantumTaskRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a quantum task. *

* * @param createQuantumTaskRequest * @return A Java Future containing the result of the CreateQuantumTask operation returned by the service. * @sample AWSBraketAsync.CreateQuantumTask * @see AWS API * Documentation */ java.util.concurrent.Future createQuantumTaskAsync(CreateQuantumTaskRequest createQuantumTaskRequest); /** *

* Creates a quantum task. *

* * @param createQuantumTaskRequest * @param 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. * @return A Java Future containing the result of the CreateQuantumTask operation returned by the service. * @sample AWSBraketAsyncHandler.CreateQuantumTask * @see AWS API * Documentation */ java.util.concurrent.Future createQuantumTaskAsync(CreateQuantumTaskRequest createQuantumTaskRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the devices available in Amazon Braket. *

* * @param getDeviceRequest * @return A Java Future containing the result of the GetDevice operation returned by the service. * @sample AWSBraketAsync.GetDevice * @see AWS API * Documentation */ java.util.concurrent.Future getDeviceAsync(GetDeviceRequest getDeviceRequest); /** *

* Retrieves the devices available in Amazon Braket. *

* * @param getDeviceRequest * @param 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. * @return A Java Future containing the result of the GetDevice operation returned by the service. * @sample AWSBraketAsyncHandler.GetDevice * @see AWS API * Documentation */ java.util.concurrent.Future getDeviceAsync(GetDeviceRequest getDeviceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the specified quantum task. *

* * @param getQuantumTaskRequest * @return A Java Future containing the result of the GetQuantumTask operation returned by the service. * @sample AWSBraketAsync.GetQuantumTask * @see AWS API * Documentation */ java.util.concurrent.Future getQuantumTaskAsync(GetQuantumTaskRequest getQuantumTaskRequest); /** *

* Retrieves the specified quantum task. *

* * @param getQuantumTaskRequest * @param 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. * @return A Java Future containing the result of the GetQuantumTask operation returned by the service. * @sample AWSBraketAsyncHandler.GetQuantumTask * @see AWS API * Documentation */ java.util.concurrent.Future getQuantumTaskAsync(GetQuantumTaskRequest getQuantumTaskRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Searches for devices using the specified filters. *

* * @param searchDevicesRequest * @return A Java Future containing the result of the SearchDevices operation returned by the service. * @sample AWSBraketAsync.SearchDevices * @see AWS API * Documentation */ java.util.concurrent.Future searchDevicesAsync(SearchDevicesRequest searchDevicesRequest); /** *

* Searches for devices using the specified filters. *

* * @param searchDevicesRequest * @param 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. * @return A Java Future containing the result of the SearchDevices operation returned by the service. * @sample AWSBraketAsyncHandler.SearchDevices * @see AWS API * Documentation */ java.util.concurrent.Future searchDevicesAsync(SearchDevicesRequest searchDevicesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Searches for tasks that match the specified filter values. *

* * @param searchQuantumTasksRequest * @return A Java Future containing the result of the SearchQuantumTasks operation returned by the service. * @sample AWSBraketAsync.SearchQuantumTasks * @see AWS API * Documentation */ java.util.concurrent.Future searchQuantumTasksAsync(SearchQuantumTasksRequest searchQuantumTasksRequest); /** *

* Searches for tasks that match the specified filter values. *

* * @param searchQuantumTasksRequest * @param 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. * @return A Java Future containing the result of the SearchQuantumTasks operation returned by the service. * @sample AWSBraketAsyncHandler.SearchQuantumTasks * @see AWS API * Documentation */ java.util.concurrent.Future searchQuantumTasksAsync(SearchQuantumTasksRequest searchQuantumTasksRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy