/* * 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.elasticloadbalancingv2; import javax.annotation.Generated; import com.amazonaws.services.elasticloadbalancingv2.model.*; /** * Interface for accessing Elastic Load Balancing v2 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.elasticloadbalancingv2.AbstractAmazonElasticLoadBalancingAsync} instead. *
*
*
* A load balancer distributes incoming traffic across targets, such as your EC2 instances. This enables you to increase * the availability of your application. The load balancer also monitors the health of its registered targets and * ensures that it routes traffic only to healthy targets. You configure your load balancer to accept incoming traffic * by specifying one or more listeners, which are configured with a protocol and port number for connections from * clients to the load balancer. You configure a target group with a protocol and port number for connections from the * load balancer to the targets, and with health check settings to be used when checking the health status of the * targets. *
** Elastic Load Balancing supports the following types of load balancers: Application Load Balancers, Network Load * Balancers, Gateway Load Balancers, and Classic Load Balancers. This reference covers the following load balancer * types: *
** Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and HTTPS. *
** Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and UDP. *
** Gateway Load Balancer - Operates at the network layer (layer 3). *
** For more information, see the Elastic * Load Balancing User Guide. *
** All Elastic Load Balancing operations are idempotent, which means that they complete at most one time. If you repeat * an operation, it succeeds. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonElasticLoadBalancingAsync extends AmazonElasticLoadBalancing { /** ** Adds the specified SSL server certificate to the certificate list for the specified HTTPS or TLS listener. *
** If the certificate in already in the certificate list, the call is successful but the certificate is not added * again. *
** For more information, see HTTPS * listeners in the Application Load Balancers Guide or TLS listeners * in the Network Load Balancers Guide. *
* * @param addListenerCertificatesRequest * @return A Java Future containing the result of the AddListenerCertificates operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.AddListenerCertificates * @see AWS API Documentation */ java.util.concurrent.Future* Adds the specified SSL server certificate to the certificate list for the specified HTTPS or TLS listener. *
** If the certificate in already in the certificate list, the call is successful but the certificate is not added * again. *
** For more information, see HTTPS * listeners in the Application Load Balancers Guide or TLS listeners * in the Network Load Balancers Guide. *
* * @param addListenerCertificatesRequest * @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 AddListenerCertificates operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.AddListenerCertificates * @see AWS API Documentation */ java.util.concurrent.Future* Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your Application Load * Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, and rules. *
*
* Each tag consists of a key and an optional value. If a resource already has a tag with the same key,
* AddTags
updates its value.
*
* Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your Application Load * Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, and rules. *
*
* Each tag consists of a key and an optional value. If a resource already has a tag with the same key,
* AddTags
updates its value.
*
* Creates a listener for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. *
** For more information, see the following: *
** This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple * listeners with the same settings, each call succeeds. *
* * @param createListenerRequest * @return A Java Future containing the result of the CreateListener operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.CreateListener * @see AWS API Documentation */ java.util.concurrent.Future* Creates a listener for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. *
** For more information, see the following: *
** This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple * listeners with the same settings, each call succeeds. *
* * @param createListenerRequest * @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 CreateListener operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.CreateListener * @see AWS API Documentation */ java.util.concurrent.Future* Creates an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. *
** For more information, see the following: *
** This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple * load balancers with the same settings, each call succeeds. *
* * @param createLoadBalancerRequest * @return A Java Future containing the result of the CreateLoadBalancer operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.CreateLoadBalancer * @see AWS API Documentation */ java.util.concurrent.Future* Creates an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. *
** For more information, see the following: *
** This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple * load balancers with the same settings, each call succeeds. *
* * @param createLoadBalancerRequest * @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 CreateLoadBalancer operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.CreateLoadBalancer * @see AWS API Documentation */ java.util.concurrent.Future* Creates a rule for the specified listener. The listener must be associated with an Application Load Balancer. *
** Each rule consists of a priority, one or more actions, and one or more conditions. Rules are evaluated in * priority order, from the lowest value to the highest value. When the conditions for a rule are met, its actions * are performed. If the conditions for no rules are met, the actions for the default rule are performed. For more * information, see Listener rules in the Application Load Balancers Guide. *
* * @param createRuleRequest * @return A Java Future containing the result of the CreateRule operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.CreateRule * @see AWS API Documentation */ java.util.concurrent.Future* Creates a rule for the specified listener. The listener must be associated with an Application Load Balancer. *
** Each rule consists of a priority, one or more actions, and one or more conditions. Rules are evaluated in * priority order, from the lowest value to the highest value. When the conditions for a rule are met, its actions * are performed. If the conditions for no rules are met, the actions for the default rule are performed. For more * information, see Listener rules in the Application Load Balancers Guide. *
* * @param createRuleRequest * @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 CreateRule operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.CreateRule * @see AWS API Documentation */ java.util.concurrent.Future* Creates a target group. *
** For more information, see the following: *
** This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple * target groups with the same settings, each call succeeds. *
* * @param createTargetGroupRequest * @return A Java Future containing the result of the CreateTargetGroup operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.CreateTargetGroup * @see AWS API Documentation */ java.util.concurrent.Future* Creates a target group. *
** For more information, see the following: *
** This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple * target groups with the same settings, each call succeeds. *
* * @param createTargetGroupRequest * @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 CreateTargetGroup operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.CreateTargetGroup * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the specified listener. *
** Alternatively, your listener is deleted when you delete the load balancer to which it is attached. *
* * @param deleteListenerRequest * @return A Java Future containing the result of the DeleteListener operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.DeleteListener * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the specified listener. *
** Alternatively, your listener is deleted when you delete the load balancer to which it is attached. *
* * @param deleteListenerRequest * @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 DeleteListener operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.DeleteListener * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. Deleting a load * balancer also deletes its listeners. *
** You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has * already been deleted, the call succeeds. *
** Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run * and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or * terminate them. *
* * @param deleteLoadBalancerRequest * @return A Java Future containing the result of the DeleteLoadBalancer operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.DeleteLoadBalancer * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. Deleting a load * balancer also deletes its listeners. *
** You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has * already been deleted, the call succeeds. *
** Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run * and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or * terminate them. *
* * @param deleteLoadBalancerRequest * @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 DeleteLoadBalancer operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.DeleteLoadBalancer * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the specified rule. *
** You can't delete the default rule. *
* * @param deleteRuleRequest * @return A Java Future containing the result of the DeleteRule operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.DeleteRule * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the specified rule. *
** You can't delete the default rule. *
* * @param deleteRuleRequest * @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 DeleteRule operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.DeleteRule * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the specified target group. *
** You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any * associated health checks. Deleting a target group does not affect its registered targets. For example, any EC2 * instances continue to run until you stop or terminate them. *
* * @param deleteTargetGroupRequest * @return A Java Future containing the result of the DeleteTargetGroup operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.DeleteTargetGroup * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the specified target group. *
** You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any * associated health checks. Deleting a target group does not affect its registered targets. For example, any EC2 * instances continue to run until you stop or terminate them. *
* * @param deleteTargetGroupRequest * @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 DeleteTargetGroup operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.DeleteTargetGroup * @see AWS API Documentation */ java.util.concurrent.Future* Deregisters the specified targets from the specified target group. After the targets are deregistered, they no * longer receive traffic from the load balancer. *
* * @param deregisterTargetsRequest * @return A Java Future containing the result of the DeregisterTargets operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.DeregisterTargets * @see AWS API Documentation */ java.util.concurrent.Future* Deregisters the specified targets from the specified target group. After the targets are deregistered, they no * longer receive traffic from the load balancer. *
* * @param deregisterTargetsRequest * @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 DeregisterTargets operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.DeregisterTargets * @see AWS API Documentation */ java.util.concurrent.Future* Describes the current Elastic Load Balancing resource limits for your Amazon Web Services account. *
** For more information, see the following: *
** Describes the current Elastic Load Balancing resource limits for your Amazon Web Services account. *
** For more information, see the following: *
** Describes the default certificate and the certificate list for the specified HTTPS or TLS listener. *
*
* If the default certificate is also in the certificate list, it appears twice in the results (once with
* IsDefault
set to true and once with IsDefault
set to false).
*
* For more information, see SSL certificates in the Application Load Balancers Guide or Server certificates in the Network Load Balancers Guide. *
* * @param describeListenerCertificatesRequest * @return A Java Future containing the result of the DescribeListenerCertificates operation returned by the * service. * @sample AmazonElasticLoadBalancingAsync.DescribeListenerCertificates * @see AWS API Documentation */ java.util.concurrent.Future* Describes the default certificate and the certificate list for the specified HTTPS or TLS listener. *
*
* If the default certificate is also in the certificate list, it appears twice in the results (once with
* IsDefault
set to true and once with IsDefault
set to false).
*
* For more information, see SSL certificates in the Application Load Balancers Guide or Server certificates in the Network Load Balancers Guide. *
* * @param describeListenerCertificatesRequest * @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 DescribeListenerCertificates operation returned by the * service. * @sample AmazonElasticLoadBalancingAsyncHandler.DescribeListenerCertificates * @see AWS API Documentation */ java.util.concurrent.Future* Describes the specified listeners or the listeners for the specified Application Load Balancer, Network Load * Balancer, or Gateway Load Balancer. You must specify either a load balancer or one or more listeners. *
* * @param describeListenersRequest * @return A Java Future containing the result of the DescribeListeners operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.DescribeListeners * @see AWS API Documentation */ java.util.concurrent.Future* Describes the specified listeners or the listeners for the specified Application Load Balancer, Network Load * Balancer, or Gateway Load Balancer. You must specify either a load balancer or one or more listeners. *
* * @param describeListenersRequest * @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 DescribeListeners operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.DescribeListeners * @see AWS API Documentation */ java.util.concurrent.Future* Describes the attributes for the specified Application Load Balancer, Network Load Balancer, or Gateway Load * Balancer. *
** For more information, see the following: *
** Load balancer attributes in the Application Load Balancers Guide *
** Load balancer attributes in the Network Load Balancers Guide *
** Load balancer attributes in the Gateway Load Balancers Guide *
** Describes the attributes for the specified Application Load Balancer, Network Load Balancer, or Gateway Load * Balancer. *
** For more information, see the following: *
** Load balancer attributes in the Application Load Balancers Guide *
** Load balancer attributes in the Network Load Balancers Guide *
** Load balancer attributes in the Gateway Load Balancers Guide *
** Describes the specified load balancers or all of your load balancers. *
* * @param describeLoadBalancersRequest * @return A Java Future containing the result of the DescribeLoadBalancers operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.DescribeLoadBalancers * @see AWS API Documentation */ java.util.concurrent.Future* Describes the specified load balancers or all of your load balancers. *
* * @param describeLoadBalancersRequest * @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 DescribeLoadBalancers operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.DescribeLoadBalancers * @see AWS API Documentation */ java.util.concurrent.Future* Describes the specified rules or the rules for the specified listener. You must specify either a listener or one * or more rules. *
* * @param describeRulesRequest * @return A Java Future containing the result of the DescribeRules operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.DescribeRules * @see AWS API Documentation */ java.util.concurrent.Future* Describes the specified rules or the rules for the specified listener. You must specify either a listener or one * or more rules. *
* * @param describeRulesRequest * @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 DescribeRules operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.DescribeRules * @see AWS API Documentation */ java.util.concurrent.Future* Describes the specified policies or all policies used for SSL negotiation. *
** For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide. *
* * @param describeSSLPoliciesRequest * @return A Java Future containing the result of the DescribeSSLPolicies operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.DescribeSSLPolicies * @see AWS API Documentation */ java.util.concurrent.Future* Describes the specified policies or all policies used for SSL negotiation. *
** For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide. *
* * @param describeSSLPoliciesRequest * @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 DescribeSSLPolicies operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.DescribeSSLPolicies * @see AWS API Documentation */ java.util.concurrent.Future* Describes the tags for the specified Elastic Load Balancing resources. You can describe the tags for one or more * Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules. *
* * @param describeTagsRequest * @return A Java Future containing the result of the DescribeTags operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.DescribeTags * @see AWS API Documentation */ java.util.concurrent.Future* Describes the tags for the specified Elastic Load Balancing resources. You can describe the tags for one or more * Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules. *
* * @param describeTagsRequest * @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 DescribeTags operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.DescribeTags * @see AWS API Documentation */ java.util.concurrent.Future* Describes the attributes for the specified target group. *
** For more information, see the following: *
** Target group attributes in the Application Load Balancers Guide *
** Target group attributes in the Network Load Balancers Guide *
** Target group attributes in the Gateway Load Balancers Guide *
** Describes the attributes for the specified target group. *
** For more information, see the following: *
** Target group attributes in the Application Load Balancers Guide *
** Target group attributes in the Network Load Balancers Guide *
** Target group attributes in the Gateway Load Balancers Guide *
** Describes the specified target groups or all of your target groups. By default, all target groups are described. * Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the * names of one or more target groups, or the ARNs of one or more target groups. *
* * @param describeTargetGroupsRequest * @return A Java Future containing the result of the DescribeTargetGroups operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.DescribeTargetGroups * @see AWS API Documentation */ java.util.concurrent.Future* Describes the specified target groups or all of your target groups. By default, all target groups are described. * Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the * names of one or more target groups, or the ARNs of one or more target groups. *
* * @param describeTargetGroupsRequest * @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 DescribeTargetGroups operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.DescribeTargetGroups * @see AWS API Documentation */ java.util.concurrent.Future* Describes the health of the specified targets or all of your targets. *
* * @param describeTargetHealthRequest * @return A Java Future containing the result of the DescribeTargetHealth operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.DescribeTargetHealth * @see AWS API Documentation */ java.util.concurrent.Future* Describes the health of the specified targets or all of your targets. *
* * @param describeTargetHealthRequest * @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 DescribeTargetHealth operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.DescribeTargetHealth * @see AWS API Documentation */ java.util.concurrent.Future* Replaces the specified properties of the specified listener. Any properties that you do not specify remain * unchanged. *
** Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy and default certificate * properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the security policy * and default certificate properties. *
** To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire * list. For example, to add an action, specify a list with the current actions plus the new action. *
* * @param modifyListenerRequest * @return A Java Future containing the result of the ModifyListener operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.ModifyListener * @see AWS API Documentation */ java.util.concurrent.Future* Replaces the specified properties of the specified listener. Any properties that you do not specify remain * unchanged. *
** Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy and default certificate * properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the security policy * and default certificate properties. *
** To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire * list. For example, to add an action, specify a list with the current actions plus the new action. *
* * @param modifyListenerRequest * @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 ModifyListener operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.ModifyListener * @see AWS API Documentation */ java.util.concurrent.Future* Modifies the specified attributes of the specified Application Load Balancer, Network Load Balancer, or Gateway * Load Balancer. *
** If any of the specified attributes can't be modified as requested, the call fails. Any existing attributes that * you do not modify retain their current values. *
* * @param modifyLoadBalancerAttributesRequest * @return A Java Future containing the result of the ModifyLoadBalancerAttributes operation returned by the * service. * @sample AmazonElasticLoadBalancingAsync.ModifyLoadBalancerAttributes * @see AWS API Documentation */ java.util.concurrent.Future* Modifies the specified attributes of the specified Application Load Balancer, Network Load Balancer, or Gateway * Load Balancer. *
** If any of the specified attributes can't be modified as requested, the call fails. Any existing attributes that * you do not modify retain their current values. *
* * @param modifyLoadBalancerAttributesRequest * @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 ModifyLoadBalancerAttributes operation returned by the * service. * @sample AmazonElasticLoadBalancingAsyncHandler.ModifyLoadBalancerAttributes * @see AWS API Documentation */ java.util.concurrent.Future* Replaces the specified properties of the specified rule. Any properties that you do not specify are unchanged. *
** To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire * list. For example, to add an action, specify a list with the current actions plus the new action. *
* * @param modifyRuleRequest * @return A Java Future containing the result of the ModifyRule operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.ModifyRule * @see AWS API Documentation */ java.util.concurrent.Future* Replaces the specified properties of the specified rule. Any properties that you do not specify are unchanged. *
** To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire * list. For example, to add an action, specify a list with the current actions plus the new action. *
* * @param modifyRuleRequest * @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 ModifyRule operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.ModifyRule * @see AWS API Documentation */ java.util.concurrent.Future* Modifies the health checks used when evaluating the health state of the targets in the specified target group. *
* * @param modifyTargetGroupRequest * @return A Java Future containing the result of the ModifyTargetGroup operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.ModifyTargetGroup * @see AWS API Documentation */ java.util.concurrent.Future* Modifies the health checks used when evaluating the health state of the targets in the specified target group. *
* * @param modifyTargetGroupRequest * @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 ModifyTargetGroup operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.ModifyTargetGroup * @see AWS API Documentation */ java.util.concurrent.Future* Modifies the specified attributes of the specified target group. *
* * @param modifyTargetGroupAttributesRequest * @return A Java Future containing the result of the ModifyTargetGroupAttributes operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.ModifyTargetGroupAttributes * @see AWS API Documentation */ java.util.concurrent.Future* Modifies the specified attributes of the specified target group. *
* * @param modifyTargetGroupAttributesRequest * @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 ModifyTargetGroupAttributes operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.ModifyTargetGroupAttributes * @see AWS API Documentation */ java.util.concurrent.Future* Registers the specified targets with the specified target group. *
*
* If the target is an EC2 instance, it must be in the running
state when you register it.
*
* By default, the load balancer routes requests to registered targets using the protocol and port for the target * group. Alternatively, you can override the port for a target when you register it. You can register each EC2 * instance or IP address with the same target group multiple times using different ports. *
** With a Network Load Balancer, you cannot register instances by instance ID if they have the following instance * types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can register instances of * these types by IP address. *
* * @param registerTargetsRequest * @return A Java Future containing the result of the RegisterTargets operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.RegisterTargets * @see AWS API Documentation */ java.util.concurrent.Future* Registers the specified targets with the specified target group. *
*
* If the target is an EC2 instance, it must be in the running
state when you register it.
*
* By default, the load balancer routes requests to registered targets using the protocol and port for the target * group. Alternatively, you can override the port for a target when you register it. You can register each EC2 * instance or IP address with the same target group multiple times using different ports. *
** With a Network Load Balancer, you cannot register instances by instance ID if they have the following instance * types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can register instances of * these types by IP address. *
* * @param registerTargetsRequest * @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 RegisterTargets operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.RegisterTargets * @see AWS API Documentation */ java.util.concurrent.Future* Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener. *
* * @param removeListenerCertificatesRequest * @return A Java Future containing the result of the RemoveListenerCertificates operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.RemoveListenerCertificates * @see AWS API Documentation */ java.util.concurrent.Future* Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener. *
* * @param removeListenerCertificatesRequest * @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 RemoveListenerCertificates operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.RemoveListenerCertificates * @see AWS API Documentation */ java.util.concurrent.Future* Removes the specified tags from the specified Elastic Load Balancing resources. You can remove the tags for one * or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or * rules. *
* * @param removeTagsRequest * @return A Java Future containing the result of the RemoveTags operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.RemoveTags * @see AWS API Documentation */ java.util.concurrent.Future* Removes the specified tags from the specified Elastic Load Balancing resources. You can remove the tags for one * or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or * rules. *
* * @param removeTagsRequest * @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 RemoveTags operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.RemoveTags * @see AWS API Documentation */ java.util.concurrent.Future* Sets the type of IP addresses used by the subnets of the specified load balancer. *
* * @param setIpAddressTypeRequest * @return A Java Future containing the result of the SetIpAddressType operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.SetIpAddressType * @see AWS API Documentation */ java.util.concurrent.Future* Sets the type of IP addresses used by the subnets of the specified load balancer. *
* * @param setIpAddressTypeRequest * @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 SetIpAddressType operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.SetIpAddressType * @see AWS API Documentation */ java.util.concurrent.Future* Sets the priorities of the specified rules. *
** You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that * you do not specify retain their current priority. *
* * @param setRulePrioritiesRequest * @return A Java Future containing the result of the SetRulePriorities operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.SetRulePriorities * @see AWS API Documentation */ java.util.concurrent.Future* Sets the priorities of the specified rules. *
** You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that * you do not specify retain their current priority. *
* * @param setRulePrioritiesRequest * @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 SetRulePriorities operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.SetRulePriorities * @see AWS API Documentation */ java.util.concurrent.Future* Associates the specified security groups with the specified Application Load Balancer. The specified security * groups override the previously associated security groups. *
** You can't specify a security group for a Network Load Balancer or Gateway Load Balancer. *
* * @param setSecurityGroupsRequest * @return A Java Future containing the result of the SetSecurityGroups operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.SetSecurityGroups * @see AWS API Documentation */ java.util.concurrent.Future* Associates the specified security groups with the specified Application Load Balancer. The specified security * groups override the previously associated security groups. *
** You can't specify a security group for a Network Load Balancer or Gateway Load Balancer. *
* * @param setSecurityGroupsRequest * @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 SetSecurityGroups operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.SetSecurityGroups * @see AWS API Documentation */ java.util.concurrent.Future* Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer or * Network Load Balancer. The specified subnets replace the previously enabled subnets. *
** When you specify subnets for a Network Load Balancer, you must include all subnets that were enabled previously, * with their existing configurations, plus any additional subnets. *
* * @param setSubnetsRequest * @return A Java Future containing the result of the SetSubnets operation returned by the service. * @sample AmazonElasticLoadBalancingAsync.SetSubnets * @see AWS API Documentation */ java.util.concurrent.Future* Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer or * Network Load Balancer. The specified subnets replace the previously enabled subnets. *
** When you specify subnets for a Network Load Balancer, you must include all subnets that were enabled previously, * with their existing configurations, plus any additional subnets. *
* * @param setSubnetsRequest * @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 SetSubnets operation returned by the service. * @sample AmazonElasticLoadBalancingAsyncHandler.SetSubnets * @see AWS API Documentation */ java.util.concurrent.Future