All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.globalaccelerator.GlobalAcceleratorAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Global Accelerator module holds the client classes that are used for communicating with Global Accelerator.

There is a newer version: 2.28.4
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.globalaccelerator;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.globalaccelerator.model.AddCustomRoutingEndpointsRequest;
import software.amazon.awssdk.services.globalaccelerator.model.AddCustomRoutingEndpointsResponse;
import software.amazon.awssdk.services.globalaccelerator.model.AddEndpointsRequest;
import software.amazon.awssdk.services.globalaccelerator.model.AddEndpointsResponse;
import software.amazon.awssdk.services.globalaccelerator.model.AdvertiseByoipCidrRequest;
import software.amazon.awssdk.services.globalaccelerator.model.AdvertiseByoipCidrResponse;
import software.amazon.awssdk.services.globalaccelerator.model.AllowCustomRoutingTrafficRequest;
import software.amazon.awssdk.services.globalaccelerator.model.AllowCustomRoutingTrafficResponse;
import software.amazon.awssdk.services.globalaccelerator.model.CreateAcceleratorRequest;
import software.amazon.awssdk.services.globalaccelerator.model.CreateAcceleratorResponse;
import software.amazon.awssdk.services.globalaccelerator.model.CreateCrossAccountAttachmentRequest;
import software.amazon.awssdk.services.globalaccelerator.model.CreateCrossAccountAttachmentResponse;
import software.amazon.awssdk.services.globalaccelerator.model.CreateCustomRoutingAcceleratorRequest;
import software.amazon.awssdk.services.globalaccelerator.model.CreateCustomRoutingAcceleratorResponse;
import software.amazon.awssdk.services.globalaccelerator.model.CreateCustomRoutingEndpointGroupRequest;
import software.amazon.awssdk.services.globalaccelerator.model.CreateCustomRoutingEndpointGroupResponse;
import software.amazon.awssdk.services.globalaccelerator.model.CreateCustomRoutingListenerRequest;
import software.amazon.awssdk.services.globalaccelerator.model.CreateCustomRoutingListenerResponse;
import software.amazon.awssdk.services.globalaccelerator.model.CreateEndpointGroupRequest;
import software.amazon.awssdk.services.globalaccelerator.model.CreateEndpointGroupResponse;
import software.amazon.awssdk.services.globalaccelerator.model.CreateListenerRequest;
import software.amazon.awssdk.services.globalaccelerator.model.CreateListenerResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteAcceleratorRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteAcceleratorResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteCrossAccountAttachmentRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteCrossAccountAttachmentResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteCustomRoutingAcceleratorRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteCustomRoutingAcceleratorResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteCustomRoutingEndpointGroupRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteCustomRoutingEndpointGroupResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteCustomRoutingListenerRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteCustomRoutingListenerResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteEndpointGroupRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteEndpointGroupResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteListenerRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DeleteListenerResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DenyCustomRoutingTrafficRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DenyCustomRoutingTrafficResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DeprovisionByoipCidrRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DeprovisionByoipCidrResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeAcceleratorAttributesRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeAcceleratorAttributesResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeAcceleratorRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeAcceleratorResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeCrossAccountAttachmentRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeCrossAccountAttachmentResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeCustomRoutingAcceleratorAttributesRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeCustomRoutingAcceleratorAttributesResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeCustomRoutingAcceleratorRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeCustomRoutingAcceleratorResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeCustomRoutingEndpointGroupRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeCustomRoutingEndpointGroupResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeCustomRoutingListenerRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeCustomRoutingListenerResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeEndpointGroupRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeEndpointGroupResponse;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeListenerRequest;
import software.amazon.awssdk.services.globalaccelerator.model.DescribeListenerResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourceAccountsRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourceAccountsResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListListenersResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.globalaccelerator.model.ProvisionByoipCidrRequest;
import software.amazon.awssdk.services.globalaccelerator.model.ProvisionByoipCidrResponse;
import software.amazon.awssdk.services.globalaccelerator.model.RemoveCustomRoutingEndpointsRequest;
import software.amazon.awssdk.services.globalaccelerator.model.RemoveCustomRoutingEndpointsResponse;
import software.amazon.awssdk.services.globalaccelerator.model.RemoveEndpointsRequest;
import software.amazon.awssdk.services.globalaccelerator.model.RemoveEndpointsResponse;
import software.amazon.awssdk.services.globalaccelerator.model.TagResourceRequest;
import software.amazon.awssdk.services.globalaccelerator.model.TagResourceResponse;
import software.amazon.awssdk.services.globalaccelerator.model.UntagResourceRequest;
import software.amazon.awssdk.services.globalaccelerator.model.UntagResourceResponse;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateAcceleratorAttributesRequest;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateAcceleratorAttributesResponse;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateAcceleratorRequest;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateAcceleratorResponse;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateCrossAccountAttachmentRequest;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateCrossAccountAttachmentResponse;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateCustomRoutingAcceleratorAttributesRequest;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateCustomRoutingAcceleratorAttributesResponse;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateCustomRoutingAcceleratorRequest;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateCustomRoutingAcceleratorResponse;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateCustomRoutingListenerRequest;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateCustomRoutingListenerResponse;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateEndpointGroupRequest;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateEndpointGroupResponse;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateListenerRequest;
import software.amazon.awssdk.services.globalaccelerator.model.UpdateListenerResponse;
import software.amazon.awssdk.services.globalaccelerator.model.WithdrawByoipCidrRequest;
import software.amazon.awssdk.services.globalaccelerator.model.WithdrawByoipCidrResponse;
import software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsPublisher;
import software.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsPublisher;
import software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountAttachmentsPublisher;
import software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountResourcesPublisher;
import software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsPublisher;
import software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsPublisher;
import software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersPublisher;
import software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationPublisher;
import software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsPublisher;
import software.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsPublisher;
import software.amazon.awssdk.services.globalaccelerator.paginators.ListListenersPublisher;

/**
 * Service client for accessing AWS Global Accelerator asynchronously. This can be created using the static
 * {@link #builder()} method.The asynchronous client performs non-blocking I/O when configured with any
 * {@code 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.
 *
 * Global Accelerator
 * 

* This is the Global Accelerator API Reference. This guide is for developers who need detailed information about * Global Accelerator API actions, data types, and errors. For more information about Global Accelerator features, see * the Global * Accelerator Developer Guide. *

*

* Global Accelerator is a service in which you create accelerators to improve the performance of your * applications for local and global users. Depending on the type of accelerator you choose, you can gain additional * benefits. *

*
    *
  • *

    * By using a standard accelerator, you can improve availability of your internet applications that are used by a global * audience. With a standard accelerator, Global Accelerator directs traffic to optimal endpoints over the Amazon Web * Services global network. *

    *
  • *
  • *

    * For other scenarios, you might choose a custom routing accelerator. With a custom routing accelerator, you can use * application logic to directly map one or more users to a specific endpoint among many endpoints. *

    *
  • *
* *

* Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must * specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, * specify --region us-west-2 on Amazon Web Services CLI commands. *

*
*

* By default, Global Accelerator provides you with static IP addresses that you associate with your accelerator. The * static IP addresses are anycast from the Amazon Web Services edge network. For IPv4, Global Accelerator provides two * static IPv4 addresses. For dual-stack, Global Accelerator provides a total of four addresses: two static IPv4 * addresses and two static IPv6 addresses. With a standard accelerator for IPv4, instead of using the addresses that * Global Accelerator provides, you can configure these entry points to be IPv4 addresses from your own IP address * ranges that you bring to Global Accelerator (BYOIP). *

*

* For a standard accelerator, they distribute incoming application traffic across multiple endpoint resources in * multiple Amazon Web Services Regions , which increases the availability of your applications. Endpoints for standard * accelerators can be Network Load Balancers, Application Load Balancers, Amazon EC2 instances, or Elastic IP addresses * that are located in one Amazon Web Services Region or multiple Amazon Web Services Regions. For custom routing * accelerators, you map traffic that arrives to the static IP addresses to specific Amazon EC2 servers in endpoints * that are virtual private cloud (VPC) subnets. *

* *

* The static IP addresses remain assigned to your accelerator for as long as it exists, even if you disable the * accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the * static IP addresses that are assigned to it, so you can no longer route traffic by using them. You can use IAM * policies like tag-based permissions with Global Accelerator to limit the users who have permissions to delete an * accelerator. For more information, see Tag-based policies. *

*
*

* For standard accelerators, Global Accelerator uses the Amazon Web Services global network to route traffic to the * optimal regional endpoint based on health, client location, and policies that you configure. The service reacts * instantly to changes in health or configuration to ensure that internet traffic from clients is always directed to * healthy endpoints. *

*

* For more information about understanding and using Global Accelerator, see the Global Accelerator * Developer Guide. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface GlobalAcceleratorAsyncClient extends AwsClient { String SERVICE_NAME = "globalaccelerator"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "globalaccelerator"; /** *

* Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator. *

*

* The listener port range must be large enough to support the number of IP addresses that can be specified in your * subnet. The number of ports required is: subnet size times the number of ports per destination EC2 instances. For * example, a subnet defined as /24 requires a listener port range of at least 255 ports. *

*

* Note: You must have enough remaining listener ports available to map to the subnet ports, or the call will fail * with a LimitExceededException. *

*

* By default, all destinations in a subnet in a custom routing accelerator cannot receive traffic. To enable all * destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the * AllowCustomRoutingTraffic operation. *

* * @param addCustomRoutingEndpointsRequest * @return A Java Future containing the result of the AddCustomRoutingEndpoints 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • EndpointAlreadyExistsException The endpoint that you specified doesn't exist.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • ConflictException You can't use both of those options.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.AddCustomRoutingEndpoints * @see AWS API Documentation */ default CompletableFuture addCustomRoutingEndpoints( AddCustomRoutingEndpointsRequest addCustomRoutingEndpointsRequest) { throw new UnsupportedOperationException(); } /** *

* Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator. *

*

* The listener port range must be large enough to support the number of IP addresses that can be specified in your * subnet. The number of ports required is: subnet size times the number of ports per destination EC2 instances. For * example, a subnet defined as /24 requires a listener port range of at least 255 ports. *

*

* Note: You must have enough remaining listener ports available to map to the subnet ports, or the call will fail * with a LimitExceededException. *

*

* By default, all destinations in a subnet in a custom routing accelerator cannot receive traffic. To enable all * destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the * AllowCustomRoutingTraffic operation. *

*
*

* This is a convenience which creates an instance of the {@link AddCustomRoutingEndpointsRequest.Builder} avoiding * the need to create one manually via {@link AddCustomRoutingEndpointsRequest#builder()} *

* * @param addCustomRoutingEndpointsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.AddCustomRoutingEndpointsRequest.Builder} * to create a request. * @return A Java Future containing the result of the AddCustomRoutingEndpoints 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • EndpointAlreadyExistsException The endpoint that you specified doesn't exist.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • ConflictException You can't use both of those options.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.AddCustomRoutingEndpoints * @see AWS API Documentation */ default CompletableFuture addCustomRoutingEndpoints( Consumer addCustomRoutingEndpointsRequest) { return addCustomRoutingEndpoints(AddCustomRoutingEndpointsRequest.builder() .applyMutation(addCustomRoutingEndpointsRequest).build()); } /** *

* Add endpoints to an endpoint group. The AddEndpoints API operation is the recommended option for * adding endpoints. The alternative options are to add endpoints when you create an endpoint group (with the CreateEndpointGroup * API) or when you update an endpoint group (with the UpdateEndpointGroup API). *

*

* There are two advantages to using AddEndpoints to add endpoints in Global Accelerator: *

*
    *
  • *

    * It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding, rather than * resolving new and existing endpoints. *

    *
  • *
  • *

    * It's more convenient, because you don't need to specify the current endpoints that are already in the endpoint * group, in addition to the new endpoints that you want to add. *

    *
  • *
*

* For information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see * Endpoints for standard * accelerators in the Global Accelerator Developer Guide. *

* * @param addEndpointsRequest * @return A Java Future containing the result of the AddEndpoints 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.AddEndpoints * @see AWS API Documentation */ default CompletableFuture addEndpoints(AddEndpointsRequest addEndpointsRequest) { throw new UnsupportedOperationException(); } /** *

* Add endpoints to an endpoint group. The AddEndpoints API operation is the recommended option for * adding endpoints. The alternative options are to add endpoints when you create an endpoint group (with the CreateEndpointGroup * API) or when you update an endpoint group (with the UpdateEndpointGroup API). *

*

* There are two advantages to using AddEndpoints to add endpoints in Global Accelerator: *

*
    *
  • *

    * It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding, rather than * resolving new and existing endpoints. *

    *
  • *
  • *

    * It's more convenient, because you don't need to specify the current endpoints that are already in the endpoint * group, in addition to the new endpoints that you want to add. *

    *
  • *
*

* For information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see * Endpoints for standard * accelerators in the Global Accelerator Developer Guide. *

*
*

* This is a convenience which creates an instance of the {@link AddEndpointsRequest.Builder} avoiding the need to * create one manually via {@link AddEndpointsRequest#builder()} *

* * @param addEndpointsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.AddEndpointsRequest.Builder} to create a * request. * @return A Java Future containing the result of the AddEndpoints 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.AddEndpoints * @see AWS API Documentation */ default CompletableFuture addEndpoints(Consumer addEndpointsRequest) { return addEndpoints(AddEndpointsRequest.builder().applyMutation(addEndpointsRequest).build()); } /** *

* Advertises an IPv4 address range that is provisioned for use with your Amazon Web Services resources through * bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts * routing to Amazon Web Services because of propagation delays. *

*

* To stop advertising the BYOIP address range, use WithdrawByoipCidr. *

*

* For more information, see Bring your own IP addresses * (BYOIP) in the Global Accelerator Developer Guide. *

* * @param advertiseByoipCidrRequest * @return A Java Future containing the result of the AdvertiseByoipCidr 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • ByoipCidrNotFoundException The CIDR that you specified was not found or is incorrect.
  • *
  • IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, * the state of the CIDR might be incorrect for this action.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.AdvertiseByoipCidr * @see AWS API Documentation */ default CompletableFuture advertiseByoipCidr(AdvertiseByoipCidrRequest advertiseByoipCidrRequest) { throw new UnsupportedOperationException(); } /** *

* Advertises an IPv4 address range that is provisioned for use with your Amazon Web Services resources through * bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts * routing to Amazon Web Services because of propagation delays. *

*

* To stop advertising the BYOIP address range, use WithdrawByoipCidr. *

*

* For more information, see Bring your own IP addresses * (BYOIP) in the Global Accelerator Developer Guide. *

*
*

* This is a convenience which creates an instance of the {@link AdvertiseByoipCidrRequest.Builder} avoiding the * need to create one manually via {@link AdvertiseByoipCidrRequest#builder()} *

* * @param advertiseByoipCidrRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.AdvertiseByoipCidrRequest.Builder} to * create a request. * @return A Java Future containing the result of the AdvertiseByoipCidr 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • ByoipCidrNotFoundException The CIDR that you specified was not found or is incorrect.
  • *
  • IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, * the state of the CIDR might be incorrect for this action.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.AdvertiseByoipCidr * @see AWS API Documentation */ default CompletableFuture advertiseByoipCidr( Consumer advertiseByoipCidrRequest) { return advertiseByoipCidr(AdvertiseByoipCidrRequest.builder().applyMutation(advertiseByoipCidrRequest).build()); } /** *

* Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that can receive * traffic for a custom routing accelerator. You can allow traffic to all destinations in the subnet endpoint, or * allow traffic to a specified list of destination IP addresses and ports in the subnet. Note that you cannot * specify IP addresses or ports outside of the range that you configured for the endpoint group. *

*

* After you make changes, you can verify that the updates are complete by checking the status of your accelerator: * the status changes from IN_PROGRESS to DEPLOYED. *

* * @param allowCustomRoutingTrafficRequest * @return A Java Future containing the result of the AllowCustomRoutingTraffic 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.AllowCustomRoutingTraffic * @see AWS API Documentation */ default CompletableFuture allowCustomRoutingTraffic( AllowCustomRoutingTrafficRequest allowCustomRoutingTrafficRequest) { throw new UnsupportedOperationException(); } /** *

* Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that can receive * traffic for a custom routing accelerator. You can allow traffic to all destinations in the subnet endpoint, or * allow traffic to a specified list of destination IP addresses and ports in the subnet. Note that you cannot * specify IP addresses or ports outside of the range that you configured for the endpoint group. *

*

* After you make changes, you can verify that the updates are complete by checking the status of your accelerator: * the status changes from IN_PROGRESS to DEPLOYED. *

*
*

* This is a convenience which creates an instance of the {@link AllowCustomRoutingTrafficRequest.Builder} avoiding * the need to create one manually via {@link AllowCustomRoutingTrafficRequest#builder()} *

* * @param allowCustomRoutingTrafficRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.AllowCustomRoutingTrafficRequest.Builder} * to create a request. * @return A Java Future containing the result of the AllowCustomRoutingTraffic 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.AllowCustomRoutingTraffic * @see AWS API Documentation */ default CompletableFuture allowCustomRoutingTraffic( Consumer allowCustomRoutingTrafficRequest) { return allowCustomRoutingTraffic(AllowCustomRoutingTrafficRequest.builder() .applyMutation(allowCustomRoutingTrafficRequest).build()); } /** *

* Create an accelerator. An accelerator includes one or more listeners that process inbound connections and direct * traffic to one or more endpoint groups, each of which includes endpoints, such as Network Load Balancers. *

* *

* Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you * must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for * example, specify --region us-west-2 on Amazon Web Services CLI commands. *

*
* * @param createAcceleratorRequest * @return A Java Future containing the result of the CreateAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateAccelerator * @see AWS API Documentation */ default CompletableFuture createAccelerator(CreateAcceleratorRequest createAcceleratorRequest) { throw new UnsupportedOperationException(); } /** *

* Create an accelerator. An accelerator includes one or more listeners that process inbound connections and direct * traffic to one or more endpoint groups, each of which includes endpoints, such as Network Load Balancers. *

* *

* Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you * must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for * example, specify --region us-west-2 on Amazon Web Services CLI commands. *

*

*

* This is a convenience which creates an instance of the {@link CreateAcceleratorRequest.Builder} avoiding the need * to create one manually via {@link CreateAcceleratorRequest#builder()} *

* * @param createAcceleratorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.CreateAcceleratorRequest.Builder} to create * a request. * @return A Java Future containing the result of the CreateAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateAccelerator * @see AWS API Documentation */ default CompletableFuture createAccelerator( Consumer createAcceleratorRequest) { return createAccelerator(CreateAcceleratorRequest.builder().applyMutation(createAcceleratorRequest).build()); } /** *

* Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to specify the * principals who have permission to work with resources in accelerators in their own account. You * specify, in the same attachment, the resources that are shared. *

*

* A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator. * For account numbers that are listed as principals, to work with a resource listed in the attachment, you must * sign in to an account specified as a principal. Then, you can work with resources that are listed, with any of * your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal, anyone with * permission to make updates to the accelerator can work with resources that are listed in the attachment. *

*

* Specify each principal and resource separately. To specify two CIDR address pools, list them individually under * Resources, and so on. For a command line operation, for example, you might use a statement like the * following: *

*

* "Resources": [{"Cidr": "169.254.60.0/24"},{"Cidr": "169.254.59.0/24"}] *

*

* For more information, see Working with * cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer * Guide. *

* * @param createCrossAccountAttachmentRequest * @return A Java Future containing the result of the CreateCrossAccountAttachment 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateCrossAccountAttachment * @see AWS API Documentation */ default CompletableFuture createCrossAccountAttachment( CreateCrossAccountAttachmentRequest createCrossAccountAttachmentRequest) { throw new UnsupportedOperationException(); } /** *

* Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to specify the * principals who have permission to work with resources in accelerators in their own account. You * specify, in the same attachment, the resources that are shared. *

*

* A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator. * For account numbers that are listed as principals, to work with a resource listed in the attachment, you must * sign in to an account specified as a principal. Then, you can work with resources that are listed, with any of * your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal, anyone with * permission to make updates to the accelerator can work with resources that are listed in the attachment. *

*

* Specify each principal and resource separately. To specify two CIDR address pools, list them individually under * Resources, and so on. For a command line operation, for example, you might use a statement like the * following: *

*

* "Resources": [{"Cidr": "169.254.60.0/24"},{"Cidr": "169.254.59.0/24"}] *

*

* For more information, see Working with * cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer * Guide. *

*
*

* This is a convenience which creates an instance of the {@link CreateCrossAccountAttachmentRequest.Builder} * avoiding the need to create one manually via {@link CreateCrossAccountAttachmentRequest#builder()} *

* * @param createCrossAccountAttachmentRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.CreateCrossAccountAttachmentRequest.Builder} * to create a request. * @return A Java Future containing the result of the CreateCrossAccountAttachment 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateCrossAccountAttachment * @see AWS API Documentation */ default CompletableFuture createCrossAccountAttachment( Consumer createCrossAccountAttachmentRequest) { return createCrossAccountAttachment(CreateCrossAccountAttachmentRequest.builder() .applyMutation(createCrossAccountAttachmentRequest).build()); } /** *

* Create a custom routing accelerator. A custom routing accelerator directs traffic to one of possibly thousands of * Amazon EC2 instance destinations running in a single or multiple virtual private clouds (VPC) subnet endpoints. *

*

* Be aware that, by default, all destination EC2 instances in a VPC subnet endpoint cannot receive traffic. To * enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see * the * AllowCustomRoutingTraffic operation. *

* *

* Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you * must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for * example, specify --region us-west-2 on Amazon Web Services CLI commands. *

*
* * @param createCustomRoutingAcceleratorRequest * @return A Java Future containing the result of the CreateCustomRoutingAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateCustomRoutingAccelerator * @see AWS API Documentation */ default CompletableFuture createCustomRoutingAccelerator( CreateCustomRoutingAcceleratorRequest createCustomRoutingAcceleratorRequest) { throw new UnsupportedOperationException(); } /** *

* Create a custom routing accelerator. A custom routing accelerator directs traffic to one of possibly thousands of * Amazon EC2 instance destinations running in a single or multiple virtual private clouds (VPC) subnet endpoints. *

*

* Be aware that, by default, all destination EC2 instances in a VPC subnet endpoint cannot receive traffic. To * enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see * the * AllowCustomRoutingTraffic operation. *

* *

* Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you * must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for * example, specify --region us-west-2 on Amazon Web Services CLI commands. *

*

*

* This is a convenience which creates an instance of the {@link CreateCustomRoutingAcceleratorRequest.Builder} * avoiding the need to create one manually via {@link CreateCustomRoutingAcceleratorRequest#builder()} *

* * @param createCustomRoutingAcceleratorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.CreateCustomRoutingAcceleratorRequest.Builder} * to create a request. * @return A Java Future containing the result of the CreateCustomRoutingAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateCustomRoutingAccelerator * @see AWS API Documentation */ default CompletableFuture createCustomRoutingAccelerator( Consumer createCustomRoutingAcceleratorRequest) { return createCustomRoutingAccelerator(CreateCustomRoutingAcceleratorRequest.builder() .applyMutation(createCustomRoutingAcceleratorRequest).build()); } /** *

* Create an endpoint group for the specified listener for a custom routing accelerator. An endpoint group is a * collection of endpoints in one Amazon Web Services Region. *

* * @param createCustomRoutingEndpointGroupRequest * @return A Java Future containing the result of the CreateCustomRoutingEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • EndpointGroupAlreadyExistsException The endpoint group that you specified already exists.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidPortRangeException The port numbers that you specified are not valid numbers or are not unique * for this accelerator.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateCustomRoutingEndpointGroup * @see AWS API Documentation */ default CompletableFuture createCustomRoutingEndpointGroup( CreateCustomRoutingEndpointGroupRequest createCustomRoutingEndpointGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Create an endpoint group for the specified listener for a custom routing accelerator. An endpoint group is a * collection of endpoints in one Amazon Web Services Region. *

*
*

* This is a convenience which creates an instance of the {@link CreateCustomRoutingEndpointGroupRequest.Builder} * avoiding the need to create one manually via {@link CreateCustomRoutingEndpointGroupRequest#builder()} *

* * @param createCustomRoutingEndpointGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.CreateCustomRoutingEndpointGroupRequest.Builder} * to create a request. * @return A Java Future containing the result of the CreateCustomRoutingEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • EndpointGroupAlreadyExistsException The endpoint group that you specified already exists.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidPortRangeException The port numbers that you specified are not valid numbers or are not unique * for this accelerator.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateCustomRoutingEndpointGroup * @see AWS API Documentation */ default CompletableFuture createCustomRoutingEndpointGroup( Consumer createCustomRoutingEndpointGroupRequest) { return createCustomRoutingEndpointGroup(CreateCustomRoutingEndpointGroupRequest.builder() .applyMutation(createCustomRoutingEndpointGroupRequest).build()); } /** *

* Create a listener to process inbound connections from clients to a custom routing accelerator. Connections arrive * to assigned static IP addresses on the port range that you specify. *

* * @param createCustomRoutingListenerRequest * @return A Java Future containing the result of the CreateCustomRoutingListener 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InvalidPortRangeException The port numbers that you specified are not valid numbers or are not unique * for this accelerator.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateCustomRoutingListener * @see AWS API Documentation */ default CompletableFuture createCustomRoutingListener( CreateCustomRoutingListenerRequest createCustomRoutingListenerRequest) { throw new UnsupportedOperationException(); } /** *

* Create a listener to process inbound connections from clients to a custom routing accelerator. Connections arrive * to assigned static IP addresses on the port range that you specify. *

*
*

* This is a convenience which creates an instance of the {@link CreateCustomRoutingListenerRequest.Builder} * avoiding the need to create one manually via {@link CreateCustomRoutingListenerRequest#builder()} *

* * @param createCustomRoutingListenerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.CreateCustomRoutingListenerRequest.Builder} * to create a request. * @return A Java Future containing the result of the CreateCustomRoutingListener 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InvalidPortRangeException The port numbers that you specified are not valid numbers or are not unique * for this accelerator.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateCustomRoutingListener * @see AWS API Documentation */ default CompletableFuture createCustomRoutingListener( Consumer createCustomRoutingListenerRequest) { return createCustomRoutingListener(CreateCustomRoutingListenerRequest.builder() .applyMutation(createCustomRoutingListenerRequest).build()); } /** *

* Create an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one Amazon * Web Services Region. A resource must be valid and active when you add it as an endpoint. *

*

* For more information about endpoint types and requirements for endpoints that you can add to Global Accelerator, * see Endpoints for * standard accelerators in the Global Accelerator Developer Guide. *

* * @param createEndpointGroupRequest * @return A Java Future containing the result of the CreateEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • EndpointGroupAlreadyExistsException The endpoint group that you specified already exists.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateEndpointGroup * @see AWS API Documentation */ default CompletableFuture createEndpointGroup( CreateEndpointGroupRequest createEndpointGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Create an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one Amazon * Web Services Region. A resource must be valid and active when you add it as an endpoint. *

*

* For more information about endpoint types and requirements for endpoints that you can add to Global Accelerator, * see Endpoints for * standard accelerators in the Global Accelerator Developer Guide. *

*
*

* This is a convenience which creates an instance of the {@link CreateEndpointGroupRequest.Builder} avoiding the * need to create one manually via {@link CreateEndpointGroupRequest#builder()} *

* * @param createEndpointGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.CreateEndpointGroupRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreateEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • EndpointGroupAlreadyExistsException The endpoint group that you specified already exists.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateEndpointGroup * @see AWS API Documentation */ default CompletableFuture createEndpointGroup( Consumer createEndpointGroupRequest) { return createEndpointGroup(CreateEndpointGroupRequest.builder().applyMutation(createEndpointGroupRequest).build()); } /** *

* Create a listener to process inbound connections from clients to an accelerator. Connections arrive to assigned * static IP addresses on a port, port range, or list of port ranges that you specify. *

* * @param createListenerRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InvalidPortRangeException The port numbers that you specified are not valid numbers or are not unique * for this accelerator.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateListener * @see AWS API Documentation */ default CompletableFuture createListener(CreateListenerRequest createListenerRequest) { throw new UnsupportedOperationException(); } /** *

* Create a listener to process inbound connections from clients to an accelerator. Connections arrive to assigned * static IP addresses on a port, port range, or list of port ranges that you specify. *

*
*

* This is a convenience which creates an instance of the {@link CreateListenerRequest.Builder} avoiding the need to * create one manually via {@link CreateListenerRequest#builder()} *

* * @param createListenerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.CreateListenerRequest.Builder} to create a * request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InvalidPortRangeException The port numbers that you specified are not valid numbers or are not unique * for this accelerator.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.CreateListener * @see AWS API Documentation */ default CompletableFuture createListener(Consumer createListenerRequest) { return createListener(CreateListenerRequest.builder().applyMutation(createListenerRequest).build()); } /** *

* Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent * resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set * Enabled to false. *

* *

* When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP * addresses. Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses * from those ranges. *

*

* The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator * and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static * IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best * practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM * policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more * information, see Identity and access * management in the Global Accelerator Developer Guide. *

*
* * @param deleteAcceleratorRequest * @return A Java Future containing the result of the DeleteAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • AcceleratorNotDisabledException The accelerator that you specified could not be disabled.
  • *
  • AssociatedListenerFoundException The accelerator that you specified has a listener associated with * it. You must remove all dependent resources from an accelerator before you can delete it.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteAccelerator * @see AWS API Documentation */ default CompletableFuture deleteAccelerator(DeleteAcceleratorRequest deleteAcceleratorRequest) { throw new UnsupportedOperationException(); } /** *

* Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent * resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set * Enabled to false. *

* *

* When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP * addresses. Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses * from those ranges. *

*

* The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator * and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static * IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best * practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM * policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more * information, see Identity and access * management in the Global Accelerator Developer Guide. *

*

*

* This is a convenience which creates an instance of the {@link DeleteAcceleratorRequest.Builder} avoiding the need * to create one manually via {@link DeleteAcceleratorRequest#builder()} *

* * @param deleteAcceleratorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DeleteAcceleratorRequest.Builder} to create * a request. * @return A Java Future containing the result of the DeleteAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • AcceleratorNotDisabledException The accelerator that you specified could not be disabled.
  • *
  • AssociatedListenerFoundException The accelerator that you specified has a listener associated with * it. You must remove all dependent resources from an accelerator before you can delete it.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteAccelerator * @see AWS API Documentation */ default CompletableFuture deleteAccelerator( Consumer deleteAcceleratorRequest) { return deleteAccelerator(DeleteAcceleratorRequest.builder().applyMutation(deleteAcceleratorRequest).build()); } /** *

* Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission to * use the resources in the attachment from all principals in the list of principals. Global Accelerator revokes the * permission for specific resources. *

*

* For more information, see Working with * cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer * Guide. *

* * @param deleteCrossAccountAttachmentRequest * @return A Java Future containing the result of the DeleteCrossAccountAttachment 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AttachmentNotFoundException No cross-account attachment was found.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteCrossAccountAttachment * @see AWS API Documentation */ default CompletableFuture deleteCrossAccountAttachment( DeleteCrossAccountAttachmentRequest deleteCrossAccountAttachmentRequest) { throw new UnsupportedOperationException(); } /** *

* Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission to * use the resources in the attachment from all principals in the list of principals. Global Accelerator revokes the * permission for specific resources. *

*

* For more information, see Working with * cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer * Guide. *

*
*

* This is a convenience which creates an instance of the {@link DeleteCrossAccountAttachmentRequest.Builder} * avoiding the need to create one manually via {@link DeleteCrossAccountAttachmentRequest#builder()} *

* * @param deleteCrossAccountAttachmentRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DeleteCrossAccountAttachmentRequest.Builder} * to create a request. * @return A Java Future containing the result of the DeleteCrossAccountAttachment 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AttachmentNotFoundException No cross-account attachment was found.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteCrossAccountAttachment * @see AWS API Documentation */ default CompletableFuture deleteCrossAccountAttachment( Consumer deleteCrossAccountAttachmentRequest) { return deleteCrossAccountAttachment(DeleteCrossAccountAttachmentRequest.builder() .applyMutation(deleteCrossAccountAttachmentRequest).build()); } /** *

* Delete a custom routing accelerator. Before you can delete an accelerator, you must disable it and remove all * dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set * Enabled to false. *

* *

* When you create a custom routing accelerator, by default, Global Accelerator provides you with a set of two * static IP addresses. *

*

* The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator * and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static * IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best * practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM * policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more * information, see Identity and access * management in the Global Accelerator Developer Guide. *

*
* * @param deleteCustomRoutingAcceleratorRequest * @return A Java Future containing the result of the DeleteCustomRoutingAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • AcceleratorNotDisabledException The accelerator that you specified could not be disabled.
  • *
  • AssociatedListenerFoundException The accelerator that you specified has a listener associated with * it. You must remove all dependent resources from an accelerator before you can delete it.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteCustomRoutingAccelerator * @see AWS API Documentation */ default CompletableFuture deleteCustomRoutingAccelerator( DeleteCustomRoutingAcceleratorRequest deleteCustomRoutingAcceleratorRequest) { throw new UnsupportedOperationException(); } /** *

* Delete a custom routing accelerator. Before you can delete an accelerator, you must disable it and remove all * dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set * Enabled to false. *

* *

* When you create a custom routing accelerator, by default, Global Accelerator provides you with a set of two * static IP addresses. *

*

* The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator * and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static * IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best * practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM * policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more * information, see Identity and access * management in the Global Accelerator Developer Guide. *

*

*

* This is a convenience which creates an instance of the {@link DeleteCustomRoutingAcceleratorRequest.Builder} * avoiding the need to create one manually via {@link DeleteCustomRoutingAcceleratorRequest#builder()} *

* * @param deleteCustomRoutingAcceleratorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DeleteCustomRoutingAcceleratorRequest.Builder} * to create a request. * @return A Java Future containing the result of the DeleteCustomRoutingAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • AcceleratorNotDisabledException The accelerator that you specified could not be disabled.
  • *
  • AssociatedListenerFoundException The accelerator that you specified has a listener associated with * it. You must remove all dependent resources from an accelerator before you can delete it.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteCustomRoutingAccelerator * @see AWS API Documentation */ default CompletableFuture deleteCustomRoutingAccelerator( Consumer deleteCustomRoutingAcceleratorRequest) { return deleteCustomRoutingAccelerator(DeleteCustomRoutingAcceleratorRequest.builder() .applyMutation(deleteCustomRoutingAcceleratorRequest).build()); } /** *

* Delete an endpoint group from a listener for a custom routing accelerator. *

* * @param deleteCustomRoutingEndpointGroupRequest * @return A Java Future containing the result of the DeleteCustomRoutingEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteCustomRoutingEndpointGroup * @see AWS API Documentation */ default CompletableFuture deleteCustomRoutingEndpointGroup( DeleteCustomRoutingEndpointGroupRequest deleteCustomRoutingEndpointGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Delete an endpoint group from a listener for a custom routing accelerator. *

*
*

* This is a convenience which creates an instance of the {@link DeleteCustomRoutingEndpointGroupRequest.Builder} * avoiding the need to create one manually via {@link DeleteCustomRoutingEndpointGroupRequest#builder()} *

* * @param deleteCustomRoutingEndpointGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DeleteCustomRoutingEndpointGroupRequest.Builder} * to create a request. * @return A Java Future containing the result of the DeleteCustomRoutingEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteCustomRoutingEndpointGroup * @see AWS API Documentation */ default CompletableFuture deleteCustomRoutingEndpointGroup( Consumer deleteCustomRoutingEndpointGroupRequest) { return deleteCustomRoutingEndpointGroup(DeleteCustomRoutingEndpointGroupRequest.builder() .applyMutation(deleteCustomRoutingEndpointGroupRequest).build()); } /** *

* Delete a listener for a custom routing accelerator. *

* * @param deleteCustomRoutingListenerRequest * @return A Java Future containing the result of the DeleteCustomRoutingListener 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • AssociatedEndpointGroupFoundException The listener that you specified has an endpoint group * associated with it. You must remove all dependent resources from a listener before you can delete it.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteCustomRoutingListener * @see AWS API Documentation */ default CompletableFuture deleteCustomRoutingListener( DeleteCustomRoutingListenerRequest deleteCustomRoutingListenerRequest) { throw new UnsupportedOperationException(); } /** *

* Delete a listener for a custom routing accelerator. *

*
*

* This is a convenience which creates an instance of the {@link DeleteCustomRoutingListenerRequest.Builder} * avoiding the need to create one manually via {@link DeleteCustomRoutingListenerRequest#builder()} *

* * @param deleteCustomRoutingListenerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DeleteCustomRoutingListenerRequest.Builder} * to create a request. * @return A Java Future containing the result of the DeleteCustomRoutingListener 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • AssociatedEndpointGroupFoundException The listener that you specified has an endpoint group * associated with it. You must remove all dependent resources from a listener before you can delete it.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteCustomRoutingListener * @see AWS API Documentation */ default CompletableFuture deleteCustomRoutingListener( Consumer deleteCustomRoutingListenerRequest) { return deleteCustomRoutingListener(DeleteCustomRoutingListenerRequest.builder() .applyMutation(deleteCustomRoutingListenerRequest).build()); } /** *

* Delete an endpoint group from a listener. *

* * @param deleteEndpointGroupRequest * @return A Java Future containing the result of the DeleteEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteEndpointGroup * @see AWS API Documentation */ default CompletableFuture deleteEndpointGroup( DeleteEndpointGroupRequest deleteEndpointGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Delete an endpoint group from a listener. *

*
*

* This is a convenience which creates an instance of the {@link DeleteEndpointGroupRequest.Builder} avoiding the * need to create one manually via {@link DeleteEndpointGroupRequest#builder()} *

* * @param deleteEndpointGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DeleteEndpointGroupRequest.Builder} to * create a request. * @return A Java Future containing the result of the DeleteEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteEndpointGroup * @see AWS API Documentation */ default CompletableFuture deleteEndpointGroup( Consumer deleteEndpointGroupRequest) { return deleteEndpointGroup(DeleteEndpointGroupRequest.builder().applyMutation(deleteEndpointGroupRequest).build()); } /** *

* Delete a listener from an accelerator. *

* * @param deleteListenerRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • AssociatedEndpointGroupFoundException The listener that you specified has an endpoint group * associated with it. You must remove all dependent resources from a listener before you can delete it.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteListener * @see AWS API Documentation */ default CompletableFuture deleteListener(DeleteListenerRequest deleteListenerRequest) { throw new UnsupportedOperationException(); } /** *

* Delete a listener from an accelerator. *

*
*

* This is a convenience which creates an instance of the {@link DeleteListenerRequest.Builder} avoiding the need to * create one manually via {@link DeleteListenerRequest#builder()} *

* * @param deleteListenerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DeleteListenerRequest.Builder} to create a * request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • AssociatedEndpointGroupFoundException The listener that you specified has an endpoint group * associated with it. You must remove all dependent resources from a listener before you can delete it.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeleteListener * @see AWS API Documentation */ default CompletableFuture deleteListener(Consumer deleteListenerRequest) { return deleteListener(DeleteListenerRequest.builder().applyMutation(deleteListenerRequest).build()); } /** *

* Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that cannot * receive traffic for a custom routing accelerator. You can deny traffic to all destinations in the VPC endpoint, * or deny traffic to a specified list of destination IP addresses and ports. Note that you cannot specify IP * addresses or ports outside of the range that you configured for the endpoint group. *

*

* After you make changes, you can verify that the updates are complete by checking the status of your accelerator: * the status changes from IN_PROGRESS to DEPLOYED. *

* * @param denyCustomRoutingTrafficRequest * @return A Java Future containing the result of the DenyCustomRoutingTraffic 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DenyCustomRoutingTraffic * @see AWS API Documentation */ default CompletableFuture denyCustomRoutingTraffic( DenyCustomRoutingTrafficRequest denyCustomRoutingTrafficRequest) { throw new UnsupportedOperationException(); } /** *

* Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that cannot * receive traffic for a custom routing accelerator. You can deny traffic to all destinations in the VPC endpoint, * or deny traffic to a specified list of destination IP addresses and ports. Note that you cannot specify IP * addresses or ports outside of the range that you configured for the endpoint group. *

*

* After you make changes, you can verify that the updates are complete by checking the status of your accelerator: * the status changes from IN_PROGRESS to DEPLOYED. *

*
*

* This is a convenience which creates an instance of the {@link DenyCustomRoutingTrafficRequest.Builder} avoiding * the need to create one manually via {@link DenyCustomRoutingTrafficRequest#builder()} *

* * @param denyCustomRoutingTrafficRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DenyCustomRoutingTrafficRequest.Builder} to * create a request. * @return A Java Future containing the result of the DenyCustomRoutingTraffic 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DenyCustomRoutingTraffic * @see AWS API Documentation */ default CompletableFuture denyCustomRoutingTraffic( Consumer denyCustomRoutingTrafficRequest) { return denyCustomRoutingTraffic(DenyCustomRoutingTrafficRequest.builder().applyMutation(denyCustomRoutingTrafficRequest) .build()); } /** *

* Releases the specified address range that you provisioned to use with your Amazon Web Services resources through * bring your own IP addresses (BYOIP) and deletes the corresponding address pool. *

*

* Before you can release an address range, you must stop advertising it by using WithdrawByoipCidr and * you must not have any accelerators that are using static IP addresses allocated from its address range. *

*

* For more information, see Bring your own IP addresses * (BYOIP) in the Global Accelerator Developer Guide. *

* * @param deprovisionByoipCidrRequest * @return A Java Future containing the result of the DeprovisionByoipCidr 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • ByoipCidrNotFoundException The CIDR that you specified was not found or is incorrect.
  • *
  • IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, * the state of the CIDR might be incorrect for this action.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeprovisionByoipCidr * @see AWS API Documentation */ default CompletableFuture deprovisionByoipCidr( DeprovisionByoipCidrRequest deprovisionByoipCidrRequest) { throw new UnsupportedOperationException(); } /** *

* Releases the specified address range that you provisioned to use with your Amazon Web Services resources through * bring your own IP addresses (BYOIP) and deletes the corresponding address pool. *

*

* Before you can release an address range, you must stop advertising it by using WithdrawByoipCidr and * you must not have any accelerators that are using static IP addresses allocated from its address range. *

*

* For more information, see Bring your own IP addresses * (BYOIP) in the Global Accelerator Developer Guide. *

*
*

* This is a convenience which creates an instance of the {@link DeprovisionByoipCidrRequest.Builder} avoiding the * need to create one manually via {@link DeprovisionByoipCidrRequest#builder()} *

* * @param deprovisionByoipCidrRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DeprovisionByoipCidrRequest.Builder} to * create a request. * @return A Java Future containing the result of the DeprovisionByoipCidr 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • ByoipCidrNotFoundException The CIDR that you specified was not found or is incorrect.
  • *
  • IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, * the state of the CIDR might be incorrect for this action.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DeprovisionByoipCidr * @see AWS API Documentation */ default CompletableFuture deprovisionByoipCidr( Consumer deprovisionByoipCidrRequest) { return deprovisionByoipCidr(DeprovisionByoipCidrRequest.builder().applyMutation(deprovisionByoipCidrRequest).build()); } /** *

* Describe an accelerator. *

* * @param describeAcceleratorRequest * @return A Java Future containing the result of the DescribeAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeAccelerator * @see AWS API Documentation */ default CompletableFuture describeAccelerator( DescribeAcceleratorRequest describeAcceleratorRequest) { throw new UnsupportedOperationException(); } /** *

* Describe an accelerator. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAcceleratorRequest.Builder} avoiding the * need to create one manually via {@link DescribeAcceleratorRequest#builder()} *

* * @param describeAcceleratorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DescribeAcceleratorRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeAccelerator * @see AWS API Documentation */ default CompletableFuture describeAccelerator( Consumer describeAcceleratorRequest) { return describeAccelerator(DescribeAcceleratorRequest.builder().applyMutation(describeAcceleratorRequest).build()); } /** *

* Describe the attributes of an accelerator. *

* * @param describeAcceleratorAttributesRequest * @return A Java Future containing the result of the DescribeAcceleratorAttributes 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeAcceleratorAttributes * @see AWS API Documentation */ default CompletableFuture describeAcceleratorAttributes( DescribeAcceleratorAttributesRequest describeAcceleratorAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Describe the attributes of an accelerator. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAcceleratorAttributesRequest.Builder} * avoiding the need to create one manually via {@link DescribeAcceleratorAttributesRequest#builder()} *

* * @param describeAcceleratorAttributesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DescribeAcceleratorAttributesRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeAcceleratorAttributes 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeAcceleratorAttributes * @see AWS API Documentation */ default CompletableFuture describeAcceleratorAttributes( Consumer describeAcceleratorAttributesRequest) { return describeAcceleratorAttributes(DescribeAcceleratorAttributesRequest.builder() .applyMutation(describeAcceleratorAttributesRequest).build()); } /** *

* Gets configuration information about a cross-account attachment. *

* * @param describeCrossAccountAttachmentRequest * @return A Java Future containing the result of the DescribeCrossAccountAttachment 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AttachmentNotFoundException No cross-account attachment was found.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeCrossAccountAttachment * @see AWS API Documentation */ default CompletableFuture describeCrossAccountAttachment( DescribeCrossAccountAttachmentRequest describeCrossAccountAttachmentRequest) { throw new UnsupportedOperationException(); } /** *

* Gets configuration information about a cross-account attachment. *

*
*

* This is a convenience which creates an instance of the {@link DescribeCrossAccountAttachmentRequest.Builder} * avoiding the need to create one manually via {@link DescribeCrossAccountAttachmentRequest#builder()} *

* * @param describeCrossAccountAttachmentRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DescribeCrossAccountAttachmentRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeCrossAccountAttachment 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AttachmentNotFoundException No cross-account attachment was found.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeCrossAccountAttachment * @see AWS API Documentation */ default CompletableFuture describeCrossAccountAttachment( Consumer describeCrossAccountAttachmentRequest) { return describeCrossAccountAttachment(DescribeCrossAccountAttachmentRequest.builder() .applyMutation(describeCrossAccountAttachmentRequest).build()); } /** *

* Describe a custom routing accelerator. *

* * @param describeCustomRoutingAcceleratorRequest * @return A Java Future containing the result of the DescribeCustomRoutingAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeCustomRoutingAccelerator * @see AWS API Documentation */ default CompletableFuture describeCustomRoutingAccelerator( DescribeCustomRoutingAcceleratorRequest describeCustomRoutingAcceleratorRequest) { throw new UnsupportedOperationException(); } /** *

* Describe a custom routing accelerator. *

*
*

* This is a convenience which creates an instance of the {@link DescribeCustomRoutingAcceleratorRequest.Builder} * avoiding the need to create one manually via {@link DescribeCustomRoutingAcceleratorRequest#builder()} *

* * @param describeCustomRoutingAcceleratorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DescribeCustomRoutingAcceleratorRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeCustomRoutingAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeCustomRoutingAccelerator * @see AWS API Documentation */ default CompletableFuture describeCustomRoutingAccelerator( Consumer describeCustomRoutingAcceleratorRequest) { return describeCustomRoutingAccelerator(DescribeCustomRoutingAcceleratorRequest.builder() .applyMutation(describeCustomRoutingAcceleratorRequest).build()); } /** *

* Describe the attributes of a custom routing accelerator. *

* * @param describeCustomRoutingAcceleratorAttributesRequest * @return A Java Future containing the result of the DescribeCustomRoutingAcceleratorAttributes 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeCustomRoutingAcceleratorAttributes * @see AWS API Documentation */ default CompletableFuture describeCustomRoutingAcceleratorAttributes( DescribeCustomRoutingAcceleratorAttributesRequest describeCustomRoutingAcceleratorAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Describe the attributes of a custom routing accelerator. *

*
*

* This is a convenience which creates an instance of the * {@link DescribeCustomRoutingAcceleratorAttributesRequest.Builder} avoiding the need to create one manually via * {@link DescribeCustomRoutingAcceleratorAttributesRequest#builder()} *

* * @param describeCustomRoutingAcceleratorAttributesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DescribeCustomRoutingAcceleratorAttributesRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeCustomRoutingAcceleratorAttributes 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeCustomRoutingAcceleratorAttributes * @see AWS API Documentation */ default CompletableFuture describeCustomRoutingAcceleratorAttributes( Consumer describeCustomRoutingAcceleratorAttributesRequest) { return describeCustomRoutingAcceleratorAttributes(DescribeCustomRoutingAcceleratorAttributesRequest.builder() .applyMutation(describeCustomRoutingAcceleratorAttributesRequest).build()); } /** *

* Describe an endpoint group for a custom routing accelerator. *

* * @param describeCustomRoutingEndpointGroupRequest * @return A Java Future containing the result of the DescribeCustomRoutingEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeCustomRoutingEndpointGroup * @see AWS API Documentation */ default CompletableFuture describeCustomRoutingEndpointGroup( DescribeCustomRoutingEndpointGroupRequest describeCustomRoutingEndpointGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Describe an endpoint group for a custom routing accelerator. *

*
*

* This is a convenience which creates an instance of the {@link DescribeCustomRoutingEndpointGroupRequest.Builder} * avoiding the need to create one manually via {@link DescribeCustomRoutingEndpointGroupRequest#builder()} *

* * @param describeCustomRoutingEndpointGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DescribeCustomRoutingEndpointGroupRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeCustomRoutingEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeCustomRoutingEndpointGroup * @see AWS API Documentation */ default CompletableFuture describeCustomRoutingEndpointGroup( Consumer describeCustomRoutingEndpointGroupRequest) { return describeCustomRoutingEndpointGroup(DescribeCustomRoutingEndpointGroupRequest.builder() .applyMutation(describeCustomRoutingEndpointGroupRequest).build()); } /** *

* The description of a listener for a custom routing accelerator. *

* * @param describeCustomRoutingListenerRequest * @return A Java Future containing the result of the DescribeCustomRoutingListener 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeCustomRoutingListener * @see AWS API Documentation */ default CompletableFuture describeCustomRoutingListener( DescribeCustomRoutingListenerRequest describeCustomRoutingListenerRequest) { throw new UnsupportedOperationException(); } /** *

* The description of a listener for a custom routing accelerator. *

*
*

* This is a convenience which creates an instance of the {@link DescribeCustomRoutingListenerRequest.Builder} * avoiding the need to create one manually via {@link DescribeCustomRoutingListenerRequest#builder()} *

* * @param describeCustomRoutingListenerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DescribeCustomRoutingListenerRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeCustomRoutingListener 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeCustomRoutingListener * @see AWS API Documentation */ default CompletableFuture describeCustomRoutingListener( Consumer describeCustomRoutingListenerRequest) { return describeCustomRoutingListener(DescribeCustomRoutingListenerRequest.builder() .applyMutation(describeCustomRoutingListenerRequest).build()); } /** *

* Describe an endpoint group. *

* * @param describeEndpointGroupRequest * @return A Java Future containing the result of the DescribeEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeEndpointGroup * @see AWS API Documentation */ default CompletableFuture describeEndpointGroup( DescribeEndpointGroupRequest describeEndpointGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Describe an endpoint group. *

*
*

* This is a convenience which creates an instance of the {@link DescribeEndpointGroupRequest.Builder} avoiding the * need to create one manually via {@link DescribeEndpointGroupRequest#builder()} *

* * @param describeEndpointGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DescribeEndpointGroupRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeEndpointGroup * @see AWS API Documentation */ default CompletableFuture describeEndpointGroup( Consumer describeEndpointGroupRequest) { return describeEndpointGroup(DescribeEndpointGroupRequest.builder().applyMutation(describeEndpointGroupRequest).build()); } /** *

* Describe a listener. *

* * @param describeListenerRequest * @return A Java Future containing the result of the DescribeListener 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeListener * @see AWS API Documentation */ default CompletableFuture describeListener(DescribeListenerRequest describeListenerRequest) { throw new UnsupportedOperationException(); } /** *

* Describe a listener. *

*
*

* This is a convenience which creates an instance of the {@link DescribeListenerRequest.Builder} avoiding the need * to create one manually via {@link DescribeListenerRequest#builder()} *

* * @param describeListenerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.DescribeListenerRequest.Builder} to create * a request. * @return A Java Future containing the result of the DescribeListener 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.DescribeListener * @see AWS API Documentation */ default CompletableFuture describeListener( Consumer describeListenerRequest) { return describeListener(DescribeListenerRequest.builder().applyMutation(describeListenerRequest).build()); } /** *

* List the accelerators for an Amazon Web Services account. *

* * @param listAcceleratorsRequest * @return A Java Future containing the result of the ListAccelerators 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListAccelerators * @see AWS API Documentation */ default CompletableFuture listAccelerators(ListAcceleratorsRequest listAcceleratorsRequest) { throw new UnsupportedOperationException(); } /** *

* List the accelerators for an Amazon Web Services account. *

*
*

* This is a convenience which creates an instance of the {@link ListAcceleratorsRequest.Builder} avoiding the need * to create one manually via {@link ListAcceleratorsRequest#builder()} *

* * @param listAcceleratorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListAccelerators 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListAccelerators * @see AWS API Documentation */ default CompletableFuture listAccelerators( Consumer listAcceleratorsRequest) { return listAccelerators(ListAcceleratorsRequest.builder().applyMutation(listAcceleratorsRequest).build()); } /** *

* List the accelerators for an Amazon Web Services account. *

* * @return A Java Future containing the result of the ListAccelerators 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListAccelerators * @see AWS API Documentation */ default CompletableFuture listAccelerators() { return listAccelerators(ListAcceleratorsRequest.builder().build()); } /** *

* This is a variant of * {@link #listAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsPublisher publisher = client.listAcceleratorsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsPublisher publisher = client.listAcceleratorsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsResponse 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 MaxResults 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 * {@link #listAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)} * operation. *

* * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListAccelerators * @see AWS API Documentation */ default ListAcceleratorsPublisher listAcceleratorsPaginator() { return listAcceleratorsPaginator(ListAcceleratorsRequest.builder().build()); } /** *

* This is a variant of * {@link #listAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsPublisher publisher = client.listAcceleratorsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsPublisher publisher = client.listAcceleratorsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsResponse 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 MaxResults 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 * {@link #listAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)} * operation. *

* * @param listAcceleratorsRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListAccelerators * @see AWS API Documentation */ default ListAcceleratorsPublisher listAcceleratorsPaginator(ListAcceleratorsRequest listAcceleratorsRequest) { return new ListAcceleratorsPublisher(this, listAcceleratorsRequest); } /** *

* This is a variant of * {@link #listAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsPublisher publisher = client.listAcceleratorsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsPublisher publisher = client.listAcceleratorsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsResponse 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 MaxResults 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 * {@link #listAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListAcceleratorsRequest.Builder} avoiding the need * to create one manually via {@link ListAcceleratorsRequest#builder()} *

* * @param listAcceleratorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest.Builder} to create * a request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListAccelerators * @see AWS API Documentation */ default ListAcceleratorsPublisher listAcceleratorsPaginator(Consumer listAcceleratorsRequest) { return listAcceleratorsPaginator(ListAcceleratorsRequest.builder().applyMutation(listAcceleratorsRequest).build()); } /** *

* Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, * including the current state and a history of state changes. *

* * @param listByoipCidrsRequest * @return A Java Future containing the result of the ListByoipCidrs 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListByoipCidrs * @see AWS API Documentation */ default CompletableFuture listByoipCidrs(ListByoipCidrsRequest listByoipCidrsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, * including the current state and a history of state changes. *

*
*

* This is a convenience which creates an instance of the {@link ListByoipCidrsRequest.Builder} avoiding the need to * create one manually via {@link ListByoipCidrsRequest#builder()} *

* * @param listByoipCidrsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListByoipCidrs 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListByoipCidrs * @see AWS API Documentation */ default CompletableFuture listByoipCidrs(Consumer listByoipCidrsRequest) { return listByoipCidrs(ListByoipCidrsRequest.builder().applyMutation(listByoipCidrsRequest).build()); } /** *

* This is a variant of * {@link #listByoipCidrs(software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest)} 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsPublisher publisher = client.listByoipCidrsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsPublisher publisher = client.listByoipCidrsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsResponse 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 MaxResults 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 * {@link #listByoipCidrs(software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest)} * operation. *

* * @param listByoipCidrsRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListByoipCidrs * @see AWS API Documentation */ default ListByoipCidrsPublisher listByoipCidrsPaginator(ListByoipCidrsRequest listByoipCidrsRequest) { return new ListByoipCidrsPublisher(this, listByoipCidrsRequest); } /** *

* This is a variant of * {@link #listByoipCidrs(software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest)} 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsPublisher publisher = client.listByoipCidrsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsPublisher publisher = client.listByoipCidrsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsResponse 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 MaxResults 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 * {@link #listByoipCidrs(software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListByoipCidrsRequest.Builder} avoiding the need to * create one manually via {@link ListByoipCidrsRequest#builder()} *

* * @param listByoipCidrsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest.Builder} to create a * request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListByoipCidrs * @see AWS API Documentation */ default ListByoipCidrsPublisher listByoipCidrsPaginator(Consumer listByoipCidrsRequest) { return listByoipCidrsPaginator(ListByoipCidrsRequest.builder().applyMutation(listByoipCidrsRequest).build()); } /** *

* List the cross-account attachments that have been created in Global Accelerator. *

* * @param listCrossAccountAttachmentsRequest * @return A Java Future containing the result of the ListCrossAccountAttachments 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have access permission.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCrossAccountAttachments * @see AWS API Documentation */ default CompletableFuture listCrossAccountAttachments( ListCrossAccountAttachmentsRequest listCrossAccountAttachmentsRequest) { throw new UnsupportedOperationException(); } /** *

* List the cross-account attachments that have been created in Global Accelerator. *

*
*

* This is a convenience which creates an instance of the {@link ListCrossAccountAttachmentsRequest.Builder} * avoiding the need to create one manually via {@link ListCrossAccountAttachmentsRequest#builder()} *

* * @param listCrossAccountAttachmentsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest.Builder} * to create a request. * @return A Java Future containing the result of the ListCrossAccountAttachments 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have access permission.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCrossAccountAttachments * @see AWS API Documentation */ default CompletableFuture listCrossAccountAttachments( Consumer listCrossAccountAttachmentsRequest) { return listCrossAccountAttachments(ListCrossAccountAttachmentsRequest.builder() .applyMutation(listCrossAccountAttachmentsRequest).build()); } /** *

* This is a variant of * {@link #listCrossAccountAttachments(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountAttachmentsPublisher publisher = client.listCrossAccountAttachmentsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountAttachmentsPublisher publisher = client.listCrossAccountAttachmentsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsResponse 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 MaxResults 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 * {@link #listCrossAccountAttachments(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest)} * operation. *

* * @param listCrossAccountAttachmentsRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have access permission.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCrossAccountAttachments * @see AWS API Documentation */ default ListCrossAccountAttachmentsPublisher listCrossAccountAttachmentsPaginator( ListCrossAccountAttachmentsRequest listCrossAccountAttachmentsRequest) { return new ListCrossAccountAttachmentsPublisher(this, listCrossAccountAttachmentsRequest); } /** *

* This is a variant of * {@link #listCrossAccountAttachments(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountAttachmentsPublisher publisher = client.listCrossAccountAttachmentsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountAttachmentsPublisher publisher = client.listCrossAccountAttachmentsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsResponse 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 MaxResults 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 * {@link #listCrossAccountAttachments(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListCrossAccountAttachmentsRequest.Builder} * avoiding the need to create one manually via {@link ListCrossAccountAttachmentsRequest#builder()} *

* * @param listCrossAccountAttachmentsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest.Builder} * to create a request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have access permission.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCrossAccountAttachments * @see AWS API Documentation */ default ListCrossAccountAttachmentsPublisher listCrossAccountAttachmentsPaginator( Consumer listCrossAccountAttachmentsRequest) { return listCrossAccountAttachmentsPaginator(ListCrossAccountAttachmentsRequest.builder() .applyMutation(listCrossAccountAttachmentsRequest).build()); } /** *

* List the accounts that have cross-account resources. *

*

* For more information, see Working with * cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer * Guide. *

* * @param listCrossAccountResourceAccountsRequest * @return A Java Future containing the result of the ListCrossAccountResourceAccounts 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have access permission.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCrossAccountResourceAccounts * @see AWS API Documentation */ default CompletableFuture listCrossAccountResourceAccounts( ListCrossAccountResourceAccountsRequest listCrossAccountResourceAccountsRequest) { throw new UnsupportedOperationException(); } /** *

* List the accounts that have cross-account resources. *

*

* For more information, see Working with * cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer * Guide. *

*
*

* This is a convenience which creates an instance of the {@link ListCrossAccountResourceAccountsRequest.Builder} * avoiding the need to create one manually via {@link ListCrossAccountResourceAccountsRequest#builder()} *

* * @param listCrossAccountResourceAccountsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourceAccountsRequest.Builder} * to create a request. * @return A Java Future containing the result of the ListCrossAccountResourceAccounts 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have access permission.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCrossAccountResourceAccounts * @see AWS API Documentation */ default CompletableFuture listCrossAccountResourceAccounts( Consumer listCrossAccountResourceAccountsRequest) { return listCrossAccountResourceAccounts(ListCrossAccountResourceAccountsRequest.builder() .applyMutation(listCrossAccountResourceAccountsRequest).build()); } /** *

* List the cross-account resources available to work with. *

* * @param listCrossAccountResourcesRequest * @return A Java Future containing the result of the ListCrossAccountResources 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCrossAccountResources * @see AWS API Documentation */ default CompletableFuture listCrossAccountResources( ListCrossAccountResourcesRequest listCrossAccountResourcesRequest) { throw new UnsupportedOperationException(); } /** *

* List the cross-account resources available to work with. *

*
*

* This is a convenience which creates an instance of the {@link ListCrossAccountResourcesRequest.Builder} avoiding * the need to create one manually via {@link ListCrossAccountResourcesRequest#builder()} *

* * @param listCrossAccountResourcesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest.Builder} * to create a request. * @return A Java Future containing the result of the ListCrossAccountResources 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCrossAccountResources * @see AWS API Documentation */ default CompletableFuture listCrossAccountResources( Consumer listCrossAccountResourcesRequest) { return listCrossAccountResources(ListCrossAccountResourcesRequest.builder() .applyMutation(listCrossAccountResourcesRequest).build()); } /** *

* This is a variant of * {@link #listCrossAccountResources(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountResourcesPublisher publisher = client.listCrossAccountResourcesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountResourcesPublisher publisher = client.listCrossAccountResourcesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesResponse 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 MaxResults 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 * {@link #listCrossAccountResources(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest)} * operation. *

* * @param listCrossAccountResourcesRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCrossAccountResources * @see AWS API Documentation */ default ListCrossAccountResourcesPublisher listCrossAccountResourcesPaginator( ListCrossAccountResourcesRequest listCrossAccountResourcesRequest) { return new ListCrossAccountResourcesPublisher(this, listCrossAccountResourcesRequest); } /** *

* This is a variant of * {@link #listCrossAccountResources(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountResourcesPublisher publisher = client.listCrossAccountResourcesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountResourcesPublisher publisher = client.listCrossAccountResourcesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesResponse 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 MaxResults 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 * {@link #listCrossAccountResources(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListCrossAccountResourcesRequest.Builder} avoiding * the need to create one manually via {@link ListCrossAccountResourcesRequest#builder()} *

* * @param listCrossAccountResourcesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest.Builder} * to create a request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCrossAccountResources * @see AWS API Documentation */ default ListCrossAccountResourcesPublisher listCrossAccountResourcesPaginator( Consumer listCrossAccountResourcesRequest) { return listCrossAccountResourcesPaginator(ListCrossAccountResourcesRequest.builder() .applyMutation(listCrossAccountResourcesRequest).build()); } /** *

* List the custom routing accelerators for an Amazon Web Services account. *

* * @param listCustomRoutingAcceleratorsRequest * @return A Java Future containing the result of the ListCustomRoutingAccelerators 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingAccelerators * @see AWS API Documentation */ default CompletableFuture listCustomRoutingAccelerators( ListCustomRoutingAcceleratorsRequest listCustomRoutingAcceleratorsRequest) { throw new UnsupportedOperationException(); } /** *

* List the custom routing accelerators for an Amazon Web Services account. *

*
*

* This is a convenience which creates an instance of the {@link ListCustomRoutingAcceleratorsRequest.Builder} * avoiding the need to create one manually via {@link ListCustomRoutingAcceleratorsRequest#builder()} *

* * @param listCustomRoutingAcceleratorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest.Builder} * to create a request. * @return A Java Future containing the result of the ListCustomRoutingAccelerators 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingAccelerators * @see AWS API Documentation */ default CompletableFuture listCustomRoutingAccelerators( Consumer listCustomRoutingAcceleratorsRequest) { return listCustomRoutingAccelerators(ListCustomRoutingAcceleratorsRequest.builder() .applyMutation(listCustomRoutingAcceleratorsRequest).build()); } /** *

* This is a variant of * {@link #listCustomRoutingAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsPublisher publisher = client.listCustomRoutingAcceleratorsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsPublisher publisher = client.listCustomRoutingAcceleratorsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsResponse 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 MaxResults 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 * {@link #listCustomRoutingAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest)} * operation. *

* * @param listCustomRoutingAcceleratorsRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingAccelerators * @see AWS API Documentation */ default ListCustomRoutingAcceleratorsPublisher listCustomRoutingAcceleratorsPaginator( ListCustomRoutingAcceleratorsRequest listCustomRoutingAcceleratorsRequest) { return new ListCustomRoutingAcceleratorsPublisher(this, listCustomRoutingAcceleratorsRequest); } /** *

* This is a variant of * {@link #listCustomRoutingAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsPublisher publisher = client.listCustomRoutingAcceleratorsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsPublisher publisher = client.listCustomRoutingAcceleratorsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsResponse 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 MaxResults 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 * {@link #listCustomRoutingAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListCustomRoutingAcceleratorsRequest.Builder} * avoiding the need to create one manually via {@link ListCustomRoutingAcceleratorsRequest#builder()} *

* * @param listCustomRoutingAcceleratorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest.Builder} * to create a request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingAccelerators * @see AWS API Documentation */ default ListCustomRoutingAcceleratorsPublisher listCustomRoutingAcceleratorsPaginator( Consumer listCustomRoutingAcceleratorsRequest) { return listCustomRoutingAcceleratorsPaginator(ListCustomRoutingAcceleratorsRequest.builder() .applyMutation(listCustomRoutingAcceleratorsRequest).build()); } /** *

* List the endpoint groups that are associated with a listener for a custom routing accelerator. *

* * @param listCustomRoutingEndpointGroupsRequest * @return A Java Future containing the result of the ListCustomRoutingEndpointGroups 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingEndpointGroups * @see AWS API Documentation */ default CompletableFuture listCustomRoutingEndpointGroups( ListCustomRoutingEndpointGroupsRequest listCustomRoutingEndpointGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* List the endpoint groups that are associated with a listener for a custom routing accelerator. *

*
*

* This is a convenience which creates an instance of the {@link ListCustomRoutingEndpointGroupsRequest.Builder} * avoiding the need to create one manually via {@link ListCustomRoutingEndpointGroupsRequest#builder()} *

* * @param listCustomRoutingEndpointGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest.Builder} * to create a request. * @return A Java Future containing the result of the ListCustomRoutingEndpointGroups 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingEndpointGroups * @see AWS API Documentation */ default CompletableFuture listCustomRoutingEndpointGroups( Consumer listCustomRoutingEndpointGroupsRequest) { return listCustomRoutingEndpointGroups(ListCustomRoutingEndpointGroupsRequest.builder() .applyMutation(listCustomRoutingEndpointGroupsRequest).build()); } /** *

* This is a variant of * {@link #listCustomRoutingEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsPublisher publisher = client.listCustomRoutingEndpointGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsPublisher publisher = client.listCustomRoutingEndpointGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsResponse 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 MaxResults 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 * {@link #listCustomRoutingEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest)} * operation. *

* * @param listCustomRoutingEndpointGroupsRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingEndpointGroups * @see AWS API Documentation */ default ListCustomRoutingEndpointGroupsPublisher listCustomRoutingEndpointGroupsPaginator( ListCustomRoutingEndpointGroupsRequest listCustomRoutingEndpointGroupsRequest) { return new ListCustomRoutingEndpointGroupsPublisher(this, listCustomRoutingEndpointGroupsRequest); } /** *

* This is a variant of * {@link #listCustomRoutingEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsPublisher publisher = client.listCustomRoutingEndpointGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsPublisher publisher = client.listCustomRoutingEndpointGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsResponse 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 MaxResults 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 * {@link #listCustomRoutingEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListCustomRoutingEndpointGroupsRequest.Builder} * avoiding the need to create one manually via {@link ListCustomRoutingEndpointGroupsRequest#builder()} *

* * @param listCustomRoutingEndpointGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest.Builder} * to create a request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingEndpointGroups * @see AWS API Documentation */ default ListCustomRoutingEndpointGroupsPublisher listCustomRoutingEndpointGroupsPaginator( Consumer listCustomRoutingEndpointGroupsRequest) { return listCustomRoutingEndpointGroupsPaginator(ListCustomRoutingEndpointGroupsRequest.builder() .applyMutation(listCustomRoutingEndpointGroupsRequest).build()); } /** *

* List the listeners for a custom routing accelerator. *

* * @param listCustomRoutingListenersRequest * @return A Java Future containing the result of the ListCustomRoutingListeners 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingListeners * @see AWS API Documentation */ default CompletableFuture listCustomRoutingListeners( ListCustomRoutingListenersRequest listCustomRoutingListenersRequest) { throw new UnsupportedOperationException(); } /** *

* List the listeners for a custom routing accelerator. *

*
*

* This is a convenience which creates an instance of the {@link ListCustomRoutingListenersRequest.Builder} avoiding * the need to create one manually via {@link ListCustomRoutingListenersRequest#builder()} *

* * @param listCustomRoutingListenersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest.Builder} * to create a request. * @return A Java Future containing the result of the ListCustomRoutingListeners 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingListeners * @see AWS API Documentation */ default CompletableFuture listCustomRoutingListeners( Consumer listCustomRoutingListenersRequest) { return listCustomRoutingListeners(ListCustomRoutingListenersRequest.builder() .applyMutation(listCustomRoutingListenersRequest).build()); } /** *

* This is a variant of * {@link #listCustomRoutingListeners(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersPublisher publisher = client.listCustomRoutingListenersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersPublisher publisher = client.listCustomRoutingListenersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersResponse 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 MaxResults 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 * {@link #listCustomRoutingListeners(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest)} * operation. *

* * @param listCustomRoutingListenersRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingListeners * @see AWS API Documentation */ default ListCustomRoutingListenersPublisher listCustomRoutingListenersPaginator( ListCustomRoutingListenersRequest listCustomRoutingListenersRequest) { return new ListCustomRoutingListenersPublisher(this, listCustomRoutingListenersRequest); } /** *

* This is a variant of * {@link #listCustomRoutingListeners(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersPublisher publisher = client.listCustomRoutingListenersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersPublisher publisher = client.listCustomRoutingListenersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersResponse 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 MaxResults 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 * {@link #listCustomRoutingListeners(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListCustomRoutingListenersRequest.Builder} avoiding * the need to create one manually via {@link ListCustomRoutingListenersRequest#builder()} *

* * @param listCustomRoutingListenersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest.Builder} * to create a request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingListeners * @see AWS API Documentation */ default ListCustomRoutingListenersPublisher listCustomRoutingListenersPaginator( Consumer listCustomRoutingListenersRequest) { return listCustomRoutingListenersPaginator(ListCustomRoutingListenersRequest.builder() .applyMutation(listCustomRoutingListenersRequest).build()); } /** *

* Provides a complete mapping from the public accelerator IP address and port to destination EC2 instance IP * addresses and ports in the virtual public cloud (VPC) subnet endpoint for a custom routing accelerator. For each * subnet endpoint that you add, Global Accelerator creates a new static port mapping for the accelerator. The port * mappings don't change after Global Accelerator generates them, so you can retrieve and cache the full mapping on * your servers. *

*

* If you remove a subnet from your accelerator, Global Accelerator removes (reclaims) the port mappings. If you add * a subnet to your accelerator, Global Accelerator creates new port mappings (the existing ones don't change). If * you add or remove EC2 instances in your subnet, the port mappings don't change, because the mappings are created * when you add the subnet to Global Accelerator. *

*

* The mappings also include a flag for each destination denoting which destination IP addresses and ports are * allowed or denied traffic. *

* * @param listCustomRoutingPortMappingsRequest * @return A Java Future containing the result of the ListCustomRoutingPortMappings 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingPortMappings * @see AWS API Documentation */ default CompletableFuture listCustomRoutingPortMappings( ListCustomRoutingPortMappingsRequest listCustomRoutingPortMappingsRequest) { throw new UnsupportedOperationException(); } /** *

* Provides a complete mapping from the public accelerator IP address and port to destination EC2 instance IP * addresses and ports in the virtual public cloud (VPC) subnet endpoint for a custom routing accelerator. For each * subnet endpoint that you add, Global Accelerator creates a new static port mapping for the accelerator. The port * mappings don't change after Global Accelerator generates them, so you can retrieve and cache the full mapping on * your servers. *

*

* If you remove a subnet from your accelerator, Global Accelerator removes (reclaims) the port mappings. If you add * a subnet to your accelerator, Global Accelerator creates new port mappings (the existing ones don't change). If * you add or remove EC2 instances in your subnet, the port mappings don't change, because the mappings are created * when you add the subnet to Global Accelerator. *

*

* The mappings also include a flag for each destination denoting which destination IP addresses and ports are * allowed or denied traffic. *

*
*

* This is a convenience which creates an instance of the {@link ListCustomRoutingPortMappingsRequest.Builder} * avoiding the need to create one manually via {@link ListCustomRoutingPortMappingsRequest#builder()} *

* * @param listCustomRoutingPortMappingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest.Builder} * to create a request. * @return A Java Future containing the result of the ListCustomRoutingPortMappings 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingPortMappings * @see AWS API Documentation */ default CompletableFuture listCustomRoutingPortMappings( Consumer listCustomRoutingPortMappingsRequest) { return listCustomRoutingPortMappings(ListCustomRoutingPortMappingsRequest.builder() .applyMutation(listCustomRoutingPortMappingsRequest).build()); } /** *

* List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint. The response is the * mappings for one destination IP address. This is useful when your subnet endpoint has mappings that span multiple * custom routing accelerators in your account, or for scenarios where you only want to list the port mappings for a * specific destination instance. *

* * @param listCustomRoutingPortMappingsByDestinationRequest * @return A Java Future containing the result of the ListCustomRoutingPortMappingsByDestination 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • EndpointNotFoundException The endpoint that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingPortMappingsByDestination * @see AWS API Documentation */ default CompletableFuture listCustomRoutingPortMappingsByDestination( ListCustomRoutingPortMappingsByDestinationRequest listCustomRoutingPortMappingsByDestinationRequest) { throw new UnsupportedOperationException(); } /** *

* List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint. The response is the * mappings for one destination IP address. This is useful when your subnet endpoint has mappings that span multiple * custom routing accelerators in your account, or for scenarios where you only want to list the port mappings for a * specific destination instance. *

*
*

* This is a convenience which creates an instance of the * {@link ListCustomRoutingPortMappingsByDestinationRequest.Builder} avoiding the need to create one manually via * {@link ListCustomRoutingPortMappingsByDestinationRequest#builder()} *

* * @param listCustomRoutingPortMappingsByDestinationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationRequest.Builder} * to create a request. * @return A Java Future containing the result of the ListCustomRoutingPortMappingsByDestination 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • EndpointNotFoundException The endpoint that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingPortMappingsByDestination * @see AWS API Documentation */ default CompletableFuture listCustomRoutingPortMappingsByDestination( Consumer listCustomRoutingPortMappingsByDestinationRequest) { return listCustomRoutingPortMappingsByDestination(ListCustomRoutingPortMappingsByDestinationRequest.builder() .applyMutation(listCustomRoutingPortMappingsByDestinationRequest).build()); } /** *

* This is a variant of * {@link #listCustomRoutingPortMappingsByDestination(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationPublisher publisher = client.listCustomRoutingPortMappingsByDestinationPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationPublisher publisher = client.listCustomRoutingPortMappingsByDestinationPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationResponse 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 MaxResults 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 * {@link #listCustomRoutingPortMappingsByDestination(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationRequest)} * operation. *

* * @param listCustomRoutingPortMappingsByDestinationRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • EndpointNotFoundException The endpoint that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingPortMappingsByDestination * @see AWS API Documentation */ default ListCustomRoutingPortMappingsByDestinationPublisher listCustomRoutingPortMappingsByDestinationPaginator( ListCustomRoutingPortMappingsByDestinationRequest listCustomRoutingPortMappingsByDestinationRequest) { return new ListCustomRoutingPortMappingsByDestinationPublisher(this, listCustomRoutingPortMappingsByDestinationRequest); } /** *

* This is a variant of * {@link #listCustomRoutingPortMappingsByDestination(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationPublisher publisher = client.listCustomRoutingPortMappingsByDestinationPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationPublisher publisher = client.listCustomRoutingPortMappingsByDestinationPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationResponse 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 MaxResults 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 * {@link #listCustomRoutingPortMappingsByDestination(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the * {@link ListCustomRoutingPortMappingsByDestinationRequest.Builder} avoiding the need to create one manually via * {@link ListCustomRoutingPortMappingsByDestinationRequest#builder()} *

* * @param listCustomRoutingPortMappingsByDestinationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationRequest.Builder} * to create a request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • EndpointNotFoundException The endpoint that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingPortMappingsByDestination * @see AWS API Documentation */ default ListCustomRoutingPortMappingsByDestinationPublisher listCustomRoutingPortMappingsByDestinationPaginator( Consumer listCustomRoutingPortMappingsByDestinationRequest) { return listCustomRoutingPortMappingsByDestinationPaginator(ListCustomRoutingPortMappingsByDestinationRequest.builder() .applyMutation(listCustomRoutingPortMappingsByDestinationRequest).build()); } /** *

* This is a variant of * {@link #listCustomRoutingPortMappings(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsPublisher publisher = client.listCustomRoutingPortMappingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsPublisher publisher = client.listCustomRoutingPortMappingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsResponse 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 MaxResults 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 * {@link #listCustomRoutingPortMappings(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest)} * operation. *

* * @param listCustomRoutingPortMappingsRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingPortMappings * @see AWS API Documentation */ default ListCustomRoutingPortMappingsPublisher listCustomRoutingPortMappingsPaginator( ListCustomRoutingPortMappingsRequest listCustomRoutingPortMappingsRequest) { return new ListCustomRoutingPortMappingsPublisher(this, listCustomRoutingPortMappingsRequest); } /** *

* This is a variant of * {@link #listCustomRoutingPortMappings(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsPublisher publisher = client.listCustomRoutingPortMappingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsPublisher publisher = client.listCustomRoutingPortMappingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsResponse 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 MaxResults 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 * {@link #listCustomRoutingPortMappings(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListCustomRoutingPortMappingsRequest.Builder} * avoiding the need to create one manually via {@link ListCustomRoutingPortMappingsRequest#builder()} *

* * @param listCustomRoutingPortMappingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest.Builder} * to create a request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListCustomRoutingPortMappings * @see AWS API Documentation */ default ListCustomRoutingPortMappingsPublisher listCustomRoutingPortMappingsPaginator( Consumer listCustomRoutingPortMappingsRequest) { return listCustomRoutingPortMappingsPaginator(ListCustomRoutingPortMappingsRequest.builder() .applyMutation(listCustomRoutingPortMappingsRequest).build()); } /** *

* List the endpoint groups that are associated with a listener. *

* * @param listEndpointGroupsRequest * @return A Java Future containing the result of the ListEndpointGroups 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListEndpointGroups * @see AWS API Documentation */ default CompletableFuture listEndpointGroups(ListEndpointGroupsRequest listEndpointGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* List the endpoint groups that are associated with a listener. *

*
*

* This is a convenience which creates an instance of the {@link ListEndpointGroupsRequest.Builder} avoiding the * need to create one manually via {@link ListEndpointGroupsRequest#builder()} *

* * @param listEndpointGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListEndpointGroups 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListEndpointGroups * @see AWS API Documentation */ default CompletableFuture listEndpointGroups( Consumer listEndpointGroupsRequest) { return listEndpointGroups(ListEndpointGroupsRequest.builder().applyMutation(listEndpointGroupsRequest).build()); } /** *

* This is a variant of * {@link #listEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsPublisher publisher = client.listEndpointGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsPublisher publisher = client.listEndpointGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsResponse 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 MaxResults 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 * {@link #listEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest)} * operation. *

* * @param listEndpointGroupsRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListEndpointGroups * @see AWS API Documentation */ default ListEndpointGroupsPublisher listEndpointGroupsPaginator(ListEndpointGroupsRequest listEndpointGroupsRequest) { return new ListEndpointGroupsPublisher(this, listEndpointGroupsRequest); } /** *

* This is a variant of * {@link #listEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsPublisher publisher = client.listEndpointGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsPublisher publisher = client.listEndpointGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsResponse 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 MaxResults 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 * {@link #listEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListEndpointGroupsRequest.Builder} avoiding the * need to create one manually via {@link ListEndpointGroupsRequest#builder()} *

* * @param listEndpointGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest.Builder} to * create a request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListEndpointGroups * @see AWS API Documentation */ default ListEndpointGroupsPublisher listEndpointGroupsPaginator( Consumer listEndpointGroupsRequest) { return listEndpointGroupsPaginator(ListEndpointGroupsRequest.builder().applyMutation(listEndpointGroupsRequest).build()); } /** *

* List the listeners for an accelerator. *

* * @param listListenersRequest * @return A Java Future containing the result of the ListListeners 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListListeners * @see AWS API Documentation */ default CompletableFuture listListeners(ListListenersRequest listListenersRequest) { throw new UnsupportedOperationException(); } /** *

* List the listeners for an accelerator. *

*
*

* This is a convenience which creates an instance of the {@link ListListenersRequest.Builder} avoiding the need to * create one manually via {@link ListListenersRequest#builder()} *

* * @param listListenersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListListeners 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListListeners * @see AWS API Documentation */ default CompletableFuture listListeners(Consumer listListenersRequest) { return listListeners(ListListenersRequest.builder().applyMutation(listListenersRequest).build()); } /** *

* This is a variant of * {@link #listListeners(software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest)} 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListListenersPublisher publisher = client.listListenersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListListenersPublisher publisher = client.listListenersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListListenersResponse 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 MaxResults 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 * {@link #listListeners(software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest)} * operation. *

* * @param listListenersRequest * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListListeners * @see AWS API Documentation */ default ListListenersPublisher listListenersPaginator(ListListenersRequest listListenersRequest) { return new ListListenersPublisher(this, listListenersRequest); } /** *

* This is a variant of * {@link #listListeners(software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest)} 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListListenersPublisher publisher = client.listListenersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.globalaccelerator.paginators.ListListenersPublisher publisher = client.listListenersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.globalaccelerator.model.ListListenersResponse 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 MaxResults 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 * {@link #listListeners(software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListListenersRequest.Builder} avoiding the need to * create one manually via {@link ListListenersRequest#builder()} *

* * @param listListenersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest.Builder} to create a * request. * @return 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InvalidNextTokenException There isn't another item to return.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListListeners * @see AWS API Documentation */ default ListListenersPublisher listListenersPaginator(Consumer listListenersRequest) { return listListenersPaginator(ListListenersRequest.builder().applyMutation(listListenersRequest).build()); } /** *

* List all tags for an accelerator. *

*

* For more information, see Tagging in * Global Accelerator in the Global Accelerator Developer Guide. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • AttachmentNotFoundException No cross-account attachment was found.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* List all tags for an accelerator. *

*

* For more information, see Tagging in * Global Accelerator in the Global Accelerator Developer Guide. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ListTagsForResourceRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListTagsForResource 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • AttachmentNotFoundException No cross-account attachment was found.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Provisions an IP address range to use with your Amazon Web Services resources through bring your own IP addresses * (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be * advertised using * AdvertiseByoipCidr. *

*

* For more information, see Bring your own IP addresses * (BYOIP) in the Global Accelerator Developer Guide. *

* * @param provisionByoipCidrRequest * @return A Java Future containing the result of the ProvisionByoipCidr 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, * the state of the CIDR might be incorrect for this action.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ProvisionByoipCidr * @see AWS API Documentation */ default CompletableFuture provisionByoipCidr(ProvisionByoipCidrRequest provisionByoipCidrRequest) { throw new UnsupportedOperationException(); } /** *

* Provisions an IP address range to use with your Amazon Web Services resources through bring your own IP addresses * (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be * advertised using * AdvertiseByoipCidr. *

*

* For more information, see Bring your own IP addresses * (BYOIP) in the Global Accelerator Developer Guide. *

*
*

* This is a convenience which creates an instance of the {@link ProvisionByoipCidrRequest.Builder} avoiding the * need to create one manually via {@link ProvisionByoipCidrRequest#builder()} *

* * @param provisionByoipCidrRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.ProvisionByoipCidrRequest.Builder} to * create a request. * @return A Java Future containing the result of the ProvisionByoipCidr 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, * the state of the CIDR might be incorrect for this action.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.ProvisionByoipCidr * @see AWS API Documentation */ default CompletableFuture provisionByoipCidr( Consumer provisionByoipCidrRequest) { return provisionByoipCidr(ProvisionByoipCidrRequest.builder().applyMutation(provisionByoipCidrRequest).build()); } /** *

* Remove endpoints from a custom routing accelerator. *

* * @param removeCustomRoutingEndpointsRequest * @return A Java Future containing the result of the RemoveCustomRoutingEndpoints 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • EndpointNotFoundException The endpoint that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • ConflictException You can't use both of those options.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.RemoveCustomRoutingEndpoints * @see AWS API Documentation */ default CompletableFuture removeCustomRoutingEndpoints( RemoveCustomRoutingEndpointsRequest removeCustomRoutingEndpointsRequest) { throw new UnsupportedOperationException(); } /** *

* Remove endpoints from a custom routing accelerator. *

*
*

* This is a convenience which creates an instance of the {@link RemoveCustomRoutingEndpointsRequest.Builder} * avoiding the need to create one manually via {@link RemoveCustomRoutingEndpointsRequest#builder()} *

* * @param removeCustomRoutingEndpointsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.RemoveCustomRoutingEndpointsRequest.Builder} * to create a request. * @return A Java Future containing the result of the RemoveCustomRoutingEndpoints 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • EndpointNotFoundException The endpoint that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • ConflictException You can't use both of those options.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.RemoveCustomRoutingEndpoints * @see AWS API Documentation */ default CompletableFuture removeCustomRoutingEndpoints( Consumer removeCustomRoutingEndpointsRequest) { return removeCustomRoutingEndpoints(RemoveCustomRoutingEndpointsRequest.builder() .applyMutation(removeCustomRoutingEndpointsRequest).build()); } /** *

* Remove endpoints from an endpoint group. *

*

* The RemoveEndpoints API operation is the recommended option for removing endpoints. The alternative * is to remove endpoints by updating an endpoint group by using the UpdateEndpointGroup API operation. There are two advantages to using AddEndpoints to remove * endpoints instead: *

*
    *
  • *

    * It's more convenient, because you only need to specify the endpoints that you want to remove. With the * UpdateEndpointGroup API operation, you must specify all of the endpoints in the endpoint group * except the ones that you want to remove from the group. *

    *
  • *
  • *

    * It's faster, because Global Accelerator doesn't need to resolve any endpoints. With the * UpdateEndpointGroup API operation, Global Accelerator must resolve all of the endpoints that remain * in the group. *

    *
  • *
* * @param removeEndpointsRequest * @return A Java Future containing the result of the RemoveEndpoints 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.RemoveEndpoints * @see AWS API Documentation */ default CompletableFuture removeEndpoints(RemoveEndpointsRequest removeEndpointsRequest) { throw new UnsupportedOperationException(); } /** *

* Remove endpoints from an endpoint group. *

*

* The RemoveEndpoints API operation is the recommended option for removing endpoints. The alternative * is to remove endpoints by updating an endpoint group by using the UpdateEndpointGroup API operation. There are two advantages to using AddEndpoints to remove * endpoints instead: *

*
    *
  • *

    * It's more convenient, because you only need to specify the endpoints that you want to remove. With the * UpdateEndpointGroup API operation, you must specify all of the endpoints in the endpoint group * except the ones that you want to remove from the group. *

    *
  • *
  • *

    * It's faster, because Global Accelerator doesn't need to resolve any endpoints. With the * UpdateEndpointGroup API operation, Global Accelerator must resolve all of the endpoints that remain * in the group. *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link RemoveEndpointsRequest.Builder} avoiding the need * to create one manually via {@link RemoveEndpointsRequest#builder()} *

* * @param removeEndpointsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.RemoveEndpointsRequest.Builder} to create a * request. * @return A Java Future containing the result of the RemoveEndpoints 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.RemoveEndpoints * @see AWS API Documentation */ default CompletableFuture removeEndpoints( Consumer removeEndpointsRequest) { return removeEndpoints(RemoveEndpointsRequest.builder().applyMutation(removeEndpointsRequest).build()); } /** *

* Add tags to an accelerator resource. *

*

* For more information, see Tagging in * Global Accelerator in the Global Accelerator Developer Guide. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.TagResource * @see AWS * API Documentation */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Add tags to an accelerator resource. *

*

* For more information, see Tagging in * Global Accelerator in the Global Accelerator Developer Guide. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.TagResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the TagResource 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.TagResource * @see AWS * API Documentation */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Remove tags from a Global Accelerator resource. When you specify a tag key, the action removes both that key and * its associated value. The operation succeeds even if you attempt to remove tags from an accelerator that was * already removed. *

*

* For more information, see Tagging in * Global Accelerator in the Global Accelerator Developer Guide. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UntagResource * @see AWS API Documentation */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Remove tags from a Global Accelerator resource. When you specify a tag key, the action removes both that key and * its associated value. The operation succeeds even if you attempt to remove tags from an accelerator that was * already removed. *

*

* For more information, see Tagging in * Global Accelerator in the Global Accelerator Developer Guide. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.UntagResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the UntagResource 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UntagResource * @see AWS API Documentation */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Update an accelerator to make changes, such as the following: *

*
    *
  • *

    * Change the name of the accelerator. *

    *
  • *
  • *

    * Disable the accelerator so that it no longer accepts or routes traffic, or so that you can delete it. *

    *
  • *
  • *

    * Enable the accelerator, if it is disabled. *

    *
  • *
  • *

    * Change the IP address type to dual-stack if it is IPv4, or change the IP address type to IPv4 if it's dual-stack. *

    *
  • *
*

* Be aware that static IP addresses remain assigned to your accelerator for as long as it exists, even if you * disable the accelerator and it no longer accepts or routes traffic. However, when you delete the accelerator, you * lose the static IP addresses that are assigned to it, so you can no longer route traffic by using them. *

* *

* Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you * must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for * example, specify --region us-west-2 on Amazon Web Services CLI commands. *

*
* * @param updateAcceleratorRequest * @return A Java Future containing the result of the UpdateAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • ConflictException You can't use both of those options.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateAccelerator * @see AWS API Documentation */ default CompletableFuture updateAccelerator(UpdateAcceleratorRequest updateAcceleratorRequest) { throw new UnsupportedOperationException(); } /** *

* Update an accelerator to make changes, such as the following: *

*
    *
  • *

    * Change the name of the accelerator. *

    *
  • *
  • *

    * Disable the accelerator so that it no longer accepts or routes traffic, or so that you can delete it. *

    *
  • *
  • *

    * Enable the accelerator, if it is disabled. *

    *
  • *
  • *

    * Change the IP address type to dual-stack if it is IPv4, or change the IP address type to IPv4 if it's dual-stack. *

    *
  • *
*

* Be aware that static IP addresses remain assigned to your accelerator for as long as it exists, even if you * disable the accelerator and it no longer accepts or routes traffic. However, when you delete the accelerator, you * lose the static IP addresses that are assigned to it, so you can no longer route traffic by using them. *

* *

* Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you * must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for * example, specify --region us-west-2 on Amazon Web Services CLI commands. *

*

*

* This is a convenience which creates an instance of the {@link UpdateAcceleratorRequest.Builder} avoiding the need * to create one manually via {@link UpdateAcceleratorRequest#builder()} *

* * @param updateAcceleratorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.UpdateAcceleratorRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • ConflictException You can't use both of those options.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateAccelerator * @see AWS API Documentation */ default CompletableFuture updateAccelerator( Consumer updateAcceleratorRequest) { return updateAccelerator(UpdateAcceleratorRequest.builder().applyMutation(updateAcceleratorRequest).build()); } /** *

* Update the attributes for an accelerator. *

* * @param updateAcceleratorAttributesRequest * @return A Java Future containing the result of the UpdateAcceleratorAttributes 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateAcceleratorAttributes * @see AWS API Documentation */ default CompletableFuture updateAcceleratorAttributes( UpdateAcceleratorAttributesRequest updateAcceleratorAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Update the attributes for an accelerator. *

*
*

* This is a convenience which creates an instance of the {@link UpdateAcceleratorAttributesRequest.Builder} * avoiding the need to create one manually via {@link UpdateAcceleratorAttributesRequest#builder()} *

* * @param updateAcceleratorAttributesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.UpdateAcceleratorAttributesRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateAcceleratorAttributes 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateAcceleratorAttributes * @see AWS API Documentation */ default CompletableFuture updateAcceleratorAttributes( Consumer updateAcceleratorAttributesRequest) { return updateAcceleratorAttributes(UpdateAcceleratorAttributesRequest.builder() .applyMutation(updateAcceleratorAttributesRequest).build()); } /** *

* Update a cross-account attachment to add or remove principals or resources. When you update an attachment to * remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for * specific resources. *

*

* For more information, see Working with * cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer * Guide. *

* * @param updateCrossAccountAttachmentRequest * @return A Java Future containing the result of the UpdateCrossAccountAttachment 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AttachmentNotFoundException No cross-account attachment was found.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateCrossAccountAttachment * @see AWS API Documentation */ default CompletableFuture updateCrossAccountAttachment( UpdateCrossAccountAttachmentRequest updateCrossAccountAttachmentRequest) { throw new UnsupportedOperationException(); } /** *

* Update a cross-account attachment to add or remove principals or resources. When you update an attachment to * remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for * specific resources. *

*

* For more information, see Working with * cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer * Guide. *

*
*

* This is a convenience which creates an instance of the {@link UpdateCrossAccountAttachmentRequest.Builder} * avoiding the need to create one manually via {@link UpdateCrossAccountAttachmentRequest#builder()} *

* * @param updateCrossAccountAttachmentRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.UpdateCrossAccountAttachmentRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateCrossAccountAttachment 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AttachmentNotFoundException No cross-account attachment was found.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateCrossAccountAttachment * @see AWS API Documentation */ default CompletableFuture updateCrossAccountAttachment( Consumer updateCrossAccountAttachmentRequest) { return updateCrossAccountAttachment(UpdateCrossAccountAttachmentRequest.builder() .applyMutation(updateCrossAccountAttachmentRequest).build()); } /** *

* Update a custom routing accelerator. *

* * @param updateCustomRoutingAcceleratorRequest * @return A Java Future containing the result of the UpdateCustomRoutingAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • ConflictException You can't use both of those options.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateCustomRoutingAccelerator * @see AWS API Documentation */ default CompletableFuture updateCustomRoutingAccelerator( UpdateCustomRoutingAcceleratorRequest updateCustomRoutingAcceleratorRequest) { throw new UnsupportedOperationException(); } /** *

* Update a custom routing accelerator. *

*
*

* This is a convenience which creates an instance of the {@link UpdateCustomRoutingAcceleratorRequest.Builder} * avoiding the need to create one manually via {@link UpdateCustomRoutingAcceleratorRequest#builder()} *

* * @param updateCustomRoutingAcceleratorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.UpdateCustomRoutingAcceleratorRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateCustomRoutingAccelerator 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • ConflictException You can't use both of those options.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateCustomRoutingAccelerator * @see AWS API Documentation */ default CompletableFuture updateCustomRoutingAccelerator( Consumer updateCustomRoutingAcceleratorRequest) { return updateCustomRoutingAccelerator(UpdateCustomRoutingAcceleratorRequest.builder() .applyMutation(updateCustomRoutingAcceleratorRequest).build()); } /** *

* Update the attributes for a custom routing accelerator. *

* * @param updateCustomRoutingAcceleratorAttributesRequest * @return A Java Future containing the result of the UpdateCustomRoutingAcceleratorAttributes 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateCustomRoutingAcceleratorAttributes * @see AWS API Documentation */ default CompletableFuture updateCustomRoutingAcceleratorAttributes( UpdateCustomRoutingAcceleratorAttributesRequest updateCustomRoutingAcceleratorAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Update the attributes for a custom routing accelerator. *

*
*

* This is a convenience which creates an instance of the * {@link UpdateCustomRoutingAcceleratorAttributesRequest.Builder} avoiding the need to create one manually via * {@link UpdateCustomRoutingAcceleratorAttributesRequest#builder()} *

* * @param updateCustomRoutingAcceleratorAttributesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.UpdateCustomRoutingAcceleratorAttributesRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateCustomRoutingAcceleratorAttributes 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • TransactionInProgressException There's already a transaction in progress. Another transaction can't * be processed.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateCustomRoutingAcceleratorAttributes * @see AWS API Documentation */ default CompletableFuture updateCustomRoutingAcceleratorAttributes( Consumer updateCustomRoutingAcceleratorAttributesRequest) { return updateCustomRoutingAcceleratorAttributes(UpdateCustomRoutingAcceleratorAttributesRequest.builder() .applyMutation(updateCustomRoutingAcceleratorAttributesRequest).build()); } /** *

* Update a listener for a custom routing accelerator. *

* * @param updateCustomRoutingListenerRequest * @return A Java Future containing the result of the UpdateCustomRoutingListener 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidPortRangeException The port numbers that you specified are not valid numbers or are not unique * for this accelerator.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateCustomRoutingListener * @see AWS API Documentation */ default CompletableFuture updateCustomRoutingListener( UpdateCustomRoutingListenerRequest updateCustomRoutingListenerRequest) { throw new UnsupportedOperationException(); } /** *

* Update a listener for a custom routing accelerator. *

*
*

* This is a convenience which creates an instance of the {@link UpdateCustomRoutingListenerRequest.Builder} * avoiding the need to create one manually via {@link UpdateCustomRoutingListenerRequest#builder()} *

* * @param updateCustomRoutingListenerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.UpdateCustomRoutingListenerRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateCustomRoutingListener 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidPortRangeException The port numbers that you specified are not valid numbers or are not unique * for this accelerator.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateCustomRoutingListener * @see AWS API Documentation */ default CompletableFuture updateCustomRoutingListener( Consumer updateCustomRoutingListenerRequest) { return updateCustomRoutingListener(UpdateCustomRoutingListenerRequest.builder() .applyMutation(updateCustomRoutingListenerRequest).build()); } /** *

* Update an endpoint group. A resource must be valid and active when you add it as an endpoint. *

* * @param updateEndpointGroupRequest * @return A Java Future containing the result of the UpdateEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateEndpointGroup * @see AWS API Documentation */ default CompletableFuture updateEndpointGroup( UpdateEndpointGroupRequest updateEndpointGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Update an endpoint group. A resource must be valid and active when you add it as an endpoint. *

*
*

* This is a convenience which creates an instance of the {@link UpdateEndpointGroupRequest.Builder} avoiding the * need to create one manually via {@link UpdateEndpointGroupRequest#builder()} *

* * @param updateEndpointGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.UpdateEndpointGroupRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateEndpointGroup 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateEndpointGroup * @see AWS API Documentation */ default CompletableFuture updateEndpointGroup( Consumer updateEndpointGroupRequest) { return updateEndpointGroup(UpdateEndpointGroupRequest.builder().applyMutation(updateEndpointGroupRequest).build()); } /** *

* Update a listener. *

* * @param updateListenerRequest * @return A Java Future containing the result of the UpdateListener 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidPortRangeException The port numbers that you specified are not valid numbers or are not unique * for this accelerator.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateListener * @see AWS API Documentation */ default CompletableFuture updateListener(UpdateListenerRequest updateListenerRequest) { throw new UnsupportedOperationException(); } /** *

* Update a listener. *

*
*

* This is a convenience which creates an instance of the {@link UpdateListenerRequest.Builder} avoiding the need to * create one manually via {@link UpdateListenerRequest#builder()} *

* * @param updateListenerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.UpdateListenerRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateListener 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • InvalidPortRangeException The port numbers that you specified are not valid numbers or are not unique * for this accelerator.
  • *
  • ListenerNotFoundException The listener that you specified doesn't exist.
  • *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit. *
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.UpdateListener * @see AWS API Documentation */ default CompletableFuture updateListener(Consumer updateListenerRequest) { return updateListener(UpdateListenerRequest.builder().applyMutation(updateListenerRequest).build()); } /** *

* Stops advertising an address range that is provisioned as an address pool. You can perform this operation at most * once every 10 seconds, even if you specify different address ranges each time. *

*

* It can take a few minutes before traffic to the specified addresses stops routing to Amazon Web Services because * of propagation delays. *

*

* For more information, see Bring your own IP addresses * (BYOIP) in the Global Accelerator Developer Guide. *

* * @param withdrawByoipCidrRequest * @return A Java Future containing the result of the WithdrawByoipCidr 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • ByoipCidrNotFoundException The CIDR that you specified was not found or is incorrect.
  • *
  • IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, * the state of the CIDR might be incorrect for this action.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.WithdrawByoipCidr * @see AWS API Documentation */ default CompletableFuture withdrawByoipCidr(WithdrawByoipCidrRequest withdrawByoipCidrRequest) { throw new UnsupportedOperationException(); } /** *

* Stops advertising an address range that is provisioned as an address pool. You can perform this operation at most * once every 10 seconds, even if you specify different address ranges each time. *

*

* It can take a few minutes before traffic to the specified addresses stops routing to Amazon Web Services because * of propagation delays. *

*

* For more information, see Bring your own IP addresses * (BYOIP) in the Global Accelerator Developer Guide. *

*
*

* This is a convenience which creates an instance of the {@link WithdrawByoipCidrRequest.Builder} avoiding the need * to create one manually via {@link WithdrawByoipCidrRequest#builder()} *

* * @param withdrawByoipCidrRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.globalaccelerator.model.WithdrawByoipCidrRequest.Builder} to create * a request. * @return A Java Future containing the result of the WithdrawByoipCidr 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 * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceErrorException There was an internal error for Global Accelerator.
  • *
  • InvalidArgumentException An argument that you specified is invalid.
  • *
  • AccessDeniedException You don't have access permission.
  • *
  • ByoipCidrNotFoundException The CIDR that you specified was not found or is incorrect.
  • *
  • IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, * the state of the CIDR might be incorrect for this action.
  • *
  • 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.
  • *
  • GlobalAcceleratorException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample GlobalAcceleratorAsyncClient.WithdrawByoipCidr * @see AWS API Documentation */ default CompletableFuture withdrawByoipCidr( Consumer withdrawByoipCidrRequest) { return withdrawByoipCidr(WithdrawByoipCidrRequest.builder().applyMutation(withdrawByoipCidrRequest).build()); } @Override default GlobalAcceleratorServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * Create a {@link GlobalAcceleratorAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static GlobalAcceleratorAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link GlobalAcceleratorAsyncClient}. */ static GlobalAcceleratorAsyncClientBuilder builder() { return new DefaultGlobalAcceleratorAsyncClientBuilder(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy