Interface ElasticLoadBalancingV2AsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface ElasticLoadBalancingV2AsyncClient extends AwsClient
Service client for accessing Elastic Load Balancing v2 asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call. 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.

  • Field Details

  • Method Details

    • addListenerCertificates

      default CompletableFuture<AddListenerCertificatesResponse> addListenerCertificates(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • TooManyCertificatesException You've reached the limit on the number of certificates per load balancer.
      • CertificateNotFoundException The specified certificate does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • addListenerCertificates

      default CompletableFuture<AddListenerCertificatesResponse> addListenerCertificates(Consumer<AddListenerCertificatesRequest.Builder> 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.


      This is a convenience which creates an instance of the AddListenerCertificatesRequest.Builder avoiding the need to create one manually via AddListenerCertificatesRequest.builder()

      Parameters:
      addListenerCertificatesRequest - A Consumer that will call methods on AddListenerCertificatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AddListenerCertificates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • TooManyCertificatesException You've reached the limit on the number of certificates per load balancer.
      • CertificateNotFoundException The specified certificate does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • addTags

      default CompletableFuture<AddTagsResponse> addTags(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • DuplicateTagKeysException A tag key was specified more than once.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • ListenerNotFoundException The specified listener does not exist.
      • RuleNotFoundException The specified rule does not exist.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • addTags

      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.


      This is a convenience which creates an instance of the AddTagsRequest.Builder avoiding the need to create one manually via AddTagsRequest.builder()

      Parameters:
      addTagsRequest - A Consumer that will call methods on AddTagsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AddTags operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • DuplicateTagKeysException A tag key was specified more than once.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • ListenerNotFoundException The specified listener does not exist.
      • RuleNotFoundException The specified rule does not exist.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • addTrustStoreRevocations

      default CompletableFuture<AddTrustStoreRevocationsResponse> addTrustStoreRevocations(AddTrustStoreRevocationsRequest addTrustStoreRevocationsRequest)

      Adds the specified revocation file to the specified trust store.

      Parameters:
      addTrustStoreRevocationsRequest -
      Returns:
      A Java Future containing the result of the AddTrustStoreRevocations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • InvalidRevocationContentException The provided revocation file is an invalid format, or uses an incorrect algorithm.
      • TooManyTrustStoreRevocationEntriesException The specified trust store has too many revocation entries.
      • RevocationContentNotFoundException The specified revocation file does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • addTrustStoreRevocations

      default CompletableFuture<AddTrustStoreRevocationsResponse> addTrustStoreRevocations(Consumer<AddTrustStoreRevocationsRequest.Builder> addTrustStoreRevocationsRequest)

      Adds the specified revocation file to the specified trust store.


      This is a convenience which creates an instance of the AddTrustStoreRevocationsRequest.Builder avoiding the need to create one manually via AddTrustStoreRevocationsRequest.builder()

      Parameters:
      addTrustStoreRevocationsRequest - A Consumer that will call methods on AddTrustStoreRevocationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AddTrustStoreRevocations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • InvalidRevocationContentException The provided revocation file is an invalid format, or uses an incorrect algorithm.
      • TooManyTrustStoreRevocationEntriesException The specified trust store has too many revocation entries.
      • RevocationContentNotFoundException The specified revocation file does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createListener

      default CompletableFuture<CreateListenerResponse> createListener(CreateListenerRequest createListenerRequest)

      Creates a listener for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

      For more information, see the following:

      This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple listeners with the same settings, each call succeeds.

      Parameters:
      createListenerRequest -
      Returns:
      A Java Future containing the result of the CreateListener operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • DuplicateListenerException A listener with the specified port already exists.
      • TooManyListenersException You've reached the limit on the number of listeners per load balancer.
      • TooManyCertificatesException You've reached the limit on the number of certificates per load balancer.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • TargetGroupAssociationLimitException You've reached the limit on the number of load balancers per target group.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • IncompatibleProtocolsException The specified configuration is not valid with this protocol.
      • SslPolicyNotFoundException The specified SSL policy does not exist.
      • CertificateNotFoundException The specified certificate does not exist.
      • UnsupportedProtocolException The specified protocol is not supported.
      • TooManyRegistrationsForTargetIdException You've reached the limit on the number of times a target can be registered with a load balancer.
      • TooManyTargetsException You've reached the limit on the number of targets.
      • TooManyActionsException You've reached the limit on the number of actions per rule.
      • InvalidLoadBalancerActionException The requested action is not valid.
      • TooManyUniqueTargetGroupsPerLoadBalancerException You've reached the limit on the number of unique target groups per load balancer across all listeners. If a target group is used by multiple actions for a load balancer, it is counted as only one use.
      • AlpnPolicyNotSupportedException The specified ALPN policy is not supported.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • TrustStoreNotReadyException The specified trust store is not active.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createListener

      default CompletableFuture<CreateListenerResponse> createListener(Consumer<CreateListenerRequest.Builder> createListenerRequest)

      Creates a listener for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

      For more information, see the following:

      This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple listeners with the same settings, each call succeeds.


      This is a convenience which creates an instance of the CreateListenerRequest.Builder avoiding the need to create one manually via CreateListenerRequest.builder()

      Parameters:
      createListenerRequest - A Consumer that will call methods on CreateListenerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateListener operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • DuplicateListenerException A listener with the specified port already exists.
      • TooManyListenersException You've reached the limit on the number of listeners per load balancer.
      • TooManyCertificatesException You've reached the limit on the number of certificates per load balancer.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • TargetGroupAssociationLimitException You've reached the limit on the number of load balancers per target group.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • IncompatibleProtocolsException The specified configuration is not valid with this protocol.
      • SslPolicyNotFoundException The specified SSL policy does not exist.
      • CertificateNotFoundException The specified certificate does not exist.
      • UnsupportedProtocolException The specified protocol is not supported.
      • TooManyRegistrationsForTargetIdException You've reached the limit on the number of times a target can be registered with a load balancer.
      • TooManyTargetsException You've reached the limit on the number of targets.
      • TooManyActionsException You've reached the limit on the number of actions per rule.
      • InvalidLoadBalancerActionException The requested action is not valid.
      • TooManyUniqueTargetGroupsPerLoadBalancerException You've reached the limit on the number of unique target groups per load balancer across all listeners. If a target group is used by multiple actions for a load balancer, it is counted as only one use.
      • AlpnPolicyNotSupportedException The specified ALPN policy is not supported.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • TrustStoreNotReadyException The specified trust store is not active.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLoadBalancer

      default CompletableFuture<CreateLoadBalancerResponse> createLoadBalancer(CreateLoadBalancerRequest createLoadBalancerRequest)

      Creates an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

      For more information, see the following:

      This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple load balancers with the same settings, each call succeeds.

      Parameters:
      createLoadBalancerRequest -
      Returns:
      A Java Future containing the result of the CreateLoadBalancer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • DuplicateLoadBalancerNameException A load balancer with the specified name already exists.
      • TooManyLoadBalancersException You've reached the limit on the number of load balancers for your Amazon Web Services account.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • SubnetNotFoundException The specified subnet does not exist.
      • InvalidSubnetException The specified subnet is out of available addresses.
      • InvalidSecurityGroupException The specified security group does not exist.
      • InvalidSchemeException The requested scheme is not valid.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • DuplicateTagKeysException A tag key was specified more than once.
      • ResourceInUseException A specified resource is in use.
      • AllocationIdNotFoundException The specified allocation ID does not exist.
      • AvailabilityZoneNotSupportedException The specified Availability Zone is not supported.
      • OperationNotPermittedException This operation is not allowed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLoadBalancer

      default CompletableFuture<CreateLoadBalancerResponse> createLoadBalancer(Consumer<CreateLoadBalancerRequest.Builder> createLoadBalancerRequest)

      Creates an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

      For more information, see the following:

      This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple load balancers with the same settings, each call succeeds.


      This is a convenience which creates an instance of the CreateLoadBalancerRequest.Builder avoiding the need to create one manually via CreateLoadBalancerRequest.builder()

      Parameters:
      createLoadBalancerRequest - A Consumer that will call methods on CreateLoadBalancerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateLoadBalancer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • DuplicateLoadBalancerNameException A load balancer with the specified name already exists.
      • TooManyLoadBalancersException You've reached the limit on the number of load balancers for your Amazon Web Services account.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • SubnetNotFoundException The specified subnet does not exist.
      • InvalidSubnetException The specified subnet is out of available addresses.
      • InvalidSecurityGroupException The specified security group does not exist.
      • InvalidSchemeException The requested scheme is not valid.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • DuplicateTagKeysException A tag key was specified more than once.
      • ResourceInUseException A specified resource is in use.
      • AllocationIdNotFoundException The specified allocation ID does not exist.
      • AvailabilityZoneNotSupportedException The specified Availability Zone is not supported.
      • OperationNotPermittedException This operation is not allowed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRule

      default CompletableFuture<CreateRuleResponse> createRule(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • PriorityInUseException The specified priority is in use.
      • TooManyTargetGroupsException You've reached the limit on the number of target groups for your Amazon Web Services account.
      • TooManyRulesException You've reached the limit on the number of rules per load balancer.
      • TargetGroupAssociationLimitException You've reached the limit on the number of load balancers per target group.
      • IncompatibleProtocolsException The specified configuration is not valid with this protocol.
      • ListenerNotFoundException The specified listener does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • TooManyRegistrationsForTargetIdException You've reached the limit on the number of times a target can be registered with a load balancer.
      • TooManyTargetsException You've reached the limit on the number of targets.
      • UnsupportedProtocolException The specified protocol is not supported.
      • TooManyActionsException You've reached the limit on the number of actions per rule.
      • InvalidLoadBalancerActionException The requested action is not valid.
      • TooManyUniqueTargetGroupsPerLoadBalancerException You've reached the limit on the number of unique target groups per load balancer across all listeners. If a target group is used by multiple actions for a load balancer, it is counted as only one use.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRule

      default CompletableFuture<CreateRuleResponse> createRule(Consumer<CreateRuleRequest.Builder> 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.


      This is a convenience which creates an instance of the CreateRuleRequest.Builder avoiding the need to create one manually via CreateRuleRequest.builder()

      Parameters:
      createRuleRequest - A Consumer that will call methods on CreateRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • PriorityInUseException The specified priority is in use.
      • TooManyTargetGroupsException You've reached the limit on the number of target groups for your Amazon Web Services account.
      • TooManyRulesException You've reached the limit on the number of rules per load balancer.
      • TargetGroupAssociationLimitException You've reached the limit on the number of load balancers per target group.
      • IncompatibleProtocolsException The specified configuration is not valid with this protocol.
      • ListenerNotFoundException The specified listener does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • TooManyRegistrationsForTargetIdException You've reached the limit on the number of times a target can be registered with a load balancer.
      • TooManyTargetsException You've reached the limit on the number of targets.
      • UnsupportedProtocolException The specified protocol is not supported.
      • TooManyActionsException You've reached the limit on the number of actions per rule.
      • InvalidLoadBalancerActionException The requested action is not valid.
      • TooManyUniqueTargetGroupsPerLoadBalancerException You've reached the limit on the number of unique target groups per load balancer across all listeners. If a target group is used by multiple actions for a load balancer, it is counted as only one use.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTargetGroup

      default CompletableFuture<CreateTargetGroupResponse> createTargetGroup(CreateTargetGroupRequest createTargetGroupRequest)

      Creates a target group.

      For more information, see the following:

      This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple target groups with the same settings, each call succeeds.

      Parameters:
      createTargetGroupRequest -
      Returns:
      A Java Future containing the result of the CreateTargetGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • DuplicateTargetGroupNameException A target group with the specified name already exists.
      • TooManyTargetGroupsException You've reached the limit on the number of target groups for your Amazon Web Services account.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTargetGroup

      default CompletableFuture<CreateTargetGroupResponse> createTargetGroup(Consumer<CreateTargetGroupRequest.Builder> createTargetGroupRequest)

      Creates a target group.

      For more information, see the following:

      This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple target groups with the same settings, each call succeeds.


      This is a convenience which creates an instance of the CreateTargetGroupRequest.Builder avoiding the need to create one manually via CreateTargetGroupRequest.builder()

      Parameters:
      createTargetGroupRequest - A Consumer that will call methods on CreateTargetGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateTargetGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • DuplicateTargetGroupNameException A target group with the specified name already exists.
      • TooManyTargetGroupsException You've reached the limit on the number of target groups for your Amazon Web Services account.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTrustStore

      default CompletableFuture<CreateTrustStoreResponse> createTrustStore(CreateTrustStoreRequest createTrustStoreRequest)

      Creates a trust store.

      Parameters:
      createTrustStoreRequest -
      Returns:
      A Java Future containing the result of the CreateTrustStore operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • DuplicateTrustStoreNameException A trust store with the specified name already exists.
      • TooManyTrustStoresException You've reached the limit on the number of trust stores for your Amazon Web Services account.
      • InvalidCaCertificatesBundleException The specified ca certificate bundle is in an invalid format, or corrupt.
      • CaCertificatesBundleNotFoundException The specified ca certificate bundle does not exist.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • DuplicateTagKeysException A tag key was specified more than once.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTrustStore

      default CompletableFuture<CreateTrustStoreResponse> createTrustStore(Consumer<CreateTrustStoreRequest.Builder> createTrustStoreRequest)

      Creates a trust store.


      This is a convenience which creates an instance of the CreateTrustStoreRequest.Builder avoiding the need to create one manually via CreateTrustStoreRequest.builder()

      Parameters:
      createTrustStoreRequest - A Consumer that will call methods on CreateTrustStoreRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateTrustStore operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • DuplicateTrustStoreNameException A trust store with the specified name already exists.
      • TooManyTrustStoresException You've reached the limit on the number of trust stores for your Amazon Web Services account.
      • InvalidCaCertificatesBundleException The specified ca certificate bundle is in an invalid format, or corrupt.
      • CaCertificatesBundleNotFoundException The specified ca certificate bundle does not exist.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • DuplicateTagKeysException A tag key was specified more than once.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteListener

      default CompletableFuture<DeleteListenerResponse> deleteListener(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • ResourceInUseException A specified resource is in use.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteListener

      default CompletableFuture<DeleteListenerResponse> deleteListener(Consumer<DeleteListenerRequest.Builder> deleteListenerRequest)

      Deletes the specified listener.

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


      This is a convenience which creates an instance of the DeleteListenerRequest.Builder avoiding the need to create one manually via DeleteListenerRequest.builder()

      Parameters:
      deleteListenerRequest - A Consumer that will call methods on DeleteListenerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteListener operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • ResourceInUseException A specified resource is in use.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLoadBalancer

      default CompletableFuture<DeleteLoadBalancerResponse> deleteLoadBalancer(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • OperationNotPermittedException This operation is not allowed.
      • ResourceInUseException A specified resource is in use.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLoadBalancer

      default CompletableFuture<DeleteLoadBalancerResponse> deleteLoadBalancer(Consumer<DeleteLoadBalancerRequest.Builder> 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.


      This is a convenience which creates an instance of the DeleteLoadBalancerRequest.Builder avoiding the need to create one manually via DeleteLoadBalancerRequest.builder()

      Parameters:
      deleteLoadBalancerRequest - A Consumer that will call methods on DeleteLoadBalancerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteLoadBalancer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • OperationNotPermittedException This operation is not allowed.
      • ResourceInUseException A specified resource is in use.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRule

      default CompletableFuture<DeleteRuleResponse> deleteRule(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • RuleNotFoundException The specified rule does not exist.
      • OperationNotPermittedException This operation is not allowed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRule

      default CompletableFuture<DeleteRuleResponse> deleteRule(Consumer<DeleteRuleRequest.Builder> deleteRuleRequest)

      Deletes the specified rule.

      You can't delete the default rule.


      This is a convenience which creates an instance of the DeleteRuleRequest.Builder avoiding the need to create one manually via DeleteRuleRequest.builder()

      Parameters:
      deleteRuleRequest - A Consumer that will call methods on DeleteRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • RuleNotFoundException The specified rule does not exist.
      • OperationNotPermittedException This operation is not allowed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteTargetGroup

      default CompletableFuture<DeleteTargetGroupResponse> deleteTargetGroup(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceInUseException A specified resource is in use.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteTargetGroup

      default CompletableFuture<DeleteTargetGroupResponse> deleteTargetGroup(Consumer<DeleteTargetGroupRequest.Builder> 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.


      This is a convenience which creates an instance of the DeleteTargetGroupRequest.Builder avoiding the need to create one manually via DeleteTargetGroupRequest.builder()

      Parameters:
      deleteTargetGroupRequest - A Consumer that will call methods on DeleteTargetGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteTargetGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceInUseException A specified resource is in use.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteTrustStore

      default CompletableFuture<DeleteTrustStoreResponse> deleteTrustStore(DeleteTrustStoreRequest deleteTrustStoreRequest)

      Deletes a trust store.

      Parameters:
      deleteTrustStoreRequest -
      Returns:
      A Java Future containing the result of the DeleteTrustStore operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • TrustStoreInUseException The specified trust store is currently in use.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteTrustStore

      default CompletableFuture<DeleteTrustStoreResponse> deleteTrustStore(Consumer<DeleteTrustStoreRequest.Builder> deleteTrustStoreRequest)

      Deletes a trust store.


      This is a convenience which creates an instance of the DeleteTrustStoreRequest.Builder avoiding the need to create one manually via DeleteTrustStoreRequest.builder()

      Parameters:
      deleteTrustStoreRequest - A Consumer that will call methods on DeleteTrustStoreRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteTrustStore operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • TrustStoreInUseException The specified trust store is currently in use.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deregisterTargets

      default CompletableFuture<DeregisterTargetsResponse> deregisterTargets(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TargetGroupNotFoundException The specified target group does not exist.
      • InvalidTargetException The specified target does not exist, is not in the same VPC as the target group, or has an unsupported instance type.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deregisterTargets

      default CompletableFuture<DeregisterTargetsResponse> deregisterTargets(Consumer<DeregisterTargetsRequest.Builder> 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.


      This is a convenience which creates an instance of the DeregisterTargetsRequest.Builder avoiding the need to create one manually via DeregisterTargetsRequest.builder()

      Parameters:
      deregisterTargetsRequest - A Consumer that will call methods on DeregisterTargetsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeregisterTargets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TargetGroupNotFoundException The specified target group does not exist.
      • InvalidTargetException The specified target does not exist, is not in the same VPC as the target group, or has an unsupported instance type.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAccountLimits

      default CompletableFuture<DescribeAccountLimitsResponse> describeAccountLimits(DescribeAccountLimitsRequest describeAccountLimitsRequest)

      Describes the current Elastic Load Balancing resource limits for your Amazon Web Services account.

      For more information, see the following:

      Parameters:
      describeAccountLimitsRequest -
      Returns:
      A Java Future containing the result of the DescribeAccountLimits operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAccountLimits

      default CompletableFuture<DescribeAccountLimitsResponse> describeAccountLimits(Consumer<DescribeAccountLimitsRequest.Builder> describeAccountLimitsRequest)

      Describes the current Elastic Load Balancing resource limits for your Amazon Web Services account.

      For more information, see the following:


      This is a convenience which creates an instance of the DescribeAccountLimitsRequest.Builder avoiding the need to create one manually via DescribeAccountLimitsRequest.builder()

      Parameters:
      describeAccountLimitsRequest - A Consumer that will call methods on DescribeAccountLimitsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeAccountLimits operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAccountLimits

      default CompletableFuture<DescribeAccountLimitsResponse> describeAccountLimits()

      Describes the current Elastic Load Balancing resource limits for your Amazon Web Services account.

      For more information, see the following:

      Returns:
      A Java Future containing the result of the DescribeAccountLimits operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeListenerCertificates

      default CompletableFuture<DescribeListenerCertificatesResponse> describeListenerCertificates(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeListenerCertificates

      default CompletableFuture<DescribeListenerCertificatesResponse> describeListenerCertificates(Consumer<DescribeListenerCertificatesRequest.Builder> 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.


      This is a convenience which creates an instance of the DescribeListenerCertificatesRequest.Builder avoiding the need to create one manually via DescribeListenerCertificatesRequest.builder()

      Parameters:
      describeListenerCertificatesRequest - A Consumer that will call methods on DescribeListenerCertificatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeListenerCertificates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeListeners

      default CompletableFuture<DescribeListenersResponse> describeListeners(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • UnsupportedProtocolException The specified protocol is not supported.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeListeners

      default CompletableFuture<DescribeListenersResponse> describeListeners(Consumer<DescribeListenersRequest.Builder> 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.


      This is a convenience which creates an instance of the DescribeListenersRequest.Builder avoiding the need to create one manually via DescribeListenersRequest.builder()

      Parameters:
      describeListenersRequest - A Consumer that will call methods on DescribeListenersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeListeners operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • UnsupportedProtocolException The specified protocol is not supported.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeListenersPaginator

      default DescribeListenersPublisher describeListenersPaginator(DescribeListenersRequest describeListenersRequest)

      This is a variant of describeListeners(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeListenersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeListenersPublisher publisher = client.describeListenersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeListenersPublisher publisher = client.describeListenersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeListenersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeListenersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeListeners(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeListenersRequest) operation.

      Parameters:
      describeListenersRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • UnsupportedProtocolException The specified protocol is not supported.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeListenersPaginator

      default DescribeListenersPublisher describeListenersPaginator(Consumer<DescribeListenersRequest.Builder> describeListenersRequest)

      This is a variant of describeListeners(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeListenersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeListenersPublisher publisher = client.describeListenersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeListenersPublisher publisher = client.describeListenersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeListenersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeListenersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeListeners(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeListenersRequest) operation.


      This is a convenience which creates an instance of the DescribeListenersRequest.Builder avoiding the need to create one manually via DescribeListenersRequest.builder()

      Parameters:
      describeListenersRequest - A Consumer that will call methods on DescribeListenersRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • UnsupportedProtocolException The specified protocol is not supported.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeLoadBalancerAttributes

      default CompletableFuture<DescribeLoadBalancerAttributesResponse> describeLoadBalancerAttributes(DescribeLoadBalancerAttributesRequest describeLoadBalancerAttributesRequest)

      Describes the attributes for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

      For more information, see the following:

      Parameters:
      describeLoadBalancerAttributesRequest -
      Returns:
      A Java Future containing the result of the DescribeLoadBalancerAttributes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeLoadBalancerAttributes

      default CompletableFuture<DescribeLoadBalancerAttributesResponse> describeLoadBalancerAttributes(Consumer<DescribeLoadBalancerAttributesRequest.Builder> describeLoadBalancerAttributesRequest)

      Describes the attributes for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

      For more information, see the following:


      This is a convenience which creates an instance of the DescribeLoadBalancerAttributesRequest.Builder avoiding the need to create one manually via DescribeLoadBalancerAttributesRequest.builder()

      Parameters:
      describeLoadBalancerAttributesRequest - A Consumer that will call methods on DescribeLoadBalancerAttributesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeLoadBalancerAttributes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeLoadBalancers

      default CompletableFuture<DescribeLoadBalancersResponse> describeLoadBalancers(DescribeLoadBalancersRequest describeLoadBalancersRequest)

      Describes the specified load balancers or all of your load balancers.

      Parameters:
      describeLoadBalancersRequest -
      Returns:
      A Java Future containing the result of the DescribeLoadBalancers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeLoadBalancers

      default CompletableFuture<DescribeLoadBalancersResponse> describeLoadBalancers(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest)

      Describes the specified load balancers or all of your load balancers.


      This is a convenience which creates an instance of the DescribeLoadBalancersRequest.Builder avoiding the need to create one manually via DescribeLoadBalancersRequest.builder()

      Parameters:
      describeLoadBalancersRequest - A Consumer that will call methods on DescribeLoadBalancersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeLoadBalancers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeLoadBalancers

      default CompletableFuture<DescribeLoadBalancersResponse> describeLoadBalancers()

      Describes the specified load balancers or all of your load balancers.

      Returns:
      A Java Future containing the result of the DescribeLoadBalancers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeLoadBalancersPaginator

      default DescribeLoadBalancersPublisher describeLoadBalancersPaginator()

      This is a variant of describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeLoadBalancersPublisher publisher = client.describeLoadBalancersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeLoadBalancersPublisher publisher = client.describeLoadBalancersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest) operation.

      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeLoadBalancersPaginator

      default DescribeLoadBalancersPublisher describeLoadBalancersPaginator(DescribeLoadBalancersRequest describeLoadBalancersRequest)

      This is a variant of describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeLoadBalancersPublisher publisher = client.describeLoadBalancersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeLoadBalancersPublisher publisher = client.describeLoadBalancersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest) operation.

      Parameters:
      describeLoadBalancersRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeLoadBalancersPaginator

      default DescribeLoadBalancersPublisher describeLoadBalancersPaginator(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest)

      This is a variant of describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeLoadBalancersPublisher publisher = client.describeLoadBalancersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeLoadBalancersPublisher publisher = client.describeLoadBalancersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest) operation.


      This is a convenience which creates an instance of the DescribeLoadBalancersRequest.Builder avoiding the need to create one manually via DescribeLoadBalancersRequest.builder()

      Parameters:
      describeLoadBalancersRequest - A Consumer that will call methods on DescribeLoadBalancersRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeRules

      default CompletableFuture<DescribeRulesResponse> describeRules(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • RuleNotFoundException The specified rule does not exist.
      • UnsupportedProtocolException The specified protocol is not supported.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeRules

      default CompletableFuture<DescribeRulesResponse> describeRules(Consumer<DescribeRulesRequest.Builder> describeRulesRequest)

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


      This is a convenience which creates an instance of the DescribeRulesRequest.Builder avoiding the need to create one manually via DescribeRulesRequest.builder()

      Parameters:
      describeRulesRequest - A Consumer that will call methods on DescribeRulesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeRules operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • RuleNotFoundException The specified rule does not exist.
      • UnsupportedProtocolException The specified protocol is not supported.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSSLPolicies

      default CompletableFuture<DescribeSslPoliciesResponse> describeSSLPolicies(DescribeSslPoliciesRequest describeSslPoliciesRequest)

      Describes the specified policies or all policies used for SSL negotiation.

      For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

      Parameters:
      describeSslPoliciesRequest -
      Returns:
      A Java Future containing the result of the DescribeSSLPolicies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SslPolicyNotFoundException The specified SSL policy does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSSLPolicies

      default CompletableFuture<DescribeSslPoliciesResponse> describeSSLPolicies(Consumer<DescribeSslPoliciesRequest.Builder> describeSslPoliciesRequest)

      Describes the specified policies or all policies used for SSL negotiation.

      For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.


      This is a convenience which creates an instance of the DescribeSslPoliciesRequest.Builder avoiding the need to create one manually via DescribeSslPoliciesRequest.builder()

      Parameters:
      describeSslPoliciesRequest - A Consumer that will call methods on DescribeSslPoliciesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeSSLPolicies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SslPolicyNotFoundException The specified SSL policy does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSSLPolicies

      default CompletableFuture<DescribeSslPoliciesResponse> describeSSLPolicies()

      Describes the specified policies or all policies used for SSL negotiation.

      For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

      Returns:
      A Java Future containing the result of the DescribeSSLPolicies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SslPolicyNotFoundException The specified SSL policy does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTags

      default CompletableFuture<DescribeTagsResponse> describeTags(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • ListenerNotFoundException The specified listener does not exist.
      • RuleNotFoundException The specified rule does not exist.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTags

      default CompletableFuture<DescribeTagsResponse> describeTags(Consumer<DescribeTagsRequest.Builder> 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.


      This is a convenience which creates an instance of the DescribeTagsRequest.Builder avoiding the need to create one manually via DescribeTagsRequest.builder()

      Parameters:
      describeTagsRequest - A Consumer that will call methods on DescribeTagsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeTags operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • ListenerNotFoundException The specified listener does not exist.
      • RuleNotFoundException The specified rule does not exist.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTargetGroupAttributes

      default CompletableFuture<DescribeTargetGroupAttributesResponse> describeTargetGroupAttributes(DescribeTargetGroupAttributesRequest describeTargetGroupAttributesRequest)

      Describes the attributes for the specified target group.

      For more information, see the following:

      Parameters:
      describeTargetGroupAttributesRequest -
      Returns:
      A Java Future containing the result of the DescribeTargetGroupAttributes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TargetGroupNotFoundException The specified target group does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTargetGroupAttributes

      default CompletableFuture<DescribeTargetGroupAttributesResponse> describeTargetGroupAttributes(Consumer<DescribeTargetGroupAttributesRequest.Builder> describeTargetGroupAttributesRequest)

      Describes the attributes for the specified target group.

      For more information, see the following:


      This is a convenience which creates an instance of the DescribeTargetGroupAttributesRequest.Builder avoiding the need to create one manually via DescribeTargetGroupAttributesRequest.builder()

      Parameters:
      describeTargetGroupAttributesRequest - A Consumer that will call methods on DescribeTargetGroupAttributesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeTargetGroupAttributes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TargetGroupNotFoundException The specified target group does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTargetGroups

      default CompletableFuture<DescribeTargetGroupsResponse> describeTargetGroups(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTargetGroups

      default CompletableFuture<DescribeTargetGroupsResponse> describeTargetGroups(Consumer<DescribeTargetGroupsRequest.Builder> 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.


      This is a convenience which creates an instance of the DescribeTargetGroupsRequest.Builder avoiding the need to create one manually via DescribeTargetGroupsRequest.builder()

      Parameters:
      describeTargetGroupsRequest - A Consumer that will call methods on DescribeTargetGroupsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeTargetGroups operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTargetGroups

      default CompletableFuture<DescribeTargetGroupsResponse> describeTargetGroups()

      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.

      Returns:
      A Java Future containing the result of the DescribeTargetGroups operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTargetGroupsPaginator

      default DescribeTargetGroupsPublisher describeTargetGroupsPaginator()

      This is a variant of describeTargetGroups(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetGroupsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTargetGroupsPublisher publisher = client.describeTargetGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTargetGroupsPublisher publisher = client.describeTargetGroupsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetGroupsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetGroupsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeTargetGroups(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetGroupsRequest) operation.

      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTargetGroupsPaginator

      default DescribeTargetGroupsPublisher describeTargetGroupsPaginator(DescribeTargetGroupsRequest describeTargetGroupsRequest)

      This is a variant of describeTargetGroups(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetGroupsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTargetGroupsPublisher publisher = client.describeTargetGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTargetGroupsPublisher publisher = client.describeTargetGroupsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetGroupsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetGroupsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeTargetGroups(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetGroupsRequest) operation.

      Parameters:
      describeTargetGroupsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTargetGroupsPaginator

      default DescribeTargetGroupsPublisher describeTargetGroupsPaginator(Consumer<DescribeTargetGroupsRequest.Builder> describeTargetGroupsRequest)

      This is a variant of describeTargetGroups(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetGroupsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTargetGroupsPublisher publisher = client.describeTargetGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTargetGroupsPublisher publisher = client.describeTargetGroupsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetGroupsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetGroupsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeTargetGroups(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetGroupsRequest) operation.


      This is a convenience which creates an instance of the DescribeTargetGroupsRequest.Builder avoiding the need to create one manually via DescribeTargetGroupsRequest.builder()

      Parameters:
      describeTargetGroupsRequest - A Consumer that will call methods on DescribeTargetGroupsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTargetHealth

      default CompletableFuture<DescribeTargetHealthResponse> describeTargetHealth(DescribeTargetHealthRequest describeTargetHealthRequest)

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

      Parameters:
      describeTargetHealthRequest -
      Returns:
      A Java Future containing the result of the DescribeTargetHealth operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidTargetException The specified target does not exist, is not in the same VPC as the target group, or has an unsupported instance type.
      • TargetGroupNotFoundException The specified target group does not exist.
      • HealthUnavailableException The health of the specified targets could not be retrieved due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTargetHealth

      default CompletableFuture<DescribeTargetHealthResponse> describeTargetHealth(Consumer<DescribeTargetHealthRequest.Builder> describeTargetHealthRequest)

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


      This is a convenience which creates an instance of the DescribeTargetHealthRequest.Builder avoiding the need to create one manually via DescribeTargetHealthRequest.builder()

      Parameters:
      describeTargetHealthRequest - A Consumer that will call methods on DescribeTargetHealthRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeTargetHealth operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidTargetException The specified target does not exist, is not in the same VPC as the target group, or has an unsupported instance type.
      • TargetGroupNotFoundException The specified target group does not exist.
      • HealthUnavailableException The health of the specified targets could not be retrieved due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTrustStoreAssociations

      default CompletableFuture<DescribeTrustStoreAssociationsResponse> describeTrustStoreAssociations(DescribeTrustStoreAssociationsRequest describeTrustStoreAssociationsRequest)

      Describes all resources associated with the specified trust store.

      Parameters:
      describeTrustStoreAssociationsRequest -
      Returns:
      A Java Future containing the result of the DescribeTrustStoreAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTrustStoreAssociations

      default CompletableFuture<DescribeTrustStoreAssociationsResponse> describeTrustStoreAssociations(Consumer<DescribeTrustStoreAssociationsRequest.Builder> describeTrustStoreAssociationsRequest)

      Describes all resources associated with the specified trust store.


      This is a convenience which creates an instance of the DescribeTrustStoreAssociationsRequest.Builder avoiding the need to create one manually via DescribeTrustStoreAssociationsRequest.builder()

      Parameters:
      describeTrustStoreAssociationsRequest - A Consumer that will call methods on DescribeTrustStoreAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeTrustStoreAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTrustStoreAssociationsPaginator

      default DescribeTrustStoreAssociationsPublisher describeTrustStoreAssociationsPaginator(DescribeTrustStoreAssociationsRequest describeTrustStoreAssociationsRequest)

      This is a variant of describeTrustStoreAssociations(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTrustStoreAssociationsPublisher publisher = client.describeTrustStoreAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTrustStoreAssociationsPublisher publisher = client.describeTrustStoreAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of PageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeTrustStoreAssociations(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreAssociationsRequest) operation.

      Parameters:
      describeTrustStoreAssociationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTrustStoreAssociationsPaginator

      default DescribeTrustStoreAssociationsPublisher describeTrustStoreAssociationsPaginator(Consumer<DescribeTrustStoreAssociationsRequest.Builder> describeTrustStoreAssociationsRequest)

      This is a variant of describeTrustStoreAssociations(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTrustStoreAssociationsPublisher publisher = client.describeTrustStoreAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTrustStoreAssociationsPublisher publisher = client.describeTrustStoreAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of PageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeTrustStoreAssociations(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreAssociationsRequest) operation.


      This is a convenience which creates an instance of the DescribeTrustStoreAssociationsRequest.Builder avoiding the need to create one manually via DescribeTrustStoreAssociationsRequest.builder()

      Parameters:
      describeTrustStoreAssociationsRequest - A Consumer that will call methods on DescribeTrustStoreAssociationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTrustStoreRevocations

      default CompletableFuture<DescribeTrustStoreRevocationsResponse> describeTrustStoreRevocations(DescribeTrustStoreRevocationsRequest describeTrustStoreRevocationsRequest)

      Describes the revocation files in use by the specified trust store arn, or revocation ID.

      Parameters:
      describeTrustStoreRevocationsRequest -
      Returns:
      A Java Future containing the result of the DescribeTrustStoreRevocations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • RevocationIdNotFoundException The specified revocation ID does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTrustStoreRevocations

      default CompletableFuture<DescribeTrustStoreRevocationsResponse> describeTrustStoreRevocations(Consumer<DescribeTrustStoreRevocationsRequest.Builder> describeTrustStoreRevocationsRequest)

      Describes the revocation files in use by the specified trust store arn, or revocation ID.


      This is a convenience which creates an instance of the DescribeTrustStoreRevocationsRequest.Builder avoiding the need to create one manually via DescribeTrustStoreRevocationsRequest.builder()

      Parameters:
      describeTrustStoreRevocationsRequest - A Consumer that will call methods on DescribeTrustStoreRevocationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeTrustStoreRevocations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • RevocationIdNotFoundException The specified revocation ID does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTrustStoreRevocationsPaginator

      default DescribeTrustStoreRevocationsPublisher describeTrustStoreRevocationsPaginator(DescribeTrustStoreRevocationsRequest describeTrustStoreRevocationsRequest)

      This is a variant of describeTrustStoreRevocations(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreRevocationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTrustStoreRevocationsPublisher publisher = client.describeTrustStoreRevocationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTrustStoreRevocationsPublisher publisher = client.describeTrustStoreRevocationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreRevocationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreRevocationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of PageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeTrustStoreRevocations(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreRevocationsRequest) operation.

      Parameters:
      describeTrustStoreRevocationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • RevocationIdNotFoundException The specified revocation ID does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTrustStoreRevocationsPaginator

      default DescribeTrustStoreRevocationsPublisher describeTrustStoreRevocationsPaginator(Consumer<DescribeTrustStoreRevocationsRequest.Builder> describeTrustStoreRevocationsRequest)

      This is a variant of describeTrustStoreRevocations(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreRevocationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTrustStoreRevocationsPublisher publisher = client.describeTrustStoreRevocationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTrustStoreRevocationsPublisher publisher = client.describeTrustStoreRevocationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreRevocationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreRevocationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of PageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeTrustStoreRevocations(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoreRevocationsRequest) operation.


      This is a convenience which creates an instance of the DescribeTrustStoreRevocationsRequest.Builder avoiding the need to create one manually via DescribeTrustStoreRevocationsRequest.builder()

      Parameters:
      describeTrustStoreRevocationsRequest - A Consumer that will call methods on DescribeTrustStoreRevocationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • RevocationIdNotFoundException The specified revocation ID does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTrustStores

      default CompletableFuture<DescribeTrustStoresResponse> describeTrustStores(DescribeTrustStoresRequest describeTrustStoresRequest)

      Describes all trust stores for a given account by trust store arn’s or name.

      Parameters:
      describeTrustStoresRequest -
      Returns:
      A Java Future containing the result of the DescribeTrustStores operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTrustStores

      default CompletableFuture<DescribeTrustStoresResponse> describeTrustStores(Consumer<DescribeTrustStoresRequest.Builder> describeTrustStoresRequest)

      Describes all trust stores for a given account by trust store arn’s or name.


      This is a convenience which creates an instance of the DescribeTrustStoresRequest.Builder avoiding the need to create one manually via DescribeTrustStoresRequest.builder()

      Parameters:
      describeTrustStoresRequest - A Consumer that will call methods on DescribeTrustStoresRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeTrustStores operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTrustStoresPaginator

      default DescribeTrustStoresPublisher describeTrustStoresPaginator(DescribeTrustStoresRequest describeTrustStoresRequest)

      This is a variant of describeTrustStores(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoresRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTrustStoresPublisher publisher = client.describeTrustStoresPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTrustStoresPublisher publisher = client.describeTrustStoresPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoresResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoresResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of PageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeTrustStores(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoresRequest) operation.

      Parameters:
      describeTrustStoresRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTrustStoresPaginator

      default DescribeTrustStoresPublisher describeTrustStoresPaginator(Consumer<DescribeTrustStoresRequest.Builder> describeTrustStoresRequest)

      This is a variant of describeTrustStores(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoresRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTrustStoresPublisher publisher = client.describeTrustStoresPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.elasticloadbalancingv2.paginators.DescribeTrustStoresPublisher publisher = client.describeTrustStoresPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoresResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoresResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of PageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeTrustStores(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTrustStoresRequest) operation.


      This is a convenience which creates an instance of the DescribeTrustStoresRequest.Builder avoiding the need to create one manually via DescribeTrustStoresRequest.builder()

      Parameters:
      describeTrustStoresRequest - A Consumer that will call methods on DescribeTrustStoresRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTrustStoreCaCertificatesBundle

      default CompletableFuture<GetTrustStoreCaCertificatesBundleResponse> getTrustStoreCaCertificatesBundle(GetTrustStoreCaCertificatesBundleRequest getTrustStoreCaCertificatesBundleRequest)

      Retrieves the ca certificate bundle.

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

      Parameters:
      getTrustStoreCaCertificatesBundleRequest -
      Returns:
      A Java Future containing the result of the GetTrustStoreCaCertificatesBundle operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTrustStoreCaCertificatesBundle

      default CompletableFuture<GetTrustStoreCaCertificatesBundleResponse> getTrustStoreCaCertificatesBundle(Consumer<GetTrustStoreCaCertificatesBundleRequest.Builder> getTrustStoreCaCertificatesBundleRequest)

      Retrieves the ca certificate bundle.

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


      This is a convenience which creates an instance of the GetTrustStoreCaCertificatesBundleRequest.Builder avoiding the need to create one manually via GetTrustStoreCaCertificatesBundleRequest.builder()

      Parameters:
      getTrustStoreCaCertificatesBundleRequest - A Consumer that will call methods on GetTrustStoreCaCertificatesBundleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTrustStoreCaCertificatesBundle operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTrustStoreRevocationContent

      default CompletableFuture<GetTrustStoreRevocationContentResponse> getTrustStoreRevocationContent(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • RevocationIdNotFoundException The specified revocation ID does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTrustStoreRevocationContent

      default CompletableFuture<GetTrustStoreRevocationContentResponse> getTrustStoreRevocationContent(Consumer<GetTrustStoreRevocationContentRequest.Builder> getTrustStoreRevocationContentRequest)

      Retrieves the specified revocation file.

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


      This is a convenience which creates an instance of the GetTrustStoreRevocationContentRequest.Builder avoiding the need to create one manually via GetTrustStoreRevocationContentRequest.builder()

      Parameters:
      getTrustStoreRevocationContentRequest - A Consumer that will call methods on GetTrustStoreRevocationContentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTrustStoreRevocationContent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • RevocationIdNotFoundException The specified revocation ID does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • modifyListener

      default CompletableFuture<ModifyListenerResponse> modifyListener(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • DuplicateListenerException A listener with the specified port already exists.
      • TooManyListenersException You've reached the limit on the number of listeners per load balancer.
      • TooManyCertificatesException You've reached the limit on the number of certificates per load balancer.
      • ListenerNotFoundException The specified listener does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • TargetGroupAssociationLimitException You've reached the limit on the number of load balancers per target group.
      • IncompatibleProtocolsException The specified configuration is not valid with this protocol.
      • SslPolicyNotFoundException The specified SSL policy does not exist.
      • CertificateNotFoundException The specified certificate does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • UnsupportedProtocolException The specified protocol is not supported.
      • TooManyRegistrationsForTargetIdException You've reached the limit on the number of times a target can be registered with a load balancer.
      • TooManyTargetsException You've reached the limit on the number of targets.
      • TooManyActionsException You've reached the limit on the number of actions per rule.
      • InvalidLoadBalancerActionException The requested action is not valid.
      • TooManyUniqueTargetGroupsPerLoadBalancerException You've reached the limit on the number of unique target groups per load balancer across all listeners. If a target group is used by multiple actions for a load balancer, it is counted as only one use.
      • AlpnPolicyNotSupportedException The specified ALPN policy is not supported.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • TrustStoreNotReadyException The specified trust store is not active.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • modifyListener

      default CompletableFuture<ModifyListenerResponse> modifyListener(Consumer<ModifyListenerRequest.Builder> 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.


      This is a convenience which creates an instance of the ModifyListenerRequest.Builder avoiding the need to create one manually via ModifyListenerRequest.builder()

      Parameters:
      modifyListenerRequest - A Consumer that will call methods on ModifyListenerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ModifyListener operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • DuplicateListenerException A listener with the specified port already exists.
      • TooManyListenersException You've reached the limit on the number of listeners per load balancer.
      • TooManyCertificatesException You've reached the limit on the number of certificates per load balancer.
      • ListenerNotFoundException The specified listener does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • TargetGroupAssociationLimitException You've reached the limit on the number of load balancers per target group.
      • IncompatibleProtocolsException The specified configuration is not valid with this protocol.
      • SslPolicyNotFoundException The specified SSL policy does not exist.
      • CertificateNotFoundException The specified certificate does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • UnsupportedProtocolException The specified protocol is not supported.
      • TooManyRegistrationsForTargetIdException You've reached the limit on the number of times a target can be registered with a load balancer.
      • TooManyTargetsException You've reached the limit on the number of targets.
      • TooManyActionsException You've reached the limit on the number of actions per rule.
      • InvalidLoadBalancerActionException The requested action is not valid.
      • TooManyUniqueTargetGroupsPerLoadBalancerException You've reached the limit on the number of unique target groups per load balancer across all listeners. If a target group is used by multiple actions for a load balancer, it is counted as only one use.
      • AlpnPolicyNotSupportedException The specified ALPN policy is not supported.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • TrustStoreNotReadyException The specified trust store is not active.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • modifyLoadBalancerAttributes

      default CompletableFuture<ModifyLoadBalancerAttributesResponse> modifyLoadBalancerAttributes(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • modifyLoadBalancerAttributes

      default CompletableFuture<ModifyLoadBalancerAttributesResponse> modifyLoadBalancerAttributes(Consumer<ModifyLoadBalancerAttributesRequest.Builder> 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.


      This is a convenience which creates an instance of the ModifyLoadBalancerAttributesRequest.Builder avoiding the need to create one manually via ModifyLoadBalancerAttributesRequest.builder()

      Parameters:
      modifyLoadBalancerAttributesRequest - A Consumer that will call methods on ModifyLoadBalancerAttributesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ModifyLoadBalancerAttributes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • modifyRule

      default CompletableFuture<ModifyRuleResponse> modifyRule(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TargetGroupAssociationLimitException You've reached the limit on the number of load balancers per target group.
      • IncompatibleProtocolsException The specified configuration is not valid with this protocol.
      • RuleNotFoundException The specified rule does not exist.
      • OperationNotPermittedException This operation is not allowed.
      • TooManyRegistrationsForTargetIdException You've reached the limit on the number of times a target can be registered with a load balancer.
      • TooManyTargetsException You've reached the limit on the number of targets.
      • TargetGroupNotFoundException The specified target group does not exist.
      • UnsupportedProtocolException The specified protocol is not supported.
      • TooManyActionsException You've reached the limit on the number of actions per rule.
      • InvalidLoadBalancerActionException The requested action is not valid.
      • TooManyUniqueTargetGroupsPerLoadBalancerException You've reached the limit on the number of unique target groups per load balancer across all listeners. If a target group is used by multiple actions for a load balancer, it is counted as only one use.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • modifyRule

      default CompletableFuture<ModifyRuleResponse> modifyRule(Consumer<ModifyRuleRequest.Builder> 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.


      This is a convenience which creates an instance of the ModifyRuleRequest.Builder avoiding the need to create one manually via ModifyRuleRequest.builder()

      Parameters:
      modifyRuleRequest - A Consumer that will call methods on ModifyRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ModifyRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TargetGroupAssociationLimitException You've reached the limit on the number of load balancers per target group.
      • IncompatibleProtocolsException The specified configuration is not valid with this protocol.
      • RuleNotFoundException The specified rule does not exist.
      • OperationNotPermittedException This operation is not allowed.
      • TooManyRegistrationsForTargetIdException You've reached the limit on the number of times a target can be registered with a load balancer.
      • TooManyTargetsException You've reached the limit on the number of targets.
      • TargetGroupNotFoundException The specified target group does not exist.
      • UnsupportedProtocolException The specified protocol is not supported.
      • TooManyActionsException You've reached the limit on the number of actions per rule.
      • InvalidLoadBalancerActionException The requested action is not valid.
      • TooManyUniqueTargetGroupsPerLoadBalancerException You've reached the limit on the number of unique target groups per load balancer across all listeners. If a target group is used by multiple actions for a load balancer, it is counted as only one use.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • modifyTargetGroup

      default CompletableFuture<ModifyTargetGroupResponse> modifyTargetGroup(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TargetGroupNotFoundException The specified target group does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • modifyTargetGroup

      default CompletableFuture<ModifyTargetGroupResponse> modifyTargetGroup(Consumer<ModifyTargetGroupRequest.Builder> modifyTargetGroupRequest)

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


      This is a convenience which creates an instance of the ModifyTargetGroupRequest.Builder avoiding the need to create one manually via ModifyTargetGroupRequest.builder()

      Parameters:
      modifyTargetGroupRequest - A Consumer that will call methods on ModifyTargetGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ModifyTargetGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TargetGroupNotFoundException The specified target group does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • modifyTargetGroupAttributes

      default CompletableFuture<ModifyTargetGroupAttributesResponse> modifyTargetGroupAttributes(ModifyTargetGroupAttributesRequest modifyTargetGroupAttributesRequest)

      Modifies the specified attributes of the specified target group.

      Parameters:
      modifyTargetGroupAttributesRequest -
      Returns:
      A Java Future containing the result of the ModifyTargetGroupAttributes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TargetGroupNotFoundException The specified target group does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • modifyTargetGroupAttributes

      default CompletableFuture<ModifyTargetGroupAttributesResponse> modifyTargetGroupAttributes(Consumer<ModifyTargetGroupAttributesRequest.Builder> modifyTargetGroupAttributesRequest)

      Modifies the specified attributes of the specified target group.


      This is a convenience which creates an instance of the ModifyTargetGroupAttributesRequest.Builder avoiding the need to create one manually via ModifyTargetGroupAttributesRequest.builder()

      Parameters:
      modifyTargetGroupAttributesRequest - A Consumer that will call methods on ModifyTargetGroupAttributesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ModifyTargetGroupAttributes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TargetGroupNotFoundException The specified target group does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • modifyTrustStore

      default CompletableFuture<ModifyTrustStoreResponse> modifyTrustStore(ModifyTrustStoreRequest modifyTrustStoreRequest)

      Update the ca certificate bundle for a given trust store.

      Parameters:
      modifyTrustStoreRequest -
      Returns:
      A Java Future containing the result of the ModifyTrustStore operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • InvalidCaCertificatesBundleException The specified ca certificate bundle is in an invalid format, or corrupt.
      • CaCertificatesBundleNotFoundException The specified ca certificate bundle does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • modifyTrustStore

      default CompletableFuture<ModifyTrustStoreResponse> modifyTrustStore(Consumer<ModifyTrustStoreRequest.Builder> modifyTrustStoreRequest)

      Update the ca certificate bundle for a given trust store.


      This is a convenience which creates an instance of the ModifyTrustStoreRequest.Builder avoiding the need to create one manually via ModifyTrustStoreRequest.builder()

      Parameters:
      modifyTrustStoreRequest - A Consumer that will call methods on ModifyTrustStoreRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ModifyTrustStore operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • InvalidCaCertificatesBundleException The specified ca certificate bundle is in an invalid format, or corrupt.
      • CaCertificatesBundleNotFoundException The specified ca certificate bundle does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • registerTargets

      default CompletableFuture<RegisterTargetsResponse> registerTargets(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TargetGroupNotFoundException The specified target group does not exist.
      • TooManyTargetsException You've reached the limit on the number of targets.
      • InvalidTargetException The specified target does not exist, is not in the same VPC as the target group, or has an unsupported instance type.
      • TooManyRegistrationsForTargetIdException You've reached the limit on the number of times a target can be registered with a load balancer.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • registerTargets

      default CompletableFuture<RegisterTargetsResponse> registerTargets(Consumer<RegisterTargetsRequest.Builder> 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.


      This is a convenience which creates an instance of the RegisterTargetsRequest.Builder avoiding the need to create one manually via RegisterTargetsRequest.builder()

      Parameters:
      registerTargetsRequest - A Consumer that will call methods on RegisterTargetsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RegisterTargets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TargetGroupNotFoundException The specified target group does not exist.
      • TooManyTargetsException You've reached the limit on the number of targets.
      • InvalidTargetException The specified target does not exist, is not in the same VPC as the target group, or has an unsupported instance type.
      • TooManyRegistrationsForTargetIdException You've reached the limit on the number of times a target can be registered with a load balancer.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeListenerCertificates

      default CompletableFuture<RemoveListenerCertificatesResponse> removeListenerCertificates(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • OperationNotPermittedException This operation is not allowed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeListenerCertificates

      default CompletableFuture<RemoveListenerCertificatesResponse> removeListenerCertificates(Consumer<RemoveListenerCertificatesRequest.Builder> removeListenerCertificatesRequest)

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


      This is a convenience which creates an instance of the RemoveListenerCertificatesRequest.Builder avoiding the need to create one manually via RemoveListenerCertificatesRequest.builder()

      Parameters:
      removeListenerCertificatesRequest - A Consumer that will call methods on RemoveListenerCertificatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RemoveListenerCertificates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ListenerNotFoundException The specified listener does not exist.
      • OperationNotPermittedException This operation is not allowed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeTags

      default CompletableFuture<RemoveTagsResponse> removeTags(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • ListenerNotFoundException The specified listener does not exist.
      • RuleNotFoundException The specified rule does not exist.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeTags

      default CompletableFuture<RemoveTagsResponse> removeTags(Consumer<RemoveTagsRequest.Builder> 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.


      This is a convenience which creates an instance of the RemoveTagsRequest.Builder avoiding the need to create one manually via RemoveTagsRequest.builder()

      Parameters:
      removeTagsRequest - A Consumer that will call methods on RemoveTagsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RemoveTags operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • TargetGroupNotFoundException The specified target group does not exist.
      • ListenerNotFoundException The specified listener does not exist.
      • RuleNotFoundException The specified rule does not exist.
      • TooManyTagsException You've reached the limit on the number of tags for this resource.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeTrustStoreRevocations

      default CompletableFuture<RemoveTrustStoreRevocationsResponse> removeTrustStoreRevocations(RemoveTrustStoreRevocationsRequest removeTrustStoreRevocationsRequest)

      Removes the specified revocation file from the specified trust store.

      Parameters:
      removeTrustStoreRevocationsRequest -
      Returns:
      A Java Future containing the result of the RemoveTrustStoreRevocations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • RevocationIdNotFoundException The specified revocation ID does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeTrustStoreRevocations

      default CompletableFuture<RemoveTrustStoreRevocationsResponse> removeTrustStoreRevocations(Consumer<RemoveTrustStoreRevocationsRequest.Builder> removeTrustStoreRevocationsRequest)

      Removes the specified revocation file from the specified trust store.


      This is a convenience which creates an instance of the RemoveTrustStoreRevocationsRequest.Builder avoiding the need to create one manually via RemoveTrustStoreRevocationsRequest.builder()

      Parameters:
      removeTrustStoreRevocationsRequest - A Consumer that will call methods on RemoveTrustStoreRevocationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RemoveTrustStoreRevocations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • TrustStoreNotFoundException The specified trust store does not exist.
      • RevocationIdNotFoundException The specified revocation ID does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • setIpAddressType

      default CompletableFuture<SetIpAddressTypeResponse> setIpAddressType(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • InvalidSubnetException The specified subnet is out of available addresses.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • setIpAddressType

      default CompletableFuture<SetIpAddressTypeResponse> setIpAddressType(Consumer<SetIpAddressTypeRequest.Builder> setIpAddressTypeRequest)

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


      This is a convenience which creates an instance of the SetIpAddressTypeRequest.Builder avoiding the need to create one manually via SetIpAddressTypeRequest.builder()

      Parameters:
      setIpAddressTypeRequest - A Consumer that will call methods on SetIpAddressTypeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the SetIpAddressType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • InvalidSubnetException The specified subnet is out of available addresses.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • setRulePriorities

      default CompletableFuture<SetRulePrioritiesResponse> setRulePriorities(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • RuleNotFoundException The specified rule does not exist.
      • PriorityInUseException The specified priority is in use.
      • OperationNotPermittedException This operation is not allowed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • setRulePriorities

      default CompletableFuture<SetRulePrioritiesResponse> setRulePriorities(Consumer<SetRulePrioritiesRequest.Builder> 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.


      This is a convenience which creates an instance of the SetRulePrioritiesRequest.Builder avoiding the need to create one manually via SetRulePrioritiesRequest.builder()

      Parameters:
      setRulePrioritiesRequest - A Consumer that will call methods on SetRulePrioritiesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the SetRulePriorities operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • RuleNotFoundException The specified rule does not exist.
      • PriorityInUseException The specified priority is in use.
      • OperationNotPermittedException This operation is not allowed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • setSecurityGroups

      default CompletableFuture<SetSecurityGroupsResponse> setSecurityGroups(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • InvalidSecurityGroupException The specified security group does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • setSecurityGroups

      default CompletableFuture<SetSecurityGroupsResponse> setSecurityGroups(Consumer<SetSecurityGroupsRequest.Builder> 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.


      This is a convenience which creates an instance of the SetSecurityGroupsRequest.Builder avoiding the need to create one manually via SetSecurityGroupsRequest.builder()

      Parameters:
      setSecurityGroupsRequest - A Consumer that will call methods on SetSecurityGroupsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the SetSecurityGroups operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • InvalidSecurityGroupException The specified security group does not exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • setSubnets

      default CompletableFuture<SetSubnetsResponse> setSubnets(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.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • SubnetNotFoundException The specified subnet does not exist.
      • InvalidSubnetException The specified subnet is out of available addresses.
      • AllocationIdNotFoundException The specified allocation ID does not exist.
      • AvailabilityZoneNotSupportedException The specified Availability Zone is not supported.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • setSubnets

      default CompletableFuture<SetSubnetsResponse> setSubnets(Consumer<SetSubnetsRequest.Builder> 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.


      This is a convenience which creates an instance of the SetSubnetsRequest.Builder avoiding the need to create one manually via SetSubnetsRequest.builder()

      Parameters:
      setSubnetsRequest - A Consumer that will call methods on SetSubnetsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the SetSubnets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LoadBalancerNotFoundException The specified load balancer does not exist.
      • InvalidConfigurationRequestException The requested configuration is not valid.
      • SubnetNotFoundException The specified subnet does not exist.
      • InvalidSubnetException The specified subnet is out of available addresses.
      • AllocationIdNotFoundException The specified allocation ID does not exist.
      • AvailabilityZoneNotSupportedException The specified Availability Zone is not supported.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ElasticLoadBalancingV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • waiter

      Create an instance of ElasticLoadBalancingV2AsyncWaiter using this client.

      Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.

      Returns:
      an instance of ElasticLoadBalancingV2AsyncWaiter
    • serviceClientConfiguration

      default ElasticLoadBalancingV2ServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      Create a ElasticLoadBalancingV2AsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a ElasticLoadBalancingV2AsyncClient.