Interface ElbProxyClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Elastic Load Balancing for Envoy is a fully managed service that runs the open-source Envoy proxy on your behalf. You bring your Envoy configuration, and AWS provisions the proxy, scales it, upgrades the Envoy version, patches the operating system, and monitors its health. The proxy runs on Amazon EC2 instances inside your own virtual private cloud (VPC), so you keep full control of your network, security groups, and IAM.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateCertificateResponseassociateCertificate(Consumer<AssociateCertificateRequest.Builder> associateCertificateRequest) Associates an ACM certificate with the specified Proxy.default AssociateCertificateResponseassociateCertificate(AssociateCertificateRequest associateCertificateRequest) Associates an ACM certificate with the specified Proxy.static ElbProxyClientBuilderbuilder()Create a builder that can be used to configure and create aElbProxyClient.static ElbProxyClientcreate()Create aElbProxyClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateProxyResponsecreateProxy(Consumer<CreateProxyRequest.Builder> createProxyRequest) Creates a proxy.default CreateProxyResponsecreateProxy(CreateProxyRequest createProxyRequest) Creates a proxy.default DeleteProxyResponsedeleteProxy(Consumer<DeleteProxyRequest.Builder> deleteProxyRequest) Deletes a proxy.default DeleteProxyResponsedeleteProxy(DeleteProxyRequest deleteProxyRequest) Deletes a proxy.default DisassociateCertificateResponsedisassociateCertificate(Consumer<DisassociateCertificateRequest.Builder> disassociateCertificateRequest) Disassociates an ACM certificate from the specified proxy.default DisassociateCertificateResponsedisassociateCertificate(DisassociateCertificateRequest disassociateCertificateRequest) Disassociates an ACM certificate from the specified proxy.default GetProxyResponsegetProxy(Consumer<GetProxyRequest.Builder> getProxyRequest) Retrieves information about the specified proxy.default GetProxyResponsegetProxy(GetProxyRequest getProxyRequest) Retrieves information about the specified proxy.default GetProxyAttributesResponsegetProxyAttributes(Consumer<GetProxyAttributesRequest.Builder> getProxyAttributesRequest) Retrieves the attributes for the specified proxy.default GetProxyAttributesResponsegetProxyAttributes(GetProxyAttributesRequest getProxyAttributesRequest) Retrieves the attributes for the specified proxy.getProxyConfigurationContents(Consumer<GetProxyConfigurationContentsRequest.Builder> getProxyConfigurationContentsRequest) Retrieves the configuration file, the configuration archive, or both for the specified proxy.getProxyConfigurationContents(GetProxyConfigurationContentsRequest getProxyConfigurationContentsRequest) Retrieves the configuration file, the configuration archive, or both for the specified proxy.default GetProxyUpdateResponsegetProxyUpdate(Consumer<GetProxyUpdateRequest.Builder> getProxyUpdateRequest) Retrieves information about the specified proxy update.default GetProxyUpdateResponsegetProxyUpdate(GetProxyUpdateRequest getProxyUpdateRequest) Retrieves information about the specified proxy update.listCertificateAssociations(Consumer<ListCertificateAssociationsRequest.Builder> listCertificateAssociationsRequest) Lists the ACM certificate associations for the specified proxy.listCertificateAssociations(ListCertificateAssociationsRequest listCertificateAssociationsRequest) Lists the ACM certificate associations for the specified proxy.listCertificateAssociationsPaginator(Consumer<ListCertificateAssociationsRequest.Builder> listCertificateAssociationsRequest) This is a variant oflistCertificateAssociations(software.amazon.awssdk.services.elbproxy.model.ListCertificateAssociationsRequest)operation.listCertificateAssociationsPaginator(ListCertificateAssociationsRequest listCertificateAssociationsRequest) This is a variant oflistCertificateAssociations(software.amazon.awssdk.services.elbproxy.model.ListCertificateAssociationsRequest)operation.default ListProxiesResponselistProxies(Consumer<ListProxiesRequest.Builder> listProxiesRequest) Lists the proxies owned by the caller account.default ListProxiesResponselistProxies(ListProxiesRequest listProxiesRequest) Lists the proxies owned by the caller account.default ListProxiesIterablelistProxiesPaginator(Consumer<ListProxiesRequest.Builder> listProxiesRequest) This is a variant oflistProxies(software.amazon.awssdk.services.elbproxy.model.ListProxiesRequest)operation.default ListProxiesIterablelistProxiesPaginator(ListProxiesRequest listProxiesRequest) This is a variant oflistProxies(software.amazon.awssdk.services.elbproxy.model.ListProxiesRequest)operation.default ListProxyUpdatesResponselistProxyUpdates(Consumer<ListProxyUpdatesRequest.Builder> listProxyUpdatesRequest) Lists the updates for the specified proxy, most recently submitted first.default ListProxyUpdatesResponselistProxyUpdates(ListProxyUpdatesRequest listProxyUpdatesRequest) Lists the updates for the specified proxy, most recently submitted first.default ListProxyUpdatesIterablelistProxyUpdatesPaginator(Consumer<ListProxyUpdatesRequest.Builder> listProxyUpdatesRequest) This is a variant oflistProxyUpdates(software.amazon.awssdk.services.elbproxy.model.ListProxyUpdatesRequest)operation.default ListProxyUpdatesIterablelistProxyUpdatesPaginator(ListProxyUpdatesRequest listProxyUpdatesRequest) This is a variant oflistProxyUpdates(software.amazon.awssdk.services.elbproxy.model.ListProxyUpdatesRequest)operation.default ListProxyVersionsResponselistProxyVersions(Consumer<ListProxyVersionsRequest.Builder> listProxyVersionsRequest) Lists the available proxy versions.default ListProxyVersionsResponselistProxyVersions(ListProxyVersionsRequest listProxyVersionsRequest) Lists the available proxy versions.default ListProxyVersionsIterablelistProxyVersionsPaginator(Consumer<ListProxyVersionsRequest.Builder> listProxyVersionsRequest) This is a variant oflistProxyVersions(software.amazon.awssdk.services.elbproxy.model.ListProxyVersionsRequest)operation.default ListProxyVersionsIterablelistProxyVersionsPaginator(ListProxyVersionsRequest listProxyVersionsRequest) This is a variant oflistProxyVersions(software.amazon.awssdk.services.elbproxy.model.ListProxyVersionsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for the specified resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for the specified resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tags to the specified resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds the specified tags to the specified resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from the specified resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes the specified tags from the specified resource.default UpdateProxyAttributesResponseupdateProxyAttributes(Consumer<UpdateProxyAttributesRequest.Builder> updateProxyAttributesRequest) Updates the attributes for the specified proxy.default UpdateProxyAttributesResponseupdateProxyAttributes(UpdateProxyAttributesRequest updateProxyAttributesRequest) Updates the attributes for the specified proxy.default UpdateProxyConfigurationResponseupdateProxyConfiguration(Consumer<UpdateProxyConfigurationRequest.Builder> updateProxyConfigurationRequest) Updates the configuration for the specified proxy.default UpdateProxyConfigurationResponseupdateProxyConfiguration(UpdateProxyConfigurationRequest updateProxyConfigurationRequest) Updates the configuration for the specified proxy.updateProxyNetworkConfiguration(Consumer<UpdateProxyNetworkConfigurationRequest.Builder> updateProxyNetworkConfigurationRequest) Updates the network configuration for the specified proxy.updateProxyNetworkConfiguration(UpdateProxyNetworkConfigurationRequest updateProxyNetworkConfigurationRequest) Updates the network configuration for the specified proxy.default ElbProxyWaiterwaiter()Create an instance ofElbProxyWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
associateCertificate
default AssociateCertificateResponse associateCertificate(AssociateCertificateRequest associateCertificateRequest) throws ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Associates an ACM certificate with the specified Proxy.
- Parameters:
associateCertificateRequest-- Returns:
- Result of the AssociateCertificate operation returned by the service.
- See Also:
-
associateCertificate
default AssociateCertificateResponse associateCertificate(Consumer<AssociateCertificateRequest.Builder> associateCertificateRequest) throws ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Associates an ACM certificate with the specified Proxy.
This is a convenience which creates an instance of the
AssociateCertificateRequest.Builderavoiding the need to create one manually viaAssociateCertificateRequest.builder()- Parameters:
associateCertificateRequest- AConsumerthat will call methods onAssociateCertificateRequest.Builderto create a request.- Returns:
- Result of the AssociateCertificate operation returned by the service.
- See Also:
-
createProxy
default CreateProxyResponse createProxy(CreateProxyRequest createProxyRequest) throws ServiceQuotaExceededException, ValidationException, OperationNotPermittedException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Creates a proxy. A proxy is a fully managed, Envoy-based proxy that runs your Envoy configuration on Amazon EC2 instances inside your own virtual private cloud (VPC). AWS provisions and scales the proxy, upgrades the Envoy version, patches the operating system, and monitors its health.
- Parameters:
createProxyRequest-- Returns:
- Result of the CreateProxy operation returned by the service.
- See Also:
-
createProxy
default CreateProxyResponse createProxy(Consumer<CreateProxyRequest.Builder> createProxyRequest) throws ServiceQuotaExceededException, ValidationException, OperationNotPermittedException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Creates a proxy. A proxy is a fully managed, Envoy-based proxy that runs your Envoy configuration on Amazon EC2 instances inside your own virtual private cloud (VPC). AWS provisions and scales the proxy, upgrades the Envoy version, patches the operating system, and monitors its health.
This is a convenience which creates an instance of the
CreateProxyRequest.Builderavoiding the need to create one manually viaCreateProxyRequest.builder()- Parameters:
createProxyRequest- AConsumerthat will call methods onCreateProxyRequest.Builderto create a request.- Returns:
- Result of the CreateProxy operation returned by the service.
- See Also:
-
deleteProxy
default DeleteProxyResponse deleteProxy(DeleteProxyRequest deleteProxyRequest) throws ValidationException, OperationNotPermittedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Deletes a proxy.
- Parameters:
deleteProxyRequest-- Returns:
- Result of the DeleteProxy operation returned by the service.
- See Also:
-
deleteProxy
default DeleteProxyResponse deleteProxy(Consumer<DeleteProxyRequest.Builder> deleteProxyRequest) throws ValidationException, OperationNotPermittedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Deletes a proxy.
This is a convenience which creates an instance of the
DeleteProxyRequest.Builderavoiding the need to create one manually viaDeleteProxyRequest.builder()- Parameters:
deleteProxyRequest- AConsumerthat will call methods onDeleteProxyRequest.Builderto create a request.- Returns:
- Result of the DeleteProxy operation returned by the service.
- See Also:
-
disassociateCertificate
default DisassociateCertificateResponse disassociateCertificate(DisassociateCertificateRequest disassociateCertificateRequest) throws ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Disassociates an ACM certificate from the specified proxy.
- Parameters:
disassociateCertificateRequest-- Returns:
- Result of the DisassociateCertificate operation returned by the service.
- See Also:
-
disassociateCertificate
default DisassociateCertificateResponse disassociateCertificate(Consumer<DisassociateCertificateRequest.Builder> disassociateCertificateRequest) throws ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Disassociates an ACM certificate from the specified proxy.
This is a convenience which creates an instance of the
DisassociateCertificateRequest.Builderavoiding the need to create one manually viaDisassociateCertificateRequest.builder()- Parameters:
disassociateCertificateRequest- AConsumerthat will call methods onDisassociateCertificateRequest.Builderto create a request.- Returns:
- Result of the DisassociateCertificate operation returned by the service.
- See Also:
-
getProxy
default GetProxyResponse getProxy(GetProxyRequest getProxyRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Retrieves information about the specified proxy.
- Parameters:
getProxyRequest-- Returns:
- Result of the GetProxy operation returned by the service.
- See Also:
-
getProxy
default GetProxyResponse getProxy(Consumer<GetProxyRequest.Builder> getProxyRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Retrieves information about the specified proxy.
This is a convenience which creates an instance of the
GetProxyRequest.Builderavoiding the need to create one manually viaGetProxyRequest.builder()- Parameters:
getProxyRequest- AConsumerthat will call methods onGetProxyRequest.Builderto create a request.- Returns:
- Result of the GetProxy operation returned by the service.
- See Also:
-
getProxyAttributes
default GetProxyAttributesResponse getProxyAttributes(GetProxyAttributesRequest getProxyAttributesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Retrieves the attributes for the specified proxy.
- Parameters:
getProxyAttributesRequest-- Returns:
- Result of the GetProxyAttributes operation returned by the service.
- See Also:
-
getProxyAttributes
default GetProxyAttributesResponse getProxyAttributes(Consumer<GetProxyAttributesRequest.Builder> getProxyAttributesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Retrieves the attributes for the specified proxy.
This is a convenience which creates an instance of the
GetProxyAttributesRequest.Builderavoiding the need to create one manually viaGetProxyAttributesRequest.builder()- Parameters:
getProxyAttributesRequest- AConsumerthat will call methods onGetProxyAttributesRequest.Builderto create a request.- Returns:
- Result of the GetProxyAttributes operation returned by the service.
- See Also:
-
getProxyConfigurationContents
default GetProxyConfigurationContentsResponse getProxyConfigurationContents(GetProxyConfigurationContentsRequest getProxyConfigurationContentsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Retrieves the configuration file, the configuration archive, or both for the specified proxy. This operation is separate from GetProxy so that you can grant access to proxy metadata without granting access to the configuration content.
- Parameters:
getProxyConfigurationContentsRequest-- Returns:
- Result of the GetProxyConfigurationContents operation returned by the service.
- See Also:
-
getProxyConfigurationContents
default GetProxyConfigurationContentsResponse getProxyConfigurationContents(Consumer<GetProxyConfigurationContentsRequest.Builder> getProxyConfigurationContentsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Retrieves the configuration file, the configuration archive, or both for the specified proxy. This operation is separate from GetProxy so that you can grant access to proxy metadata without granting access to the configuration content.
This is a convenience which creates an instance of the
GetProxyConfigurationContentsRequest.Builderavoiding the need to create one manually viaGetProxyConfigurationContentsRequest.builder()- Parameters:
getProxyConfigurationContentsRequest- AConsumerthat will call methods onGetProxyConfigurationContentsRequest.Builderto create a request.- Returns:
- Result of the GetProxyConfigurationContents operation returned by the service.
- See Also:
-
getProxyUpdate
default GetProxyUpdateResponse getProxyUpdate(GetProxyUpdateRequest getProxyUpdateRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Retrieves information about the specified proxy update.
- Parameters:
getProxyUpdateRequest-- Returns:
- Result of the GetProxyUpdate operation returned by the service.
- See Also:
-
getProxyUpdate
default GetProxyUpdateResponse getProxyUpdate(Consumer<GetProxyUpdateRequest.Builder> getProxyUpdateRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Retrieves information about the specified proxy update.
This is a convenience which creates an instance of the
GetProxyUpdateRequest.Builderavoiding the need to create one manually viaGetProxyUpdateRequest.builder()- Parameters:
getProxyUpdateRequest- AConsumerthat will call methods onGetProxyUpdateRequest.Builderto create a request.- Returns:
- Result of the GetProxyUpdate operation returned by the service.
- See Also:
-
listCertificateAssociations
default ListCertificateAssociationsResponse listCertificateAssociations(ListCertificateAssociationsRequest listCertificateAssociationsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Lists the ACM certificate associations for the specified proxy.
- Parameters:
listCertificateAssociationsRequest-- Returns:
- Result of the ListCertificateAssociations operation returned by the service.
- See Also:
-
listCertificateAssociations
default ListCertificateAssociationsResponse listCertificateAssociations(Consumer<ListCertificateAssociationsRequest.Builder> listCertificateAssociationsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Lists the ACM certificate associations for the specified proxy.
This is a convenience which creates an instance of the
ListCertificateAssociationsRequest.Builderavoiding the need to create one manually viaListCertificateAssociationsRequest.builder()- Parameters:
listCertificateAssociationsRequest- AConsumerthat will call methods onListCertificateAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListCertificateAssociations operation returned by the service.
- See Also:
-
listCertificateAssociationsPaginator
default ListCertificateAssociationsIterable listCertificateAssociationsPaginator(ListCertificateAssociationsRequest listCertificateAssociationsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException This is a variant of
listCertificateAssociations(software.amazon.awssdk.services.elbproxy.model.ListCertificateAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.elbproxy.paginators.ListCertificateAssociationsIterable responses = client.listCertificateAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.elbproxy.paginators.ListCertificateAssociationsIterable responses = client .listCertificateAssociationsPaginator(request); for (software.amazon.awssdk.services.elbproxy.model.ListCertificateAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.elbproxy.paginators.ListCertificateAssociationsIterable responses = client.listCertificateAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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
listCertificateAssociations(software.amazon.awssdk.services.elbproxy.model.ListCertificateAssociationsRequest)operation.- Parameters:
listCertificateAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCertificateAssociationsPaginator
default ListCertificateAssociationsIterable listCertificateAssociationsPaginator(Consumer<ListCertificateAssociationsRequest.Builder> listCertificateAssociationsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException This is a variant of
listCertificateAssociations(software.amazon.awssdk.services.elbproxy.model.ListCertificateAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.elbproxy.paginators.ListCertificateAssociationsIterable responses = client.listCertificateAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.elbproxy.paginators.ListCertificateAssociationsIterable responses = client .listCertificateAssociationsPaginator(request); for (software.amazon.awssdk.services.elbproxy.model.ListCertificateAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.elbproxy.paginators.ListCertificateAssociationsIterable responses = client.listCertificateAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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
listCertificateAssociations(software.amazon.awssdk.services.elbproxy.model.ListCertificateAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListCertificateAssociationsRequest.Builderavoiding the need to create one manually viaListCertificateAssociationsRequest.builder()- Parameters:
listCertificateAssociationsRequest- AConsumerthat will call methods onListCertificateAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProxies
default ListProxiesResponse listProxies(ListProxiesRequest listProxiesRequest) throws ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Lists the proxies owned by the caller account.
- Parameters:
listProxiesRequest-- Returns:
- Result of the ListProxies operation returned by the service.
- See Also:
-
listProxies
default ListProxiesResponse listProxies(Consumer<ListProxiesRequest.Builder> listProxiesRequest) throws ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Lists the proxies owned by the caller account.
This is a convenience which creates an instance of the
ListProxiesRequest.Builderavoiding the need to create one manually viaListProxiesRequest.builder()- Parameters:
listProxiesRequest- AConsumerthat will call methods onListProxiesRequest.Builderto create a request.- Returns:
- Result of the ListProxies operation returned by the service.
- See Also:
-
listProxiesPaginator
default ListProxiesIterable listProxiesPaginator(ListProxiesRequest listProxiesRequest) throws ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException This is a variant of
listProxies(software.amazon.awssdk.services.elbproxy.model.ListProxiesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.elbproxy.paginators.ListProxiesIterable responses = client.listProxiesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.elbproxy.paginators.ListProxiesIterable responses = client.listProxiesPaginator(request); for (software.amazon.awssdk.services.elbproxy.model.ListProxiesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.elbproxy.paginators.ListProxiesIterable responses = client.listProxiesPaginator(request); responses.iterator().forEachRemaining(....);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
listProxies(software.amazon.awssdk.services.elbproxy.model.ListProxiesRequest)operation.- Parameters:
listProxiesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProxiesPaginator
default ListProxiesIterable listProxiesPaginator(Consumer<ListProxiesRequest.Builder> listProxiesRequest) throws ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException This is a variant of
listProxies(software.amazon.awssdk.services.elbproxy.model.ListProxiesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.elbproxy.paginators.ListProxiesIterable responses = client.listProxiesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.elbproxy.paginators.ListProxiesIterable responses = client.listProxiesPaginator(request); for (software.amazon.awssdk.services.elbproxy.model.ListProxiesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.elbproxy.paginators.ListProxiesIterable responses = client.listProxiesPaginator(request); responses.iterator().forEachRemaining(....);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
listProxies(software.amazon.awssdk.services.elbproxy.model.ListProxiesRequest)operation.
This is a convenience which creates an instance of the
ListProxiesRequest.Builderavoiding the need to create one manually viaListProxiesRequest.builder()- Parameters:
listProxiesRequest- AConsumerthat will call methods onListProxiesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProxyUpdates
default ListProxyUpdatesResponse listProxyUpdates(ListProxyUpdatesRequest listProxyUpdatesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Lists the updates for the specified proxy, most recently submitted first.
- Parameters:
listProxyUpdatesRequest-- Returns:
- Result of the ListProxyUpdates operation returned by the service.
- See Also:
-
listProxyUpdates
default ListProxyUpdatesResponse listProxyUpdates(Consumer<ListProxyUpdatesRequest.Builder> listProxyUpdatesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Lists the updates for the specified proxy, most recently submitted first.
This is a convenience which creates an instance of the
ListProxyUpdatesRequest.Builderavoiding the need to create one manually viaListProxyUpdatesRequest.builder()- Parameters:
listProxyUpdatesRequest- AConsumerthat will call methods onListProxyUpdatesRequest.Builderto create a request.- Returns:
- Result of the ListProxyUpdates operation returned by the service.
- See Also:
-
listProxyUpdatesPaginator
default ListProxyUpdatesIterable listProxyUpdatesPaginator(ListProxyUpdatesRequest listProxyUpdatesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException This is a variant of
listProxyUpdates(software.amazon.awssdk.services.elbproxy.model.ListProxyUpdatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.elbproxy.paginators.ListProxyUpdatesIterable responses = client.listProxyUpdatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.elbproxy.paginators.ListProxyUpdatesIterable responses = client .listProxyUpdatesPaginator(request); for (software.amazon.awssdk.services.elbproxy.model.ListProxyUpdatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.elbproxy.paginators.ListProxyUpdatesIterable responses = client.listProxyUpdatesPaginator(request); responses.iterator().forEachRemaining(....);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
listProxyUpdates(software.amazon.awssdk.services.elbproxy.model.ListProxyUpdatesRequest)operation.- Parameters:
listProxyUpdatesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProxyUpdatesPaginator
default ListProxyUpdatesIterable listProxyUpdatesPaginator(Consumer<ListProxyUpdatesRequest.Builder> listProxyUpdatesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException This is a variant of
listProxyUpdates(software.amazon.awssdk.services.elbproxy.model.ListProxyUpdatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.elbproxy.paginators.ListProxyUpdatesIterable responses = client.listProxyUpdatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.elbproxy.paginators.ListProxyUpdatesIterable responses = client .listProxyUpdatesPaginator(request); for (software.amazon.awssdk.services.elbproxy.model.ListProxyUpdatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.elbproxy.paginators.ListProxyUpdatesIterable responses = client.listProxyUpdatesPaginator(request); responses.iterator().forEachRemaining(....);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
listProxyUpdates(software.amazon.awssdk.services.elbproxy.model.ListProxyUpdatesRequest)operation.
This is a convenience which creates an instance of the
ListProxyUpdatesRequest.Builderavoiding the need to create one manually viaListProxyUpdatesRequest.builder()- Parameters:
listProxyUpdatesRequest- AConsumerthat will call methods onListProxyUpdatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProxyVersions
default ListProxyVersionsResponse listProxyVersions(ListProxyVersionsRequest listProxyVersionsRequest) throws ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Lists the available proxy versions.
- Parameters:
listProxyVersionsRequest-- Returns:
- Result of the ListProxyVersions operation returned by the service.
- See Also:
-
listProxyVersions
default ListProxyVersionsResponse listProxyVersions(Consumer<ListProxyVersionsRequest.Builder> listProxyVersionsRequest) throws ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Lists the available proxy versions.
This is a convenience which creates an instance of the
ListProxyVersionsRequest.Builderavoiding the need to create one manually viaListProxyVersionsRequest.builder()- Parameters:
listProxyVersionsRequest- AConsumerthat will call methods onListProxyVersionsRequest.Builderto create a request.- Returns:
- Result of the ListProxyVersions operation returned by the service.
- See Also:
-
listProxyVersionsPaginator
default ListProxyVersionsIterable listProxyVersionsPaginator(ListProxyVersionsRequest listProxyVersionsRequest) throws ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException This is a variant of
listProxyVersions(software.amazon.awssdk.services.elbproxy.model.ListProxyVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.elbproxy.paginators.ListProxyVersionsIterable responses = client.listProxyVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.elbproxy.paginators.ListProxyVersionsIterable responses = client .listProxyVersionsPaginator(request); for (software.amazon.awssdk.services.elbproxy.model.ListProxyVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.elbproxy.paginators.ListProxyVersionsIterable responses = client.listProxyVersionsPaginator(request); responses.iterator().forEachRemaining(....);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
listProxyVersions(software.amazon.awssdk.services.elbproxy.model.ListProxyVersionsRequest)operation.- Parameters:
listProxyVersionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProxyVersionsPaginator
default ListProxyVersionsIterable listProxyVersionsPaginator(Consumer<ListProxyVersionsRequest.Builder> listProxyVersionsRequest) throws ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException This is a variant of
listProxyVersions(software.amazon.awssdk.services.elbproxy.model.ListProxyVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.elbproxy.paginators.ListProxyVersionsIterable responses = client.listProxyVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.elbproxy.paginators.ListProxyVersionsIterable responses = client .listProxyVersionsPaginator(request); for (software.amazon.awssdk.services.elbproxy.model.ListProxyVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.elbproxy.paginators.ListProxyVersionsIterable responses = client.listProxyVersionsPaginator(request); responses.iterator().forEachRemaining(....);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
listProxyVersions(software.amazon.awssdk.services.elbproxy.model.ListProxyVersionsRequest)operation.
This is a convenience which creates an instance of the
ListProxyVersionsRequest.Builderavoiding the need to create one manually viaListProxyVersionsRequest.builder()- Parameters:
listProxyVersionsRequest- AConsumerthat will call methods onListProxyVersionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Lists the tags for the specified resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Lists the tags for the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Adds the specified tags to the specified resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Adds the specified tags to the specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Removes the specified tags from the specified resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Removes the specified tags from the specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateProxyAttributes
default UpdateProxyAttributesResponse updateProxyAttributes(UpdateProxyAttributesRequest updateProxyAttributesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Updates the attributes for the specified proxy.
- Parameters:
updateProxyAttributesRequest-- Returns:
- Result of the UpdateProxyAttributes operation returned by the service.
- See Also:
-
updateProxyAttributes
default UpdateProxyAttributesResponse updateProxyAttributes(Consumer<UpdateProxyAttributesRequest.Builder> updateProxyAttributesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, ElbProxyException Updates the attributes for the specified proxy.
This is a convenience which creates an instance of the
UpdateProxyAttributesRequest.Builderavoiding the need to create one manually viaUpdateProxyAttributesRequest.builder()- Parameters:
updateProxyAttributesRequest- AConsumerthat will call methods onUpdateProxyAttributesRequest.Builderto create a request.- Returns:
- Result of the UpdateProxyAttributes operation returned by the service.
- See Also:
-
updateProxyConfiguration
default UpdateProxyConfigurationResponse updateProxyConfiguration(UpdateProxyConfigurationRequest updateProxyConfigurationRequest) throws ValidationException, PriorRequestNotCompletedException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Updates the configuration for the specified proxy. You can update the configuration file, the configuration archive, or both.
- Parameters:
updateProxyConfigurationRequest-- Returns:
- Result of the UpdateProxyConfiguration operation returned by the service.
- See Also:
-
updateProxyConfiguration
default UpdateProxyConfigurationResponse updateProxyConfiguration(Consumer<UpdateProxyConfigurationRequest.Builder> updateProxyConfigurationRequest) throws ValidationException, PriorRequestNotCompletedException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Updates the configuration for the specified proxy. You can update the configuration file, the configuration archive, or both.
This is a convenience which creates an instance of the
UpdateProxyConfigurationRequest.Builderavoiding the need to create one manually viaUpdateProxyConfigurationRequest.builder()- Parameters:
updateProxyConfigurationRequest- AConsumerthat will call methods onUpdateProxyConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateProxyConfiguration operation returned by the service.
- See Also:
-
updateProxyNetworkConfiguration
default UpdateProxyNetworkConfigurationResponse updateProxyNetworkConfiguration(UpdateProxyNetworkConfigurationRequest updateProxyNetworkConfigurationRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Updates the network configuration for the specified proxy.
- Parameters:
updateProxyNetworkConfigurationRequest-- Returns:
- Result of the UpdateProxyNetworkConfiguration operation returned by the service.
- See Also:
-
updateProxyNetworkConfiguration
default UpdateProxyNetworkConfigurationResponse updateProxyNetworkConfiguration(Consumer<UpdateProxyNetworkConfigurationRequest.Builder> updateProxyNetworkConfigurationRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ElbProxyException Updates the network configuration for the specified proxy.
This is a convenience which creates an instance of the
UpdateProxyNetworkConfigurationRequest.Builderavoiding the need to create one manually viaUpdateProxyNetworkConfigurationRequest.builder()- Parameters:
updateProxyNetworkConfigurationRequest- AConsumerthat will call methods onUpdateProxyNetworkConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateProxyNetworkConfiguration operation returned by the service.
- See Also:
-
waiter
Create an instance ofElbProxyWaiterusing this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
ElbProxyWaiter
-
create
Create aElbProxyClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aElbProxyClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-