/* * Copyright 2018-2023 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.docdbelastic; import javax.annotation.Generated; import com.amazonaws.services.docdbelastic.model.*; /** * Interface for accessing DocDB Elastic 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.docdbelastic.AbstractAmazonDocDBElasticAsync} instead. *
**
* The new Amazon Elastic DocumentDB service endpoint. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonDocDBElasticAsync extends AmazonDocDBElastic { /** ** Creates a new Elastic DocumentDB cluster and returns its Cluster structure. *
* * @param createClusterRequest * @return A Java Future containing the result of the CreateCluster operation returned by the service. * @sample AmazonDocDBElasticAsync.CreateCluster * @see AWS * API Documentation */ java.util.concurrent.Future* Creates a new Elastic DocumentDB cluster and returns its Cluster structure. *
* * @param createClusterRequest * @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 CreateCluster operation returned by the service. * @sample AmazonDocDBElasticAsyncHandler.CreateCluster * @see AWS * API Documentation */ java.util.concurrent.Future* Creates a snapshot of a cluster. *
* * @param createClusterSnapshotRequest * @return A Java Future containing the result of the CreateClusterSnapshot operation returned by the service. * @sample AmazonDocDBElasticAsync.CreateClusterSnapshot * @see AWS API Documentation */ java.util.concurrent.Future* Creates a snapshot of a cluster. *
* * @param createClusterSnapshotRequest * @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 CreateClusterSnapshot operation returned by the service. * @sample AmazonDocDBElasticAsyncHandler.CreateClusterSnapshot * @see AWS API Documentation */ java.util.concurrent.Future* Delete a Elastic DocumentDB cluster. *
* * @param deleteClusterRequest * @return A Java Future containing the result of the DeleteCluster operation returned by the service. * @sample AmazonDocDBElasticAsync.DeleteCluster * @see AWS * API Documentation */ java.util.concurrent.Future* Delete a Elastic DocumentDB cluster. *
* * @param deleteClusterRequest * @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 DeleteCluster operation returned by the service. * @sample AmazonDocDBElasticAsyncHandler.DeleteCluster * @see AWS * API Documentation */ java.util.concurrent.Future* Delete a Elastic DocumentDB snapshot. *
* * @param deleteClusterSnapshotRequest * @return A Java Future containing the result of the DeleteClusterSnapshot operation returned by the service. * @sample AmazonDocDBElasticAsync.DeleteClusterSnapshot * @see AWS API Documentation */ java.util.concurrent.Future* Delete a Elastic DocumentDB snapshot. *
* * @param deleteClusterSnapshotRequest * @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 DeleteClusterSnapshot operation returned by the service. * @sample AmazonDocDBElasticAsyncHandler.DeleteClusterSnapshot * @see AWS API Documentation */ java.util.concurrent.Future* Returns information about a specific Elastic DocumentDB cluster. *
* * @param getClusterRequest * @return A Java Future containing the result of the GetCluster operation returned by the service. * @sample AmazonDocDBElasticAsync.GetCluster * @see AWS API * Documentation */ java.util.concurrent.Future* Returns information about a specific Elastic DocumentDB cluster. *
* * @param getClusterRequest * @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 GetCluster operation returned by the service. * @sample AmazonDocDBElasticAsyncHandler.GetCluster * @see AWS API * Documentation */ java.util.concurrent.Future* Returns information about a specific Elastic DocumentDB snapshot *
* * @param getClusterSnapshotRequest * @return A Java Future containing the result of the GetClusterSnapshot operation returned by the service. * @sample AmazonDocDBElasticAsync.GetClusterSnapshot * @see AWS API Documentation */ java.util.concurrent.Future* Returns information about a specific Elastic DocumentDB snapshot *
* * @param getClusterSnapshotRequest * @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 GetClusterSnapshot operation returned by the service. * @sample AmazonDocDBElasticAsyncHandler.GetClusterSnapshot * @see AWS API Documentation */ java.util.concurrent.Future* Returns information about Elastic DocumentDB snapshots for a specified cluster. *
* * @param listClusterSnapshotsRequest * @return A Java Future containing the result of the ListClusterSnapshots operation returned by the service. * @sample AmazonDocDBElasticAsync.ListClusterSnapshots * @see AWS API Documentation */ java.util.concurrent.Future* Returns information about Elastic DocumentDB snapshots for a specified cluster. *
* * @param listClusterSnapshotsRequest * @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 ListClusterSnapshots operation returned by the service. * @sample AmazonDocDBElasticAsyncHandler.ListClusterSnapshots * @see AWS API Documentation */ java.util.concurrent.Future* Returns information about provisioned Elastic DocumentDB clusters. *
* * @param listClustersRequest * @return A Java Future containing the result of the ListClusters operation returned by the service. * @sample AmazonDocDBElasticAsync.ListClusters * @see AWS API * Documentation */ java.util.concurrent.Future* Returns information about provisioned Elastic DocumentDB clusters. *
* * @param listClustersRequest * @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 ListClusters operation returned by the service. * @sample AmazonDocDBElasticAsyncHandler.ListClusters * @see AWS API * Documentation */ java.util.concurrent.Future* Lists all tags on a Elastic DocumentDB resource *
* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonDocDBElasticAsync.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future* Lists all tags on a Elastic DocumentDB 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 AmazonDocDBElasticAsyncHandler.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future* Restores a Elastic DocumentDB cluster from a snapshot. *
* * @param restoreClusterFromSnapshotRequest * @return A Java Future containing the result of the RestoreClusterFromSnapshot operation returned by the service. * @sample AmazonDocDBElasticAsync.RestoreClusterFromSnapshot * @see AWS API Documentation */ java.util.concurrent.Future* Restores a Elastic DocumentDB cluster from a snapshot. *
* * @param restoreClusterFromSnapshotRequest * @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 RestoreClusterFromSnapshot operation returned by the service. * @sample AmazonDocDBElasticAsyncHandler.RestoreClusterFromSnapshot * @see AWS API Documentation */ java.util.concurrent.Future* Adds metadata tags to a Elastic DocumentDB resource *
* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonDocDBElasticAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Adds metadata tags to a Elastic DocumentDB 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 AmazonDocDBElasticAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Removes metadata tags to a Elastic DocumentDB resource *
* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonDocDBElasticAsync.UntagResource * @see AWS * API Documentation */ java.util.concurrent.Future* Removes metadata tags to a Elastic DocumentDB 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 AmazonDocDBElasticAsyncHandler.UntagResource * @see AWS * API Documentation */ java.util.concurrent.Future* Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password, upgrading API version * setting up a backup window and maintenance window *
* * @param updateClusterRequest * @return A Java Future containing the result of the UpdateCluster operation returned by the service. * @sample AmazonDocDBElasticAsync.UpdateCluster * @see AWS * API Documentation */ java.util.concurrent.Future* Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password, upgrading API version * setting up a backup window and maintenance window *
* * @param updateClusterRequest * @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 UpdateCluster operation returned by the service. * @sample AmazonDocDBElasticAsyncHandler.UpdateCluster * @see AWS * API Documentation */ java.util.concurrent.Future