@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonElasticLoadBalancingAsync extends AbstractAmazonElasticLoadBalancing implements AmazonElasticLoadBalancingAsync
AmazonElasticLoadBalancingAsync
. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
addListenerCertificates, addTags, createListener, createLoadBalancer, createRule, createTargetGroup, deleteListener, deleteLoadBalancer, deleteRule, deleteTargetGroup, deregisterTargets, describeAccountLimits, describeListenerCertificates, describeListeners, describeLoadBalancerAttributes, describeLoadBalancers, describeRules, describeSSLPolicies, describeTags, describeTargetGroupAttributes, describeTargetGroups, describeTargetHealth, getCachedResponseMetadata, modifyListener, modifyLoadBalancerAttributes, modifyRule, modifyTargetGroup, modifyTargetGroupAttributes, registerTargets, removeListenerCertificates, removeTags, setEndpoint, setIpAddressType, setRegion, setRulePriorities, setSecurityGroups, setSubnets, shutdown, waiters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListenerCertificates, addTags, createListener, createLoadBalancer, createRule, createTargetGroup, deleteListener, deleteLoadBalancer, deleteRule, deleteTargetGroup, deregisterTargets, describeAccountLimits, describeListenerCertificates, describeListeners, describeLoadBalancerAttributes, describeLoadBalancers, describeRules, describeSSLPolicies, describeTags, describeTargetGroupAttributes, describeTargetGroups, describeTargetHealth, getCachedResponseMetadata, modifyListener, modifyLoadBalancerAttributes, modifyRule, modifyTargetGroup, modifyTargetGroupAttributes, registerTargets, removeListenerCertificates, removeTags, setEndpoint, setIpAddressType, setRegion, setRulePriorities, setSecurityGroups, setSubnets, shutdown, waiters
public Future<AddListenerCertificatesResult> addListenerCertificatesAsync(AddListenerCertificatesRequest request)
AmazonElasticLoadBalancingAsync
Adds the specified certificate to the specified secure listener.
If the certificate was already added, the call is successful but the certificate is not added again.
To list the certificates for your listener, use DescribeListenerCertificates. To remove certificates from your listener, use RemoveListenerCertificates.
addListenerCertificatesAsync
in interface AmazonElasticLoadBalancingAsync
public Future<AddListenerCertificatesResult> addListenerCertificatesAsync(AddListenerCertificatesRequest request, AsyncHandler<AddListenerCertificatesRequest,AddListenerCertificatesResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Adds the specified certificate to the specified secure listener.
If the certificate was already added, the call is successful but the certificate is not added again.
To list the certificates for your listener, use DescribeListenerCertificates. To remove certificates from your listener, use RemoveListenerCertificates.
addListenerCertificatesAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<AddTagsResult> addTagsAsync(AddTagsRequest request)
AmazonElasticLoadBalancingAsync
Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your Application Load Balancers, Network Load Balancers, and your target groups.
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.
To list the current tags for your resources, use DescribeTags. To remove tags from your resources, use RemoveTags.
addTagsAsync
in interface AmazonElasticLoadBalancingAsync
public Future<AddTagsResult> addTagsAsync(AddTagsRequest request, AsyncHandler<AddTagsRequest,AddTagsResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your Application Load Balancers, Network Load Balancers, and your target groups.
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.
To list the current tags for your resources, use DescribeTags. To remove tags from your resources, use RemoveTags.
addTagsAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<CreateListenerResult> createListenerAsync(CreateListenerRequest request)
AmazonElasticLoadBalancingAsync
Creates a listener for the specified Application Load Balancer or Network Load Balancer.
To update a listener, use ModifyListener. When you are finished with a listener, you can delete it using DeleteListener. If you are finished with both the listener and the load balancer, you can delete them both using DeleteLoadBalancer.
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.
For more information, see Listeners for Your Application Load Balancers in the Application Load Balancers Guide and Listeners for Your Network Load Balancers in the Network Load Balancers Guide.
createListenerAsync
in interface AmazonElasticLoadBalancingAsync
public Future<CreateListenerResult> createListenerAsync(CreateListenerRequest request, AsyncHandler<CreateListenerRequest,CreateListenerResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Creates a listener for the specified Application Load Balancer or Network Load Balancer.
To update a listener, use ModifyListener. When you are finished with a listener, you can delete it using DeleteListener. If you are finished with both the listener and the load balancer, you can delete them both using DeleteLoadBalancer.
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.
For more information, see Listeners for Your Application Load Balancers in the Application Load Balancers Guide and Listeners for Your Network Load Balancers in the Network Load Balancers Guide.
createListenerAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<CreateLoadBalancerResult> createLoadBalancerAsync(CreateLoadBalancerRequest request)
AmazonElasticLoadBalancingAsync
Creates an Application Load Balancer or a Network Load Balancer.
When you create a load balancer, you can specify security groups, subnets, IP address type, and tags. Otherwise, you could do so later using SetSecurityGroups, SetSubnets, SetIpAddressType, and AddTags.
To create listeners for your load balancer, use CreateListener. To describe your current load balancers, see DescribeLoadBalancers. When you are finished with a load balancer, you can delete it using DeleteLoadBalancer.
For limit information, see Limits for Your Application Load Balancer in the Application Load Balancers Guide and Limits for Your Network Load Balancer in the Network Load Balancers Guide.
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.
For more information, see Application Load Balancers in the Application Load Balancers Guide and Network Load Balancers in the Network Load Balancers Guide.
createLoadBalancerAsync
in interface AmazonElasticLoadBalancingAsync
public Future<CreateLoadBalancerResult> createLoadBalancerAsync(CreateLoadBalancerRequest request, AsyncHandler<CreateLoadBalancerRequest,CreateLoadBalancerResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Creates an Application Load Balancer or a Network Load Balancer.
When you create a load balancer, you can specify security groups, subnets, IP address type, and tags. Otherwise, you could do so later using SetSecurityGroups, SetSubnets, SetIpAddressType, and AddTags.
To create listeners for your load balancer, use CreateListener. To describe your current load balancers, see DescribeLoadBalancers. When you are finished with a load balancer, you can delete it using DeleteLoadBalancer.
For limit information, see Limits for Your Application Load Balancer in the Application Load Balancers Guide and Limits for Your Network Load Balancer in the Network Load Balancers Guide.
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.
For more information, see Application Load Balancers in the Application Load Balancers Guide and Network Load Balancers in the Network Load Balancers Guide.
createLoadBalancerAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<CreateRuleResult> createRuleAsync(CreateRuleRequest request)
AmazonElasticLoadBalancingAsync
Creates a rule for the specified listener. The listener must be associated with an Application Load Balancer.
Rules are evaluated in priority order, from the lowest value to the highest value. When the condition for a rule is met, the specified action is taken. If no conditions are met, the action for the default rule is taken. For more information, see Listener Rules in the Application Load Balancers Guide.
To view your current rules, use DescribeRules. To update a rule, use ModifyRule. To set the priorities of your rules, use SetRulePriorities. To delete a rule, use DeleteRule.
createRuleAsync
in interface AmazonElasticLoadBalancingAsync
public Future<CreateRuleResult> createRuleAsync(CreateRuleRequest request, AsyncHandler<CreateRuleRequest,CreateRuleResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Creates a rule for the specified listener. The listener must be associated with an Application Load Balancer.
Rules are evaluated in priority order, from the lowest value to the highest value. When the condition for a rule is met, the specified action is taken. If no conditions are met, the action for the default rule is taken. For more information, see Listener Rules in the Application Load Balancers Guide.
To view your current rules, use DescribeRules. To update a rule, use ModifyRule. To set the priorities of your rules, use SetRulePriorities. To delete a rule, use DeleteRule.
createRuleAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<CreateTargetGroupResult> createTargetGroupAsync(CreateTargetGroupRequest request)
AmazonElasticLoadBalancingAsync
Creates a target group.
To register targets with the target group, use RegisterTargets. To update the health check settings for the target group, use ModifyTargetGroup. To monitor the health of targets in the target group, use DescribeTargetHealth.
To route traffic to the targets in a target group, specify the target group in an action using CreateListener or CreateRule.
To delete a target group, use DeleteTargetGroup.
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.
For more information, see Target Groups for Your Application Load Balancers in the Application Load Balancers Guide or Target Groups for Your Network Load Balancers in the Network Load Balancers Guide.
createTargetGroupAsync
in interface AmazonElasticLoadBalancingAsync
public Future<CreateTargetGroupResult> createTargetGroupAsync(CreateTargetGroupRequest request, AsyncHandler<CreateTargetGroupRequest,CreateTargetGroupResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Creates a target group.
To register targets with the target group, use RegisterTargets. To update the health check settings for the target group, use ModifyTargetGroup. To monitor the health of targets in the target group, use DescribeTargetHealth.
To route traffic to the targets in a target group, specify the target group in an action using CreateListener or CreateRule.
To delete a target group, use DeleteTargetGroup.
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.
For more information, see Target Groups for Your Application Load Balancers in the Application Load Balancers Guide or Target Groups for Your Network Load Balancers in the Network Load Balancers Guide.
createTargetGroupAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DeleteListenerResult> deleteListenerAsync(DeleteListenerRequest request)
AmazonElasticLoadBalancingAsync
Deletes the specified listener.
Alternatively, your listener is deleted when you delete the load balancer it is attached to using DeleteLoadBalancer.
deleteListenerAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DeleteListenerResult> deleteListenerAsync(DeleteListenerRequest request, AsyncHandler<DeleteListenerRequest,DeleteListenerResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Deletes the specified listener.
Alternatively, your listener is deleted when you delete the load balancer it is attached to using DeleteLoadBalancer.
deleteListenerAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DeleteLoadBalancerResult> deleteLoadBalancerAsync(DeleteLoadBalancerRequest request)
AmazonElasticLoadBalancingAsync
Deletes the specified Application Load Balancer or Network Load Balancer and its attached 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.
deleteLoadBalancerAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DeleteLoadBalancerResult> deleteLoadBalancerAsync(DeleteLoadBalancerRequest request, AsyncHandler<DeleteLoadBalancerRequest,DeleteLoadBalancerResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Deletes the specified Application Load Balancer or Network Load Balancer and its attached 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.
deleteLoadBalancerAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DeleteRuleResult> deleteRuleAsync(DeleteRuleRequest request)
AmazonElasticLoadBalancingAsync
Deletes the specified rule.
deleteRuleAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DeleteRuleResult> deleteRuleAsync(DeleteRuleRequest request, AsyncHandler<DeleteRuleRequest,DeleteRuleResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Deletes the specified rule.
deleteRuleAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DeleteTargetGroupResult> deleteTargetGroupAsync(DeleteTargetGroupRequest request)
AmazonElasticLoadBalancingAsync
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.
deleteTargetGroupAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DeleteTargetGroupResult> deleteTargetGroupAsync(DeleteTargetGroupRequest request, AsyncHandler<DeleteTargetGroupRequest,DeleteTargetGroupResult> asyncHandler)
AmazonElasticLoadBalancingAsync
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.
deleteTargetGroupAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DeregisterTargetsResult> deregisterTargetsAsync(DeregisterTargetsRequest request)
AmazonElasticLoadBalancingAsync
Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.
deregisterTargetsAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DeregisterTargetsResult> deregisterTargetsAsync(DeregisterTargetsRequest request, AsyncHandler<DeregisterTargetsRequest,DeregisterTargetsResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.
deregisterTargetsAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DescribeAccountLimitsResult> describeAccountLimitsAsync(DescribeAccountLimitsRequest request)
AmazonElasticLoadBalancingAsync
Describes the current Elastic Load Balancing resource limits for your AWS account.
For more information, see Limits for Your Application Load Balancers in the Application Load Balancer Guide or Limits for Your Network Load Balancers in the Network Load Balancers Guide.
describeAccountLimitsAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DescribeAccountLimitsResult> describeAccountLimitsAsync(DescribeAccountLimitsRequest request, AsyncHandler<DescribeAccountLimitsRequest,DescribeAccountLimitsResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Describes the current Elastic Load Balancing resource limits for your AWS account.
For more information, see Limits for Your Application Load Balancers in the Application Load Balancer Guide or Limits for Your Network Load Balancers in the Network Load Balancers Guide.
describeAccountLimitsAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DescribeListenerCertificatesResult> describeListenerCertificatesAsync(DescribeListenerCertificatesRequest request)
AmazonElasticLoadBalancingAsync
Describes the certificates for the specified secure listener.
describeListenerCertificatesAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DescribeListenerCertificatesResult> describeListenerCertificatesAsync(DescribeListenerCertificatesRequest request, AsyncHandler<DescribeListenerCertificatesRequest,DescribeListenerCertificatesResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Describes the certificates for the specified secure listener.
describeListenerCertificatesAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DescribeListenersResult> describeListenersAsync(DescribeListenersRequest request)
AmazonElasticLoadBalancingAsync
Describes the specified listeners or the listeners for the specified Application Load Balancer or Network Load Balancer. You must specify either a load balancer or one or more listeners.
describeListenersAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DescribeListenersResult> describeListenersAsync(DescribeListenersRequest request, AsyncHandler<DescribeListenersRequest,DescribeListenersResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Describes the specified listeners or the listeners for the specified Application Load Balancer or Network Load Balancer. You must specify either a load balancer or one or more listeners.
describeListenersAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DescribeLoadBalancerAttributesResult> describeLoadBalancerAttributesAsync(DescribeLoadBalancerAttributesRequest request)
AmazonElasticLoadBalancingAsync
Describes the attributes for the specified Application Load Balancer or Network Load Balancer.
describeLoadBalancerAttributesAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DescribeLoadBalancerAttributesResult> describeLoadBalancerAttributesAsync(DescribeLoadBalancerAttributesRequest request, AsyncHandler<DescribeLoadBalancerAttributesRequest,DescribeLoadBalancerAttributesResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Describes the attributes for the specified Application Load Balancer or Network Load Balancer.
describeLoadBalancerAttributesAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DescribeLoadBalancersResult> describeLoadBalancersAsync(DescribeLoadBalancersRequest request)
AmazonElasticLoadBalancingAsync
Describes the specified load balancers or all of your load balancers.
To describe the listeners for a load balancer, use DescribeListeners. To describe the attributes for a load balancer, use DescribeLoadBalancerAttributes.
describeLoadBalancersAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DescribeLoadBalancersResult> describeLoadBalancersAsync(DescribeLoadBalancersRequest request, AsyncHandler<DescribeLoadBalancersRequest,DescribeLoadBalancersResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Describes the specified load balancers or all of your load balancers.
To describe the listeners for a load balancer, use DescribeListeners. To describe the attributes for a load balancer, use DescribeLoadBalancerAttributes.
describeLoadBalancersAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DescribeRulesResult> describeRulesAsync(DescribeRulesRequest request)
AmazonElasticLoadBalancingAsync
Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.
describeRulesAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DescribeRulesResult> describeRulesAsync(DescribeRulesRequest request, AsyncHandler<DescribeRulesRequest,DescribeRulesResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.
describeRulesAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DescribeSSLPoliciesResult> describeSSLPoliciesAsync(DescribeSSLPoliciesRequest request)
AmazonElasticLoadBalancingAsync
Describes the specified policies or all policies used for SSL negotiation.
For more information, see Security Policies in the Application Load Balancers Guide.
describeSSLPoliciesAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DescribeSSLPoliciesResult> describeSSLPoliciesAsync(DescribeSSLPoliciesRequest request, AsyncHandler<DescribeSSLPoliciesRequest,DescribeSSLPoliciesResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Describes the specified policies or all policies used for SSL negotiation.
For more information, see Security Policies in the Application Load Balancers Guide.
describeSSLPoliciesAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest request)
AmazonElasticLoadBalancingAsync
Describes the tags for the specified resources. You can describe the tags for one or more Application Load Balancers, Network Load Balancers, and target groups.
describeTagsAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest request, AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Describes the tags for the specified resources. You can describe the tags for one or more Application Load Balancers, Network Load Balancers, and target groups.
describeTagsAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DescribeTargetGroupAttributesResult> describeTargetGroupAttributesAsync(DescribeTargetGroupAttributesRequest request)
AmazonElasticLoadBalancingAsync
Describes the attributes for the specified target group.
describeTargetGroupAttributesAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DescribeTargetGroupAttributesResult> describeTargetGroupAttributesAsync(DescribeTargetGroupAttributesRequest request, AsyncHandler<DescribeTargetGroupAttributesRequest,DescribeTargetGroupAttributesResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Describes the attributes for the specified target group.
describeTargetGroupAttributesAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DescribeTargetGroupsResult> describeTargetGroupsAsync(DescribeTargetGroupsRequest request)
AmazonElasticLoadBalancingAsync
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.
To describe the targets for a target group, use DescribeTargetHealth. To describe the attributes of a target group, use DescribeTargetGroupAttributes.
describeTargetGroupsAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DescribeTargetGroupsResult> describeTargetGroupsAsync(DescribeTargetGroupsRequest request, AsyncHandler<DescribeTargetGroupsRequest,DescribeTargetGroupsResult> asyncHandler)
AmazonElasticLoadBalancingAsync
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.
To describe the targets for a target group, use DescribeTargetHealth. To describe the attributes of a target group, use DescribeTargetGroupAttributes.
describeTargetGroupsAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<DescribeTargetHealthResult> describeTargetHealthAsync(DescribeTargetHealthRequest request)
AmazonElasticLoadBalancingAsync
Describes the health of the specified targets or all of your targets.
describeTargetHealthAsync
in interface AmazonElasticLoadBalancingAsync
public Future<DescribeTargetHealthResult> describeTargetHealthAsync(DescribeTargetHealthRequest request, AsyncHandler<DescribeTargetHealthRequest,DescribeTargetHealthResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Describes the health of the specified targets or all of your targets.
describeTargetHealthAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<ModifyListenerResult> modifyListenerAsync(ModifyListenerRequest request)
AmazonElasticLoadBalancingAsync
Modifies the specified properties of the specified listener.
Any properties that you do not specify retain their current values. However, changing the protocol from HTTPS to HTTP removes the security policy and SSL certificate properties. If you change the protocol from HTTP to HTTPS, you must add the security policy and server certificate.
modifyListenerAsync
in interface AmazonElasticLoadBalancingAsync
public Future<ModifyListenerResult> modifyListenerAsync(ModifyListenerRequest request, AsyncHandler<ModifyListenerRequest,ModifyListenerResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Modifies the specified properties of the specified listener.
Any properties that you do not specify retain their current values. However, changing the protocol from HTTPS to HTTP removes the security policy and SSL certificate properties. If you change the protocol from HTTP to HTTPS, you must add the security policy and server certificate.
modifyListenerAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<ModifyLoadBalancerAttributesResult> modifyLoadBalancerAttributesAsync(ModifyLoadBalancerAttributesRequest request)
AmazonElasticLoadBalancingAsync
Modifies the specified attributes of the specified Application Load Balancer or Network 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.
modifyLoadBalancerAttributesAsync
in interface AmazonElasticLoadBalancingAsync
public Future<ModifyLoadBalancerAttributesResult> modifyLoadBalancerAttributesAsync(ModifyLoadBalancerAttributesRequest request, AsyncHandler<ModifyLoadBalancerAttributesRequest,ModifyLoadBalancerAttributesResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Modifies the specified attributes of the specified Application Load Balancer or Network 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.
modifyLoadBalancerAttributesAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<ModifyRuleResult> modifyRuleAsync(ModifyRuleRequest request)
AmazonElasticLoadBalancingAsync
Modifies the specified rule.
Any existing properties that you do not modify retain their current values.
To modify the default action, use ModifyListener.
modifyRuleAsync
in interface AmazonElasticLoadBalancingAsync
public Future<ModifyRuleResult> modifyRuleAsync(ModifyRuleRequest request, AsyncHandler<ModifyRuleRequest,ModifyRuleResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Modifies the specified rule.
Any existing properties that you do not modify retain their current values.
To modify the default action, use ModifyListener.
modifyRuleAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<ModifyTargetGroupResult> modifyTargetGroupAsync(ModifyTargetGroupRequest request)
AmazonElasticLoadBalancingAsync
Modifies the health checks used when evaluating the health state of the targets in the specified target group.
To monitor the health of the targets, use DescribeTargetHealth.
modifyTargetGroupAsync
in interface AmazonElasticLoadBalancingAsync
public Future<ModifyTargetGroupResult> modifyTargetGroupAsync(ModifyTargetGroupRequest request, AsyncHandler<ModifyTargetGroupRequest,ModifyTargetGroupResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Modifies the health checks used when evaluating the health state of the targets in the specified target group.
To monitor the health of the targets, use DescribeTargetHealth.
modifyTargetGroupAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<ModifyTargetGroupAttributesResult> modifyTargetGroupAttributesAsync(ModifyTargetGroupAttributesRequest request)
AmazonElasticLoadBalancingAsync
Modifies the specified attributes of the specified target group.
modifyTargetGroupAttributesAsync
in interface AmazonElasticLoadBalancingAsync
public Future<ModifyTargetGroupAttributesResult> modifyTargetGroupAttributesAsync(ModifyTargetGroupAttributesRequest request, AsyncHandler<ModifyTargetGroupAttributesRequest,ModifyTargetGroupAttributesResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Modifies the specified attributes of the specified target group.
modifyTargetGroupAttributesAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<RegisterTargetsResult> registerTargetsAsync(RegisterTargetsRequest request)
AmazonElasticLoadBalancingAsync
Registers the specified targets with the specified target group.
You can register targets by instance ID or by IP address. 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.
To remove a target from a target group, use DeregisterTargets.
registerTargetsAsync
in interface AmazonElasticLoadBalancingAsync
public Future<RegisterTargetsResult> registerTargetsAsync(RegisterTargetsRequest request, AsyncHandler<RegisterTargetsRequest,RegisterTargetsResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Registers the specified targets with the specified target group.
You can register targets by instance ID or by IP address. 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.
To remove a target from a target group, use DeregisterTargets.
registerTargetsAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<RemoveListenerCertificatesResult> removeListenerCertificatesAsync(RemoveListenerCertificatesRequest request)
AmazonElasticLoadBalancingAsync
Removes the specified certificate from the specified secure listener.
You can't remove the default certificate for a listener. To replace the default certificate, call ModifyListener.
To list the certificates for your listener, use DescribeListenerCertificates.
removeListenerCertificatesAsync
in interface AmazonElasticLoadBalancingAsync
public Future<RemoveListenerCertificatesResult> removeListenerCertificatesAsync(RemoveListenerCertificatesRequest request, AsyncHandler<RemoveListenerCertificatesRequest,RemoveListenerCertificatesResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Removes the specified certificate from the specified secure listener.
You can't remove the default certificate for a listener. To replace the default certificate, call ModifyListener.
To list the certificates for your listener, use DescribeListenerCertificates.
removeListenerCertificatesAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest request)
AmazonElasticLoadBalancingAsync
Removes the specified tags from the specified Elastic Load Balancing resource.
To list the current tags for your resources, use DescribeTags.
removeTagsAsync
in interface AmazonElasticLoadBalancingAsync
public Future<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest request, AsyncHandler<RemoveTagsRequest,RemoveTagsResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Removes the specified tags from the specified Elastic Load Balancing resource.
To list the current tags for your resources, use DescribeTags.
removeTagsAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<SetIpAddressTypeResult> setIpAddressTypeAsync(SetIpAddressTypeRequest request)
AmazonElasticLoadBalancingAsync
Sets the type of IP addresses used by the subnets of the specified Application Load Balancer or Network Load Balancer.
Note that Network Load Balancers must use ipv4
.
setIpAddressTypeAsync
in interface AmazonElasticLoadBalancingAsync
public Future<SetIpAddressTypeResult> setIpAddressTypeAsync(SetIpAddressTypeRequest request, AsyncHandler<SetIpAddressTypeRequest,SetIpAddressTypeResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Sets the type of IP addresses used by the subnets of the specified Application Load Balancer or Network Load Balancer.
Note that Network Load Balancers must use ipv4
.
setIpAddressTypeAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<SetRulePrioritiesResult> setRulePrioritiesAsync(SetRulePrioritiesRequest request)
AmazonElasticLoadBalancingAsync
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.
setRulePrioritiesAsync
in interface AmazonElasticLoadBalancingAsync
public Future<SetRulePrioritiesResult> setRulePrioritiesAsync(SetRulePrioritiesRequest request, AsyncHandler<SetRulePrioritiesRequest,SetRulePrioritiesResult> asyncHandler)
AmazonElasticLoadBalancingAsync
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.
setRulePrioritiesAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<SetSecurityGroupsResult> setSecurityGroupsAsync(SetSecurityGroupsRequest request)
AmazonElasticLoadBalancingAsync
Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups.
Note that you can't specify a security group for a Network Load Balancer.
setSecurityGroupsAsync
in interface AmazonElasticLoadBalancingAsync
public Future<SetSecurityGroupsResult> setSecurityGroupsAsync(SetSecurityGroupsRequest request, AsyncHandler<SetSecurityGroupsRequest,SetSecurityGroupsResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups.
Note that you can't specify a security group for a Network Load Balancer.
setSecurityGroupsAsync
in interface AmazonElasticLoadBalancingAsync
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.public Future<SetSubnetsResult> setSubnetsAsync(SetSubnetsRequest request)
AmazonElasticLoadBalancingAsync
Enables the Availability Zone for the specified subnets for the specified Application Load Balancer. The specified subnets replace the previously enabled subnets.
Note that you can't change the subnets for a Network Load Balancer.
setSubnetsAsync
in interface AmazonElasticLoadBalancingAsync
public Future<SetSubnetsResult> setSubnetsAsync(SetSubnetsRequest request, AsyncHandler<SetSubnetsRequest,SetSubnetsResult> asyncHandler)
AmazonElasticLoadBalancingAsync
Enables the Availability Zone for the specified subnets for the specified Application Load Balancer. The specified subnets replace the previously enabled subnets.
Note that you can't change the subnets for a Network Load Balancer.
setSubnetsAsync
in interface AmazonElasticLoadBalancingAsync
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.