
com.amazonaws.services.finspace.AWSfinspaceAsync Maven / Gradle / Ivy
/*
* Copyright 2017-2022 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.finspace;
import javax.annotation.Generated;
import com.amazonaws.services.finspace.model.*;
/**
* Interface for accessing finspace 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.finspace.AbstractAWSfinspaceAsync} instead.
*
*
*
* The FinSpace management service provides the APIs for managing FinSpace environments.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSfinspaceAsync extends AWSfinspace {
/**
*
* Create a new FinSpace environment.
*
*
* @param createEnvironmentRequest
* @return A Java Future containing the result of the CreateEnvironment operation returned by the service.
* @sample AWSfinspaceAsync.CreateEnvironment
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createEnvironmentAsync(CreateEnvironmentRequest createEnvironmentRequest);
/**
*
* Create a new FinSpace environment.
*
*
* @param createEnvironmentRequest
* @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 CreateEnvironment operation returned by the service.
* @sample AWSfinspaceAsyncHandler.CreateEnvironment
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createEnvironmentAsync(CreateEnvironmentRequest createEnvironmentRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Delete an FinSpace environment.
*
*
* @param deleteEnvironmentRequest
* @return A Java Future containing the result of the DeleteEnvironment operation returned by the service.
* @sample AWSfinspaceAsync.DeleteEnvironment
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteEnvironmentAsync(DeleteEnvironmentRequest deleteEnvironmentRequest);
/**
*
* Delete an FinSpace environment.
*
*
* @param deleteEnvironmentRequest
* @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 DeleteEnvironment operation returned by the service.
* @sample AWSfinspaceAsyncHandler.DeleteEnvironment
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteEnvironmentAsync(DeleteEnvironmentRequest deleteEnvironmentRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the FinSpace environment object.
*
*
* @param getEnvironmentRequest
* @return A Java Future containing the result of the GetEnvironment operation returned by the service.
* @sample AWSfinspaceAsync.GetEnvironment
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getEnvironmentAsync(GetEnvironmentRequest getEnvironmentRequest);
/**
*
* Returns the FinSpace environment object.
*
*
* @param getEnvironmentRequest
* @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 GetEnvironment operation returned by the service.
* @sample AWSfinspaceAsyncHandler.GetEnvironment
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getEnvironmentAsync(GetEnvironmentRequest getEnvironmentRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* A list of all of your FinSpace environments.
*
*
* @param listEnvironmentsRequest
* @return A Java Future containing the result of the ListEnvironments operation returned by the service.
* @sample AWSfinspaceAsync.ListEnvironments
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listEnvironmentsAsync(ListEnvironmentsRequest listEnvironmentsRequest);
/**
*
* A list of all of your FinSpace environments.
*
*
* @param listEnvironmentsRequest
* @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 ListEnvironments operation returned by the service.
* @sample AWSfinspaceAsyncHandler.ListEnvironments
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listEnvironmentsAsync(ListEnvironmentsRequest listEnvironmentsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* A list of all tags for a resource.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSfinspaceAsync.ListTagsForResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* A list of all tags for a resource.
*
*
* @param listTagsForResourceRequest
* @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 ListTagsForResource operation returned by the service.
* @sample AWSfinspaceAsyncHandler.ListTagsForResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds metadata tags to a FinSpace resource.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSfinspaceAsync.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Adds metadata tags to a FinSpace resource.
*
*
* @param tagResourceRequest
* @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 TagResource operation returned by the service.
* @sample AWSfinspaceAsyncHandler.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes metadata tags from a FinSpace resource.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSfinspaceAsync.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes metadata tags from a FinSpace resource.
*
*
* @param untagResourceRequest
* @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 UntagResource operation returned by the service.
* @sample AWSfinspaceAsyncHandler.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Update your FinSpace environment.
*
*
* @param updateEnvironmentRequest
* @return A Java Future containing the result of the UpdateEnvironment operation returned by the service.
* @sample AWSfinspaceAsync.UpdateEnvironment
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateEnvironmentAsync(UpdateEnvironmentRequest updateEnvironmentRequest);
/**
*
* Update your FinSpace environment.
*
*
* @param updateEnvironmentRequest
* @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 UpdateEnvironment operation returned by the service.
* @sample AWSfinspaceAsyncHandler.UpdateEnvironment
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateEnvironmentAsync(UpdateEnvironmentRequest updateEnvironmentRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}