/* * 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.dax; import javax.annotation.Generated; import com.amazonaws.services.dax.model.*; /** * Interface for accessing Amazon DAX 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.dax.AbstractAmazonDaxAsync} instead. *

*

*

* DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching * frequently-accessed data from DynamoDB, so applications can access that data with sub-millisecond latency. You can * create a DAX cluster easily, using the AWS Management Console. With a few simple modifications to your code, your * application can begin taking advantage of the DAX cluster and realize significant improvements in read performance. *

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

* Creates a DAX cluster. All nodes in the cluster run the same DAX caching software. *

* * @param createClusterRequest * @return A Java Future containing the result of the CreateCluster operation returned by the service. * @sample AmazonDaxAsync.CreateCluster * @see AWS API * Documentation */ java.util.concurrent.Future createClusterAsync(CreateClusterRequest createClusterRequest); /** *

* Creates a DAX cluster. All nodes in the cluster run the same DAX caching software. *

* * @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 AmazonDaxAsyncHandler.CreateCluster * @see AWS API * Documentation */ java.util.concurrent.Future createClusterAsync(CreateClusterRequest createClusterRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes * in a DAX cluster. *

* * @param createParameterGroupRequest * @return A Java Future containing the result of the CreateParameterGroup operation returned by the service. * @sample AmazonDaxAsync.CreateParameterGroup * @see AWS API * Documentation */ java.util.concurrent.Future createParameterGroupAsync(CreateParameterGroupRequest createParameterGroupRequest); /** *

* Creates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes * in a DAX cluster. *

* * @param createParameterGroupRequest * @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 CreateParameterGroup operation returned by the service. * @sample AmazonDaxAsyncHandler.CreateParameterGroup * @see AWS API * Documentation */ java.util.concurrent.Future createParameterGroupAsync(CreateParameterGroupRequest createParameterGroupRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a new subnet group. *

* * @param createSubnetGroupRequest * @return A Java Future containing the result of the CreateSubnetGroup operation returned by the service. * @sample AmazonDaxAsync.CreateSubnetGroup * @see AWS API * Documentation */ java.util.concurrent.Future createSubnetGroupAsync(CreateSubnetGroupRequest createSubnetGroupRequest); /** *

* Creates a new subnet group. *

* * @param createSubnetGroupRequest * @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 CreateSubnetGroup operation returned by the service. * @sample AmazonDaxAsyncHandler.CreateSubnetGroup * @see AWS API * Documentation */ java.util.concurrent.Future createSubnetGroupAsync(CreateSubnetGroupRequest createSubnetGroupRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes one or more nodes from a DAX cluster. *

* *

* You cannot use DecreaseReplicationFactor to remove the last node in a DAX cluster. If you need to do * this, use DeleteCluster instead. *

*
* * @param decreaseReplicationFactorRequest * @return A Java Future containing the result of the DecreaseReplicationFactor operation returned by the service. * @sample AmazonDaxAsync.DecreaseReplicationFactor * @see AWS * API Documentation */ java.util.concurrent.Future decreaseReplicationFactorAsync( DecreaseReplicationFactorRequest decreaseReplicationFactorRequest); /** *

* Removes one or more nodes from a DAX cluster. *

* *

* You cannot use DecreaseReplicationFactor to remove the last node in a DAX cluster. If you need to do * this, use DeleteCluster instead. *

*
* * @param decreaseReplicationFactorRequest * @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 DecreaseReplicationFactor operation returned by the service. * @sample AmazonDaxAsyncHandler.DecreaseReplicationFactor * @see AWS * API Documentation */ java.util.concurrent.Future decreaseReplicationFactorAsync( DecreaseReplicationFactorRequest decreaseReplicationFactorRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes a previously provisioned DAX cluster. DeleteCluster deletes all associated nodes, node endpoints * and the DAX cluster itself. When you receive a successful response from this action, DAX immediately begins * deleting the cluster; you cannot cancel or revert this action. *

* * @param deleteClusterRequest * @return A Java Future containing the result of the DeleteCluster operation returned by the service. * @sample AmazonDaxAsync.DeleteCluster * @see AWS API * Documentation */ java.util.concurrent.Future deleteClusterAsync(DeleteClusterRequest deleteClusterRequest); /** *

* Deletes a previously provisioned DAX cluster. DeleteCluster deletes all associated nodes, node endpoints * and the DAX cluster itself. When you receive a successful response from this action, DAX immediately begins * deleting the cluster; you cannot cancel or revert this action. *

* * @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 AmazonDaxAsyncHandler.DeleteCluster * @see AWS API * Documentation */ java.util.concurrent.Future deleteClusterAsync(DeleteClusterRequest deleteClusterRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX * clusters. *

* * @param deleteParameterGroupRequest * @return A Java Future containing the result of the DeleteParameterGroup operation returned by the service. * @sample AmazonDaxAsync.DeleteParameterGroup * @see AWS API * Documentation */ java.util.concurrent.Future deleteParameterGroupAsync(DeleteParameterGroupRequest deleteParameterGroupRequest); /** *

* Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX * clusters. *

* * @param deleteParameterGroupRequest * @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 DeleteParameterGroup operation returned by the service. * @sample AmazonDaxAsyncHandler.DeleteParameterGroup * @see AWS API * Documentation */ java.util.concurrent.Future deleteParameterGroupAsync(DeleteParameterGroupRequest deleteParameterGroupRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes a subnet group. *

* *

* You cannot delete a subnet group if it is associated with any DAX clusters. *

*
* * @param deleteSubnetGroupRequest * @return A Java Future containing the result of the DeleteSubnetGroup operation returned by the service. * @sample AmazonDaxAsync.DeleteSubnetGroup * @see AWS API * Documentation */ java.util.concurrent.Future deleteSubnetGroupAsync(DeleteSubnetGroupRequest deleteSubnetGroupRequest); /** *

* Deletes a subnet group. *

* *

* You cannot delete a subnet group if it is associated with any DAX clusters. *

*
* * @param deleteSubnetGroupRequest * @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 DeleteSubnetGroup operation returned by the service. * @sample AmazonDaxAsyncHandler.DeleteSubnetGroup * @see AWS API * Documentation */ java.util.concurrent.Future deleteSubnetGroupAsync(DeleteSubnetGroupRequest deleteSubnetGroupRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific * DAX cluster if a cluster identifier is supplied. *

*

* If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes * are successfully provisioned. *

*

* If the cluster is in the DELETING state, only cluster level information will be displayed. *

*

* If nodes are currently being added to the DAX cluster, node endpoint information and creation time for the * additional nodes will not be displayed until they are completely provisioned. When the DAX cluster state is * available, the cluster is ready for use. *

*

* If nodes are currently being removed from the DAX cluster, no endpoint information for the removed nodes is * displayed. *

* * @param describeClustersRequest * @return A Java Future containing the result of the DescribeClusters operation returned by the service. * @sample AmazonDaxAsync.DescribeClusters * @see AWS API * Documentation */ java.util.concurrent.Future describeClustersAsync(DescribeClustersRequest describeClustersRequest); /** *

* Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific * DAX cluster if a cluster identifier is supplied. *

*

* If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes * are successfully provisioned. *

*

* If the cluster is in the DELETING state, only cluster level information will be displayed. *

*

* If nodes are currently being added to the DAX cluster, node endpoint information and creation time for the * additional nodes will not be displayed until they are completely provisioned. When the DAX cluster state is * available, the cluster is ready for use. *

*

* If nodes are currently being removed from the DAX cluster, no endpoint information for the removed nodes is * displayed. *

* * @param describeClustersRequest * @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 DescribeClusters operation returned by the service. * @sample AmazonDaxAsyncHandler.DescribeClusters * @see AWS API * Documentation */ java.util.concurrent.Future describeClustersAsync(DescribeClustersRequest describeClustersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns the default system parameter information for the DAX caching software. *

* * @param describeDefaultParametersRequest * @return A Java Future containing the result of the DescribeDefaultParameters operation returned by the service. * @sample AmazonDaxAsync.DescribeDefaultParameters * @see AWS * API Documentation */ java.util.concurrent.Future describeDefaultParametersAsync( DescribeDefaultParametersRequest describeDefaultParametersRequest); /** *

* Returns the default system parameter information for the DAX caching software. *

* * @param describeDefaultParametersRequest * @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 DescribeDefaultParameters operation returned by the service. * @sample AmazonDaxAsyncHandler.DescribeDefaultParameters * @see AWS * API Documentation */ java.util.concurrent.Future describeDefaultParametersAsync( DescribeDefaultParametersRequest describeDefaultParametersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX * cluster or parameter group by providing the name as a parameter. *

*

* By default, only the events occurring within the last 24 hours are returned; however, you can retrieve up to 14 * days' worth of events if necessary. *

* * @param describeEventsRequest * @return A Java Future containing the result of the DescribeEvents operation returned by the service. * @sample AmazonDaxAsync.DescribeEvents * @see AWS API * Documentation */ java.util.concurrent.Future describeEventsAsync(DescribeEventsRequest describeEventsRequest); /** *

* Returns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX * cluster or parameter group by providing the name as a parameter. *

*

* By default, only the events occurring within the last 24 hours are returned; however, you can retrieve up to 14 * days' worth of events if necessary. *

* * @param describeEventsRequest * @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 DescribeEvents operation returned by the service. * @sample AmazonDaxAsyncHandler.DescribeEvents * @see AWS API * Documentation */ java.util.concurrent.Future describeEventsAsync(DescribeEventsRequest describeEventsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain * only the descriptions for that group. *

* * @param describeParameterGroupsRequest * @return A Java Future containing the result of the DescribeParameterGroups operation returned by the service. * @sample AmazonDaxAsync.DescribeParameterGroups * @see AWS * API Documentation */ java.util.concurrent.Future describeParameterGroupsAsync(DescribeParameterGroupsRequest describeParameterGroupsRequest); /** *

* Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain * only the descriptions for that group. *

* * @param describeParameterGroupsRequest * @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 DescribeParameterGroups operation returned by the service. * @sample AmazonDaxAsyncHandler.DescribeParameterGroups * @see AWS * API Documentation */ java.util.concurrent.Future describeParameterGroupsAsync(DescribeParameterGroupsRequest describeParameterGroupsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns the detailed parameter list for a particular parameter group. *

* * @param describeParametersRequest * @return A Java Future containing the result of the DescribeParameters operation returned by the service. * @sample AmazonDaxAsync.DescribeParameters * @see AWS API * Documentation */ java.util.concurrent.Future describeParametersAsync(DescribeParametersRequest describeParametersRequest); /** *

* Returns the detailed parameter list for a particular parameter group. *

* * @param describeParametersRequest * @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 DescribeParameters operation returned by the service. * @sample AmazonDaxAsyncHandler.DescribeParameters * @see AWS API * Documentation */ java.util.concurrent.Future describeParametersAsync(DescribeParametersRequest describeParametersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the * description of that group. *

* * @param describeSubnetGroupsRequest * @return A Java Future containing the result of the DescribeSubnetGroups operation returned by the service. * @sample AmazonDaxAsync.DescribeSubnetGroups * @see AWS API * Documentation */ java.util.concurrent.Future describeSubnetGroupsAsync(DescribeSubnetGroupsRequest describeSubnetGroupsRequest); /** *

* Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the * description of that group. *

* * @param describeSubnetGroupsRequest * @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 DescribeSubnetGroups operation returned by the service. * @sample AmazonDaxAsyncHandler.DescribeSubnetGroups * @see AWS API * Documentation */ java.util.concurrent.Future describeSubnetGroupsAsync(DescribeSubnetGroupsRequest describeSubnetGroupsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Adds one or more nodes to a DAX cluster. *

* * @param increaseReplicationFactorRequest * @return A Java Future containing the result of the IncreaseReplicationFactor operation returned by the service. * @sample AmazonDaxAsync.IncreaseReplicationFactor * @see AWS * API Documentation */ java.util.concurrent.Future increaseReplicationFactorAsync( IncreaseReplicationFactorRequest increaseReplicationFactorRequest); /** *

* Adds one or more nodes to a DAX cluster. *

* * @param increaseReplicationFactorRequest * @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 IncreaseReplicationFactor operation returned by the service. * @sample AmazonDaxAsyncHandler.IncreaseReplicationFactor * @see AWS * API Documentation */ java.util.concurrent.Future increaseReplicationFactorAsync( IncreaseReplicationFactorRequest increaseReplicationFactorRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* List all of the tags for a DAX cluster. You can call ListTags up to 10 times per second, per * account. *

* * @param listTagsRequest * @return A Java Future containing the result of the ListTags operation returned by the service. * @sample AmazonDaxAsync.ListTags * @see AWS API * Documentation */ java.util.concurrent.Future listTagsAsync(ListTagsRequest listTagsRequest); /** *

* List all of the tags for a DAX cluster. You can call ListTags up to 10 times per second, per * account. *

* * @param listTagsRequest * @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 ListTags operation returned by the service. * @sample AmazonDaxAsyncHandler.ListTags * @see AWS API * Documentation */ java.util.concurrent.Future listTagsAsync(ListTagsRequest listTagsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Reboots a single node of a DAX cluster. The reboot action takes place as soon as possible. During the reboot, the * node status is set to REBOOTING. *

* *

* RebootNode restarts the DAX engine process and does not remove the contents of the cache. *

*
* * @param rebootNodeRequest * @return A Java Future containing the result of the RebootNode operation returned by the service. * @sample AmazonDaxAsync.RebootNode * @see AWS API * Documentation */ java.util.concurrent.Future rebootNodeAsync(RebootNodeRequest rebootNodeRequest); /** *

* Reboots a single node of a DAX cluster. The reboot action takes place as soon as possible. During the reboot, the * node status is set to REBOOTING. *

* *

* RebootNode restarts the DAX engine process and does not remove the contents of the cache. *

*
* * @param rebootNodeRequest * @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 RebootNode operation returned by the service. * @sample AmazonDaxAsyncHandler.RebootNode * @see AWS API * Documentation */ java.util.concurrent.Future rebootNodeAsync(RebootNodeRequest rebootNodeRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Associates a set of tags with a DAX resource. You can call TagResource up to 5 times per second, per * account. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonDaxAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* Associates a set of tags with a DAX resource. You can call TagResource up to 5 times per second, per * account. *

* * @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 AmazonDaxAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes the association of tags from a DAX resource. You can call UntagResource up to 5 times per * second, per account. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonDaxAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Removes the association of tags from a DAX resource. You can call UntagResource up to 5 times per * second, per account. *

* * @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 AmazonDaxAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Modifies the settings for a DAX cluster. You can use this action to change one or more cluster configuration * parameters by specifying the parameters and the new values. *

* * @param updateClusterRequest * @return A Java Future containing the result of the UpdateCluster operation returned by the service. * @sample AmazonDaxAsync.UpdateCluster * @see AWS API * Documentation */ java.util.concurrent.Future updateClusterAsync(UpdateClusterRequest updateClusterRequest); /** *

* Modifies the settings for a DAX cluster. You can use this action to change one or more cluster configuration * parameters by specifying the parameters and the new values. *

* * @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 AmazonDaxAsyncHandler.UpdateCluster * @see AWS API * Documentation */ java.util.concurrent.Future updateClusterAsync(UpdateClusterRequest updateClusterRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Modifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by * submitting a list parameter name and value pairs. *

* * @param updateParameterGroupRequest * @return A Java Future containing the result of the UpdateParameterGroup operation returned by the service. * @sample AmazonDaxAsync.UpdateParameterGroup * @see AWS API * Documentation */ java.util.concurrent.Future updateParameterGroupAsync(UpdateParameterGroupRequest updateParameterGroupRequest); /** *

* Modifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by * submitting a list parameter name and value pairs. *

* * @param updateParameterGroupRequest * @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 UpdateParameterGroup operation returned by the service. * @sample AmazonDaxAsyncHandler.UpdateParameterGroup * @see AWS API * Documentation */ java.util.concurrent.Future updateParameterGroupAsync(UpdateParameterGroupRequest updateParameterGroupRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Modifies an existing subnet group. *

* * @param updateSubnetGroupRequest * @return A Java Future containing the result of the UpdateSubnetGroup operation returned by the service. * @sample AmazonDaxAsync.UpdateSubnetGroup * @see AWS API * Documentation */ java.util.concurrent.Future updateSubnetGroupAsync(UpdateSubnetGroupRequest updateSubnetGroupRequest); /** *

* Modifies an existing subnet group. *

* * @param updateSubnetGroupRequest * @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 UpdateSubnetGroup operation returned by the service. * @sample AmazonDaxAsyncHandler.UpdateSubnetGroup * @see AWS API * Documentation */ java.util.concurrent.Future updateSubnetGroupAsync(UpdateSubnetGroupRequest updateSubnetGroupRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }