@Generated(value="OracleSDKGenerator", comments="API Version: 20200501") public interface NetworkLoadBalancerAsync extends AutoCloseable
This describes the network load balancer API.
close
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the serice.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.
region
- The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call
setRegion
.
If no known Region could be determined, it will create an endpoint based on the
default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
regionId
- The public region ID.Future<ChangeNetworkLoadBalancerCompartmentResponse> changeNetworkLoadBalancerCompartment(ChangeNetworkLoadBalancerCompartmentRequest request, AsyncHandler<ChangeNetworkLoadBalancerCompartmentRequest,ChangeNetworkLoadBalancerCompartmentResponse> handler)
Moves a network load balancer into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateBackendResponse> createBackend(CreateBackendRequest request, AsyncHandler<CreateBackendRequest,CreateBackendResponse> handler)
Adds a backend server to a backend set.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateBackendSetResponse> createBackendSet(CreateBackendSetRequest request, AsyncHandler<CreateBackendSetRequest,CreateBackendSetResponse> handler)
Adds a backend set to a network load balancer.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateListenerResponse> createListener(CreateListenerRequest request, AsyncHandler<CreateListenerRequest,CreateListenerResponse> handler)
Adds a listener to a network load balancer.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateNetworkLoadBalancerResponse> createNetworkLoadBalancer(CreateNetworkLoadBalancerRequest request, AsyncHandler<CreateNetworkLoadBalancerRequest,CreateNetworkLoadBalancerResponse> handler)
Creates a network load balancer.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteBackendResponse> deleteBackend(DeleteBackendRequest request, AsyncHandler<DeleteBackendRequest,DeleteBackendResponse> handler)
Removes a backend server from a given network load balancer and backend set.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteBackendSetResponse> deleteBackendSet(DeleteBackendSetRequest request, AsyncHandler<DeleteBackendSetRequest,DeleteBackendSetResponse> handler)
Deletes the specified backend set. Note that deleting a backend set removes its backend servers from the network load balancer.
Before you can delete a backend set, you must remove it from any active listeners.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteListenerResponse> deleteListener(DeleteListenerRequest request, AsyncHandler<DeleteListenerRequest,DeleteListenerResponse> handler)
Deletes a listener from a network load balancer.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteNetworkLoadBalancerResponse> deleteNetworkLoadBalancer(DeleteNetworkLoadBalancerRequest request, AsyncHandler<DeleteNetworkLoadBalancerRequest,DeleteNetworkLoadBalancerResponse> handler)
Deletes a network load balancer resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetBackendResponse> getBackend(GetBackendRequest request, AsyncHandler<GetBackendRequest,GetBackendResponse> handler)
Retrieves the configuration information for the specified backend server.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetBackendHealthResponse> getBackendHealth(GetBackendHealthRequest request, AsyncHandler<GetBackendHealthRequest,GetBackendHealthResponse> handler)
Retrieves the current health status of the specified backend server.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetBackendSetResponse> getBackendSet(GetBackendSetRequest request, AsyncHandler<GetBackendSetRequest,GetBackendSetResponse> handler)
Retrieves the configuration information for the specified backend set.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetBackendSetHealthResponse> getBackendSetHealth(GetBackendSetHealthRequest request, AsyncHandler<GetBackendSetHealthRequest,GetBackendSetHealthResponse> handler)
Retrieves the health status for the specified backend set.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetHealthCheckerResponse> getHealthChecker(GetHealthCheckerRequest request, AsyncHandler<GetHealthCheckerRequest,GetHealthCheckerResponse> handler)
Retrieves the health check policy information for a given network load balancer and backend set.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetListenerResponse> getListener(GetListenerRequest request, AsyncHandler<GetListenerRequest,GetListenerResponse> handler)
Retrieves listener properties associated with a given network load balancer and listener name.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetNetworkLoadBalancerResponse> getNetworkLoadBalancer(GetNetworkLoadBalancerRequest request, AsyncHandler<GetNetworkLoadBalancerRequest,GetNetworkLoadBalancerResponse> handler)
Retrieves network load balancer configuration information by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetNetworkLoadBalancerHealthResponse> getNetworkLoadBalancerHealth(GetNetworkLoadBalancerHealthRequest request, AsyncHandler<GetNetworkLoadBalancerHealthRequest,GetNetworkLoadBalancerHealthResponse> handler)
Retrieves the health status for the specified network load balancer.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Retrieves the details of the work request with the given identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListBackendSetsResponse> listBackendSets(ListBackendSetsRequest request, AsyncHandler<ListBackendSetsRequest,ListBackendSetsResponse> handler)
Lists all backend sets associated with a given network load balancer.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListBackendsResponse> listBackends(ListBackendsRequest request, AsyncHandler<ListBackendsRequest,ListBackendsResponse> handler)
Lists the backend servers for a given network load balancer and backend set.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListListenersResponse> listListeners(ListListenersRequest request, AsyncHandler<ListListenersRequest,ListListenersResponse> handler)
Lists all listeners associated with a given network load balancer.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListNetworkLoadBalancerHealthsResponse> listNetworkLoadBalancerHealths(ListNetworkLoadBalancerHealthsRequest request, AsyncHandler<ListNetworkLoadBalancerHealthsRequest,ListNetworkLoadBalancerHealthsResponse> handler)
Lists the summary health statuses for all network load balancers in the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListNetworkLoadBalancersResponse> listNetworkLoadBalancers(ListNetworkLoadBalancersRequest request, AsyncHandler<ListNetworkLoadBalancersRequest,ListNetworkLoadBalancersResponse> handler)
Returns a list of network load balancers.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListNetworkLoadBalancersPoliciesResponse> listNetworkLoadBalancersPolicies(ListNetworkLoadBalancersPoliciesRequest request, AsyncHandler<ListNetworkLoadBalancersPoliciesRequest,ListNetworkLoadBalancersPoliciesResponse> handler)
Lists the available network load balancer policies.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListNetworkLoadBalancersProtocolsResponse> listNetworkLoadBalancersProtocols(ListNetworkLoadBalancersProtocolsRequest request, AsyncHandler<ListNetworkLoadBalancersProtocolsRequest,ListNetworkLoadBalancersProtocolsResponse> handler)
This API has been deprecated so it won’t return the updated list of supported protocls. Lists all supported traffic protocols.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Return a (paginated) list of errors for a given work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Returns a (paginated) list of logs for a given work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Lists all work requests.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateBackendResponse> updateBackend(UpdateBackendRequest request, AsyncHandler<UpdateBackendRequest,UpdateBackendResponse> handler)
Updates the configuration of a backend server within the specified backend set.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateBackendSetResponse> updateBackendSet(UpdateBackendSetRequest request, AsyncHandler<UpdateBackendSetRequest,UpdateBackendSetResponse> handler)
Updates a backend set.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateHealthCheckerResponse> updateHealthChecker(UpdateHealthCheckerRequest request, AsyncHandler<UpdateHealthCheckerRequest,UpdateHealthCheckerResponse> handler)
Updates the health check policy for a given network load balancer and backend set.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateListenerResponse> updateListener(UpdateListenerRequest request, AsyncHandler<UpdateListenerRequest,UpdateListenerResponse> handler)
Updates a listener for a given network load balancer.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateNetworkLoadBalancerResponse> updateNetworkLoadBalancer(UpdateNetworkLoadBalancerRequest request, AsyncHandler<UpdateNetworkLoadBalancerRequest,UpdateNetworkLoadBalancerResponse> handler)
Updates the network load balancer
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateNetworkSecurityGroupsResponse> updateNetworkSecurityGroups(UpdateNetworkSecurityGroupsRequest request, AsyncHandler<UpdateNetworkSecurityGroupsRequest,UpdateNetworkSecurityGroupsResponse> handler)
Updates the network security groups associated with the specified network load balancer.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Copyright © 2016–2022. All rights reserved.