JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
com.amazonaws.services.elasticloadbalancingv2

Interface AmazonElasticLoadBalancingAsync

  • All Superinterfaces:
    AmazonElasticLoadBalancing
    All Known Implementing Classes:
    AbstractAmazonElasticLoadBalancingAsync, AmazonElasticLoadBalancingAsyncClient


    @Generated(value="com.amazonaws:aws-java-sdk-code-generator")
    public interface AmazonElasticLoadBalancingAsync
    extends AmazonElasticLoadBalancing 
    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 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 AbstractAmazonElasticLoadBalancingAsync instead.

    Elastic Load Balancing

    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.

    • Method Detail

      • addListenerCertificatesAsync

        Future<AddListenerCertificatesResult> addListenerCertificatesAsync(AddListenerCertificatesRequest addListenerCertificatesRequest)

        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.

        Parameters:
        addListenerCertificatesRequest -
        Returns:
        A Java Future containing the result of the AddListenerCertificates operation returned by the service.
        See Also:
        AWS API Documentation
      • addListenerCertificatesAsync

        Future<AddListenerCertificatesResult> addListenerCertificatesAsync(AddListenerCertificatesRequest addListenerCertificatesRequest,
         AsyncHandler<AddListenerCertificatesRequest,AddListenerCertificatesResult> asyncHandler)

        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.

        Parameters:
        addListenerCertificatesRequest -
        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.
        Returns:
        A Java Future containing the result of the AddListenerCertificates operation returned by the service.
        See Also:
        AWS API Documentation
      • addTagsAsync

        Future<AddTagsResult> addTagsAsync(AddTagsRequest addTagsRequest)

        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, trust stores, 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.

        Parameters:
        addTagsRequest -
        Returns:
        A Java Future containing the result of the AddTags operation returned by the service.
        See Also:
        AWS API Documentation
      • addTagsAsync

        Future<AddTagsResult> addTagsAsync(AddTagsRequest addTagsRequest,
         AsyncHandler<AddTagsRequest,AddTagsResult> asyncHandler)

        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, trust stores, 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.

        Parameters:
        addTagsRequest -
        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.
        Returns:
        A Java Future containing the result of the AddTags operation returned by the service.
        See Also:
        AWS API Documentation
      • createRuleAsync

        Future<CreateRuleResult> createRuleAsync(CreateRuleRequest createRuleRequest)

        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.

        Parameters:
        createRuleRequest -
        Returns:
        A Java Future containing the result of the CreateRule operation returned by the service.
        See Also:
        AWS API Documentation
      • createRuleAsync

        Future<CreateRuleResult> createRuleAsync(CreateRuleRequest createRuleRequest,
         AsyncHandler<CreateRuleRequest,CreateRuleResult> asyncHandler)

        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.

        Parameters:
        createRuleRequest -
        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.
        Returns:
        A Java Future containing the result of the CreateRule operation returned by the service.
        See Also:
        AWS API Documentation
      • createTrustStoreAsync

        Future<CreateTrustStoreResult> createTrustStoreAsync(CreateTrustStoreRequest createTrustStoreRequest,
         AsyncHandler<CreateTrustStoreRequest,CreateTrustStoreResult> asyncHandler)

        Creates a trust store.

        Parameters:
        createTrustStoreRequest -
        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.
        Returns:
        A Java Future containing the result of the CreateTrustStore operation returned by the service.
        See Also:
        AWS API Documentation
      • deleteListenerAsync

        Future<DeleteListenerResult> deleteListenerAsync(DeleteListenerRequest deleteListenerRequest)

        Deletes the specified listener.

        Alternatively, your listener is deleted when you delete the load balancer to which it is attached.

        Parameters:
        deleteListenerRequest -
        Returns:
        A Java Future containing the result of the DeleteListener operation returned by the service.
        See Also:
        AWS API Documentation
      • deleteListenerAsync

        Future<DeleteListenerResult> deleteListenerAsync(DeleteListenerRequest deleteListenerRequest,
         AsyncHandler<DeleteListenerRequest,DeleteListenerResult> asyncHandler)

        Deletes the specified listener.

        Alternatively, your listener is deleted when you delete the load balancer to which it is attached.

        Parameters:
        deleteListenerRequest -
        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.
        Returns:
        A Java Future containing the result of the DeleteListener operation returned by the service.
        See Also:
        AWS API Documentation
      • deleteLoadBalancerAsync

        Future<DeleteLoadBalancerResult> deleteLoadBalancerAsync(DeleteLoadBalancerRequest deleteLoadBalancerRequest)

        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.

        Parameters:
        deleteLoadBalancerRequest -
        Returns:
        A Java Future containing the result of the DeleteLoadBalancer operation returned by the service.
        See Also:
        AWS API Documentation
      • deleteLoadBalancerAsync

        Future<DeleteLoadBalancerResult> deleteLoadBalancerAsync(DeleteLoadBalancerRequest deleteLoadBalancerRequest,
         AsyncHandler<DeleteLoadBalancerRequest,DeleteLoadBalancerResult> asyncHandler)

        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.

        Parameters:
        deleteLoadBalancerRequest -
        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.
        Returns:
        A Java Future containing the result of the DeleteLoadBalancer operation returned by the service.
        See Also:
        AWS API Documentation
      • deleteRuleAsync

        Future<DeleteRuleResult> deleteRuleAsync(DeleteRuleRequest deleteRuleRequest)

        Deletes the specified rule.

        You can't delete the default rule.

        Parameters:
        deleteRuleRequest -
        Returns:
        A Java Future containing the result of the DeleteRule operation returned by the service.
        See Also:
        AWS API Documentation
      • deleteRuleAsync

        Future<DeleteRuleResult> deleteRuleAsync(DeleteRuleRequest deleteRuleRequest,
         AsyncHandler<DeleteRuleRequest,DeleteRuleResult> asyncHandler)

        Deletes the specified rule.

        You can't delete the default rule.

        Parameters:
        deleteRuleRequest -
        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.
        Returns:
        A Java Future containing the result of the DeleteRule operation returned by the service.
        See Also:
        AWS API Documentation
      • deleteTargetGroupAsync

        Future<DeleteTargetGroupResult> deleteTargetGroupAsync(DeleteTargetGroupRequest deleteTargetGroupRequest)

        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.

        Parameters:
        deleteTargetGroupRequest -
        Returns:
        A Java Future containing the result of the DeleteTargetGroup operation returned by the service.
        See Also:
        AWS API Documentation
      • deleteTargetGroupAsync

        Future<DeleteTargetGroupResult> deleteTargetGroupAsync(DeleteTargetGroupRequest deleteTargetGroupRequest,
         AsyncHandler<DeleteTargetGroupRequest,DeleteTargetGroupResult> asyncHandler)

        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.

        Parameters:
        deleteTargetGroupRequest -
        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.
        Returns:
        A Java Future containing the result of the DeleteTargetGroup operation returned by the service.
        See Also:
        AWS API Documentation
      • deleteTrustStoreAsync

        Future<DeleteTrustStoreResult> deleteTrustStoreAsync(DeleteTrustStoreRequest deleteTrustStoreRequest,
         AsyncHandler<DeleteTrustStoreRequest,DeleteTrustStoreResult> asyncHandler)

        Deletes a trust store.

        Parameters:
        deleteTrustStoreRequest -
        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.
        Returns:
        A Java Future containing the result of the DeleteTrustStore operation returned by the service.
        See Also:
        AWS API Documentation
      • deregisterTargetsAsync

        Future<DeregisterTargetsResult> deregisterTargetsAsync(DeregisterTargetsRequest deregisterTargetsRequest)

        Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.

        The load balancer stops sending requests to targets that are deregistering, but uses connection draining to ensure that in-flight traffic completes on the existing connections. This deregistration delay is configured by default but can be updated for each target group.

        For more information, see the following:

        Note: If the specified target does not exist, the action returns successfully.

        Parameters:
        deregisterTargetsRequest -
        Returns:
        A Java Future containing the result of the DeregisterTargets operation returned by the service.
        See Also:
        AWS API Documentation
      • deregisterTargetsAsync

        Future<DeregisterTargetsResult> deregisterTargetsAsync(DeregisterTargetsRequest deregisterTargetsRequest,
         AsyncHandler<DeregisterTargetsRequest,DeregisterTargetsResult> asyncHandler)

        Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.

        The load balancer stops sending requests to targets that are deregistering, but uses connection draining to ensure that in-flight traffic completes on the existing connections. This deregistration delay is configured by default but can be updated for each target group.

        For more information, see the following:

        Note: If the specified target does not exist, the action returns successfully.

        Parameters:
        deregisterTargetsRequest -
        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.
        Returns:
        A Java Future containing the result of the DeregisterTargets operation returned by the service.
        See Also:
        AWS API Documentation
      • describeListenerCertificatesAsync

        Future<DescribeListenerCertificatesResult> describeListenerCertificatesAsync(DescribeListenerCertificatesRequest describeListenerCertificatesRequest)

        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.

        Parameters:
        describeListenerCertificatesRequest -
        Returns:
        A Java Future containing the result of the DescribeListenerCertificates operation returned by the service.
        See Also:
        AWS API Documentation
      • describeListenerCertificatesAsync

        Future<DescribeListenerCertificatesResult> describeListenerCertificatesAsync(DescribeListenerCertificatesRequest describeListenerCertificatesRequest,
         AsyncHandler<DescribeListenerCertificatesRequest,DescribeListenerCertificatesResult> asyncHandler)

        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.

        Parameters:
        describeListenerCertificatesRequest -
        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.
        Returns:
        A Java Future containing the result of the DescribeListenerCertificates operation returned by the service.
        See Also:
        AWS API Documentation
      • describeListenersAsync

        Future<DescribeListenersResult> describeListenersAsync(DescribeListenersRequest describeListenersRequest)

        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.

        Parameters:
        describeListenersRequest -
        Returns:
        A Java Future containing the result of the DescribeListeners operation returned by the service.
        See Also:
        AWS API Documentation
      • describeListenersAsync

        Future<DescribeListenersResult> describeListenersAsync(DescribeListenersRequest describeListenersRequest,
         AsyncHandler<DescribeListenersRequest,DescribeListenersResult> asyncHandler)

        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.

        Parameters:
        describeListenersRequest -
        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.
        Returns:
        A Java Future containing the result of the DescribeListeners operation returned by the service.
        See Also:
        AWS API Documentation
      • describeRulesAsync

        Future<DescribeRulesResult> describeRulesAsync(DescribeRulesRequest describeRulesRequest)

        Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.

        Parameters:
        describeRulesRequest -
        Returns:
        A Java Future containing the result of the DescribeRules operation returned by the service.
        See Also:
        AWS API Documentation
      • describeRulesAsync

        Future<DescribeRulesResult> describeRulesAsync(DescribeRulesRequest describeRulesRequest,
         AsyncHandler<DescribeRulesRequest,DescribeRulesResult> asyncHandler)

        Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.

        Parameters:
        describeRulesRequest -
        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.
        Returns:
        A Java Future containing the result of the DescribeRules operation returned by the service.
        See Also:
        AWS API Documentation
      • describeTagsAsync

        Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest describeTagsRequest)

        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.

        Parameters:
        describeTagsRequest -
        Returns:
        A Java Future containing the result of the DescribeTags operation returned by the service.
        See Also:
        AWS API Documentation
      • describeTagsAsync

        Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest describeTagsRequest,
         AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler)

        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.

        Parameters:
        describeTagsRequest -
        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.
        Returns:
        A Java Future containing the result of the DescribeTags operation returned by the service.
        See Also:
        AWS API Documentation
      • describeTargetGroupsAsync

        Future<DescribeTargetGroupsResult> describeTargetGroupsAsync(DescribeTargetGroupsRequest describeTargetGroupsRequest)

        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.

        Parameters:
        describeTargetGroupsRequest -
        Returns:
        A Java Future containing the result of the DescribeTargetGroups operation returned by the service.
        See Also:
        AWS API Documentation
      • describeTargetGroupsAsync

        Future<DescribeTargetGroupsResult> describeTargetGroupsAsync(DescribeTargetGroupsRequest describeTargetGroupsRequest,
         AsyncHandler<DescribeTargetGroupsRequest,DescribeTargetGroupsResult> asyncHandler)

        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.

        Parameters:
        describeTargetGroupsRequest -
        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.
        Returns:
        A Java Future containing the result of the DescribeTargetGroups operation returned by the service.
        See Also:
        AWS API Documentation
      • describeTargetHealthAsync

        Future<DescribeTargetHealthResult> describeTargetHealthAsync(DescribeTargetHealthRequest describeTargetHealthRequest,
         AsyncHandler<DescribeTargetHealthRequest,DescribeTargetHealthResult> asyncHandler)

        Describes the health of the specified targets or all of your targets.

        Parameters:
        describeTargetHealthRequest -
        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.
        Returns:
        A Java Future containing the result of the DescribeTargetHealth operation returned by the service.
        See Also:
        AWS API Documentation
      • describeTrustStoresAsync

        Future<DescribeTrustStoresResult> describeTrustStoresAsync(DescribeTrustStoresRequest describeTrustStoresRequest,
         AsyncHandler<DescribeTrustStoresRequest,DescribeTrustStoresResult> asyncHandler)

        Describes all trust stores for the specified account.

        Parameters:
        describeTrustStoresRequest -
        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.
        Returns:
        A Java Future containing the result of the DescribeTrustStores operation returned by the service.
        See Also:
        AWS API Documentation
      • getResourcePolicyAsync

        Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest,
         AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)

        Retrieves the resource policy for a specified resource.

        Parameters:
        getResourcePolicyRequest -
        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.
        Returns:
        A Java Future containing the result of the GetResourcePolicy operation returned by the service.
        See Also:
        AWS API Documentation
      • getTrustStoreRevocationContentAsync

        Future<GetTrustStoreRevocationContentResult> getTrustStoreRevocationContentAsync(GetTrustStoreRevocationContentRequest getTrustStoreRevocationContentRequest)

        Retrieves the specified revocation file.

        This action returns a pre-signed S3 URI which is active for ten minutes.

        Parameters:
        getTrustStoreRevocationContentRequest -
        Returns:
        A Java Future containing the result of the GetTrustStoreRevocationContent operation returned by the service.
        See Also:
        AWS API Documentation
      • modifyListenerAsync

        Future<ModifyListenerResult> modifyListenerAsync(ModifyListenerRequest modifyListenerRequest)

        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.

        Parameters:
        modifyListenerRequest -
        Returns:
        A Java Future containing the result of the ModifyListener operation returned by the service.
        See Also:
        AWS API Documentation
      • modifyListenerAsync

        Future<ModifyListenerResult> modifyListenerAsync(ModifyListenerRequest modifyListenerRequest,
         AsyncHandler<ModifyListenerRequest,ModifyListenerResult> asyncHandler)

        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.

        Parameters:
        modifyListenerRequest -
        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.
        Returns:
        A Java Future containing the result of the ModifyListener operation returned by the service.
        See Also:
        AWS API Documentation
      • modifyLoadBalancerAttributesAsync

        Future<ModifyLoadBalancerAttributesResult> modifyLoadBalancerAttributesAsync(ModifyLoadBalancerAttributesRequest modifyLoadBalancerAttributesRequest)

        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.

        Parameters:
        modifyLoadBalancerAttributesRequest -
        Returns:
        A Java Future containing the result of the ModifyLoadBalancerAttributes operation returned by the service.
        See Also:
        AWS API Documentation
      • modifyLoadBalancerAttributesAsync

        Future<ModifyLoadBalancerAttributesResult> modifyLoadBalancerAttributesAsync(ModifyLoadBalancerAttributesRequest modifyLoadBalancerAttributesRequest,
         AsyncHandler<ModifyLoadBalancerAttributesRequest,ModifyLoadBalancerAttributesResult> asyncHandler)

        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.

        Parameters:
        modifyLoadBalancerAttributesRequest -
        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.
        Returns:
        A Java Future containing the result of the ModifyLoadBalancerAttributes operation returned by the service.
        See Also:
        AWS API Documentation
      • modifyRuleAsync

        Future<ModifyRuleResult> modifyRuleAsync(ModifyRuleRequest modifyRuleRequest)

        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.

        Parameters:
        modifyRuleRequest -
        Returns:
        A Java Future containing the result of the ModifyRule operation returned by the service.
        See Also:
        AWS API Documentation
      • modifyRuleAsync

        Future<ModifyRuleResult> modifyRuleAsync(ModifyRuleRequest modifyRuleRequest,
         AsyncHandler<ModifyRuleRequest,ModifyRuleResult> asyncHandler)

        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.

        Parameters:
        modifyRuleRequest -
        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.
        Returns:
        A Java Future containing the result of the ModifyRule operation returned by the service.
        See Also:
        AWS API Documentation
      • modifyTargetGroupAsync

        Future<ModifyTargetGroupResult> modifyTargetGroupAsync(ModifyTargetGroupRequest modifyTargetGroupRequest)

        Modifies the health checks used when evaluating the health state of the targets in the specified target group.

        Parameters:
        modifyTargetGroupRequest -
        Returns:
        A Java Future containing the result of the ModifyTargetGroup operation returned by the service.
        See Also:
        AWS API Documentation
      • modifyTargetGroupAsync

        Future<ModifyTargetGroupResult> modifyTargetGroupAsync(ModifyTargetGroupRequest modifyTargetGroupRequest,
         AsyncHandler<ModifyTargetGroupRequest,ModifyTargetGroupResult> asyncHandler)

        Modifies the health checks used when evaluating the health state of the targets in the specified target group.

        Parameters:
        modifyTargetGroupRequest -
        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.
        Returns:
        A Java Future containing the result of the ModifyTargetGroup operation returned by the service.
        See Also:
        AWS API Documentation
      • modifyTrustStoreAsync

        Future<ModifyTrustStoreResult> modifyTrustStoreAsync(ModifyTrustStoreRequest modifyTrustStoreRequest)

        Update the ca certificate bundle for the specified trust store.

        Parameters:
        modifyTrustStoreRequest -
        Returns:
        A Java Future containing the result of the ModifyTrustStore operation returned by the service.
        See Also:
        AWS API Documentation
      • modifyTrustStoreAsync

        Future<ModifyTrustStoreResult> modifyTrustStoreAsync(ModifyTrustStoreRequest modifyTrustStoreRequest,
         AsyncHandler<ModifyTrustStoreRequest,ModifyTrustStoreResult> asyncHandler)

        Update the ca certificate bundle for the specified trust store.

        Parameters:
        modifyTrustStoreRequest -
        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.
        Returns:
        A Java Future containing the result of the ModifyTrustStore operation returned by the service.
        See Also:
        AWS API Documentation
      • registerTargetsAsync

        Future<RegisterTargetsResult> registerTargetsAsync(RegisterTargetsRequest registerTargetsRequest)

        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.

        Parameters:
        registerTargetsRequest -
        Returns:
        A Java Future containing the result of the RegisterTargets operation returned by the service.
        See Also:
        AWS API Documentation
      • registerTargetsAsync

        Future<RegisterTargetsResult> registerTargetsAsync(RegisterTargetsRequest registerTargetsRequest,
         AsyncHandler<RegisterTargetsRequest,RegisterTargetsResult> asyncHandler)

        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.

        Parameters:
        registerTargetsRequest -
        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.
        Returns:
        A Java Future containing the result of the RegisterTargets operation returned by the service.
        See Also:
        AWS API Documentation
      • removeListenerCertificatesAsync

        Future<RemoveListenerCertificatesResult> removeListenerCertificatesAsync(RemoveListenerCertificatesRequest removeListenerCertificatesRequest)

        Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener.

        Parameters:
        removeListenerCertificatesRequest -
        Returns:
        A Java Future containing the result of the RemoveListenerCertificates operation returned by the service.
        See Also:
        AWS API Documentation
      • removeTagsAsync

        Future<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest removeTagsRequest)

        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.

        Parameters:
        removeTagsRequest -
        Returns:
        A Java Future containing the result of the RemoveTags operation returned by the service.
        See Also:
        AWS API Documentation
      • removeTagsAsync

        Future<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest removeTagsRequest,
         AsyncHandler<RemoveTagsRequest,RemoveTagsResult> asyncHandler)

        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.

        Parameters:
        removeTagsRequest -
        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.
        Returns:
        A Java Future containing the result of the RemoveTags operation returned by the service.
        See Also:
        AWS API Documentation
      • setIpAddressTypeAsync

        Future<SetIpAddressTypeResult> setIpAddressTypeAsync(SetIpAddressTypeRequest setIpAddressTypeRequest)

        Sets the type of IP addresses used by the subnets of the specified load balancer.

        Parameters:
        setIpAddressTypeRequest -
        Returns:
        A Java Future containing the result of the SetIpAddressType operation returned by the service.
        See Also:
        AWS API Documentation
      • setIpAddressTypeAsync

        Future<SetIpAddressTypeResult> setIpAddressTypeAsync(SetIpAddressTypeRequest setIpAddressTypeRequest,
         AsyncHandler<SetIpAddressTypeRequest,SetIpAddressTypeResult> asyncHandler)

        Sets the type of IP addresses used by the subnets of the specified load balancer.

        Parameters:
        setIpAddressTypeRequest -
        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.
        Returns:
        A Java Future containing the result of the SetIpAddressType operation returned by the service.
        See Also:
        AWS API Documentation
      • setRulePrioritiesAsync

        Future<SetRulePrioritiesResult> setRulePrioritiesAsync(SetRulePrioritiesRequest setRulePrioritiesRequest)

        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.

        Parameters:
        setRulePrioritiesRequest -
        Returns:
        A Java Future containing the result of the SetRulePriorities operation returned by the service.
        See Also:
        AWS API Documentation
      • setRulePrioritiesAsync

        Future<SetRulePrioritiesResult> setRulePrioritiesAsync(SetRulePrioritiesRequest setRulePrioritiesRequest,
         AsyncHandler<SetRulePrioritiesRequest,SetRulePrioritiesResult> asyncHandler)

        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.

        Parameters:
        setRulePrioritiesRequest -
        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.
        Returns:
        A Java Future containing the result of the SetRulePriorities operation returned by the service.
        See Also:
        AWS API Documentation
      • setSecurityGroupsAsync

        Future<SetSecurityGroupsResult> setSecurityGroupsAsync(SetSecurityGroupsRequest setSecurityGroupsRequest)

        Associates the specified security groups with the specified Application Load Balancer or Network Load Balancer. The specified security groups override the previously associated security groups.

        You can't perform this operation on a Network Load Balancer unless you specified a security group for the load balancer when you created it.

        You can't associate a security group with a Gateway Load Balancer.

        Parameters:
        setSecurityGroupsRequest -
        Returns:
        A Java Future containing the result of the SetSecurityGroups operation returned by the service.
        See Also:
        AWS API Documentation
      • setSecurityGroupsAsync

        Future<SetSecurityGroupsResult> setSecurityGroupsAsync(SetSecurityGroupsRequest setSecurityGroupsRequest,
         AsyncHandler<SetSecurityGroupsRequest,SetSecurityGroupsResult> asyncHandler)

        Associates the specified security groups with the specified Application Load Balancer or Network Load Balancer. The specified security groups override the previously associated security groups.

        You can't perform this operation on a Network Load Balancer unless you specified a security group for the load balancer when you created it.

        You can't associate a security group with a Gateway Load Balancer.

        Parameters:
        setSecurityGroupsRequest -
        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.
        Returns:
        A Java Future containing the result of the SetSecurityGroups operation returned by the service.
        See Also:
        AWS API Documentation
      • setSubnetsAsync

        Future<SetSubnetsResult> setSubnetsAsync(SetSubnetsRequest setSubnetsRequest)

        Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer, Network Load Balancer or Gateway Load Balancer. The specified subnets replace the previously enabled subnets.

        When you specify subnets for a Network Load Balancer, or Gateway Load Balancer you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.

        Parameters:
        setSubnetsRequest -
        Returns:
        A Java Future containing the result of the SetSubnets operation returned by the service.
        See Also:
        AWS API Documentation
      • setSubnetsAsync

        Future<SetSubnetsResult> setSubnetsAsync(SetSubnetsRequest setSubnetsRequest,
         AsyncHandler<SetSubnetsRequest,SetSubnetsResult> asyncHandler)

        Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer, Network Load Balancer or Gateway Load Balancer. The specified subnets replace the previously enabled subnets.

        When you specify subnets for a Network Load Balancer, or Gateway Load Balancer you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.

        Parameters:
        setSubnetsRequest -
        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.
        Returns:
        A Java Future containing the result of the SetSubnets operation returned by the service.
        See Also:
        AWS API Documentation
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /