Class NetworkLoadBalancerClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.networkloadbalancer.NetworkLoadBalancerClient
-
- All Implemented Interfaces:
NetworkLoadBalancer,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20200501") public class NetworkLoadBalancerClient extends BaseSyncClient implements NetworkLoadBalancer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNetworkLoadBalancerClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for NetworkLoadBalancer.
-
Constructor Summary
Constructors Constructor Description NetworkLoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.NetworkLoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.NetworkLoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.NetworkLoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.NetworkLoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.NetworkLoadBalancerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.NetworkLoadBalancerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.NetworkLoadBalancerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetworkLoadBalancerClient.Builderbuilder()Create a builder for this client.ChangeNetworkLoadBalancerCompartmentResponsechangeNetworkLoadBalancerCompartment(ChangeNetworkLoadBalancerCompartmentRequest request)Moves a network load balancer into a different compartment within the same tenancy.voidclose()CreateBackendResponsecreateBackend(CreateBackendRequest request)Adds a backend server to a backend set.CreateBackendSetResponsecreateBackendSet(CreateBackendSetRequest request)Adds a backend set to a network load balancer.CreateListenerResponsecreateListener(CreateListenerRequest request)Adds a listener to a network load balancer.CreateNetworkLoadBalancerResponsecreateNetworkLoadBalancer(CreateNetworkLoadBalancerRequest request)Creates a network load balancer.DeleteBackendResponsedeleteBackend(DeleteBackendRequest request)Removes a backend server from a given network load balancer and backend set.DeleteBackendSetResponsedeleteBackendSet(DeleteBackendSetRequest request)Deletes the specified backend set.DeleteListenerResponsedeleteListener(DeleteListenerRequest request)Deletes a listener from a network load balancer.DeleteNetworkLoadBalancerResponsedeleteNetworkLoadBalancer(DeleteNetworkLoadBalancerRequest request)Deletes a network load balancer resource by identifier.voidenableDualStackEndpoints(boolean enableDualStackEndpoints)This method should be used to enable or disable the use of dual-stack endpoints.GetBackendResponsegetBackend(GetBackendRequest request)Retrieves the configuration information for the specified backend server.GetBackendHealthResponsegetBackendHealth(GetBackendHealthRequest request)Retrieves the current health status of the specified backend server.GetBackendOperationalStatusResponsegetBackendOperationalStatus(GetBackendOperationalStatusRequest request)Retrieves the current operational status of the specified backend server.GetBackendSetResponsegetBackendSet(GetBackendSetRequest request)Retrieves the configuration information for the specified backend set.GetBackendSetHealthResponsegetBackendSetHealth(GetBackendSetHealthRequest request)Retrieves the health status for the specified backend set.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()Get the endpoint of the client.GetHealthCheckerResponsegetHealthChecker(GetHealthCheckerRequest request)Retrieves the health check policy information for a given network load balancer and backend set.GetListenerResponsegetListener(GetListenerRequest request)Retrieves listener properties associated with a given network load balancer and listener name.Optional<String>getMinimumClientCommonLibraryVersionFromClient()GetNetworkLoadBalancerResponsegetNetworkLoadBalancer(GetNetworkLoadBalancerRequest request)Retrieves network load balancer configuration information by identifier.GetNetworkLoadBalancerHealthResponsegetNetworkLoadBalancerHealth(GetNetworkLoadBalancerHealthRequest request)Retrieves the health status for the specified network load balancer.Map<String,Boolean>getOptionsMap()Return an immutable snapshot representing the current options set for this client.NetworkLoadBalancerPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.StringgetResolvedEndpoint(Map<String,Object> requiredParametersMap)Returns the endpoint after filling in the current options, as determined byBaseClient.getOptionsMap(), and then filling in the required parameters in requiredParametersMap into the placeholders in the endpoint.NetworkLoadBalancerWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Retrieves the details of the work request with the given identifier.ListBackendsResponselistBackends(ListBackendsRequest request)Lists the backend servers for a given network load balancer and backend set.ListBackendSetsResponselistBackendSets(ListBackendSetsRequest request)Lists all backend sets associated with a given network load balancer.ListListenersResponselistListeners(ListListenersRequest request)Lists all listeners associated with a given network load balancer.ListNetworkLoadBalancerHealthsResponselistNetworkLoadBalancerHealths(ListNetworkLoadBalancerHealthsRequest request)Lists the summary health statuses for all network load balancers in the specified compartment.ListNetworkLoadBalancersResponselistNetworkLoadBalancers(ListNetworkLoadBalancersRequest request)Returns a list of network load balancers.ListNetworkLoadBalancersPoliciesResponselistNetworkLoadBalancersPolicies(ListNetworkLoadBalancersPoliciesRequest request)Lists the available network load balancer policies.ListNetworkLoadBalancersProtocolsResponselistNetworkLoadBalancersProtocols(ListNetworkLoadBalancersProtocolsRequest request)This API has been deprecated so it won’t return the updated list of supported protocls.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Return a (paginated) list of errors for a given work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Returns a (paginated) list of logs for a given work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists all work requests.voidrefreshClient()Rebuild the backingHttpClient.voidsetEndpoint(String endpoint)voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).UpdateBackendResponseupdateBackend(UpdateBackendRequest request)Updates the configuration of a backend server within the specified backend set.UpdateBackendSetResponseupdateBackendSet(UpdateBackendSetRequest request)Updates a backend set.UpdateHealthCheckerResponseupdateHealthChecker(UpdateHealthCheckerRequest request)Updates the health check policy for a given network load balancer and backend set.UpdateListenerResponseupdateListener(UpdateListenerRequest request)Updates a listener for a given network load balancer.UpdateNetworkLoadBalancerResponseupdateNetworkLoadBalancer(UpdateNetworkLoadBalancerRequest request)Updates the network load balancerUpdateNetworkSecurityGroupsResponseupdateNetworkSecurityGroups(UpdateNetworkSecurityGroupsRequest request)Updates the network security groups associated with the specified network load balancer.voiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.networkloadbalancer.NetworkLoadBalancer
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
NetworkLoadBalancerClient
@Deprecated public NetworkLoadBalancerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkLoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
NetworkLoadBalancerClient
@Deprecated public NetworkLoadBalancerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkLoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
NetworkLoadBalancerClient
@Deprecated public NetworkLoadBalancerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkLoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
NetworkLoadBalancerClient
@Deprecated public NetworkLoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkLoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
NetworkLoadBalancerClient
@Deprecated public NetworkLoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkLoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
NetworkLoadBalancerClient
@Deprecated public NetworkLoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkLoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
NetworkLoadBalancerClient
@Deprecated public NetworkLoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkLoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
NetworkLoadBalancerClient
@Deprecated public NetworkLoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkLoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactoriesexecutorService-NetworkLoadBalancerClient.Builder.executorService
-
-
Method Detail
-
builder
public static NetworkLoadBalancerClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:NetworkLoadBalancerSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceNetworkLoadBalancer- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:NetworkLoadBalancerSets 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 callsetEndpoint.- Specified by:
setRegionin interfaceNetworkLoadBalancer- Parameters:
regionId- The public region ID.
-
changeNetworkLoadBalancerCompartment
public ChangeNetworkLoadBalancerCompartmentResponse changeNetworkLoadBalancerCompartment(ChangeNetworkLoadBalancerCompartmentRequest request)
Description copied from interface:NetworkLoadBalancerMoves 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.
- Specified by:
changeNetworkLoadBalancerCompartmentin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createBackend
public CreateBackendResponse createBackend(CreateBackendRequest request)
Description copied from interface:NetworkLoadBalancerAdds a backend server to a backend set.- Specified by:
createBackendin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createBackendSet
public CreateBackendSetResponse createBackendSet(CreateBackendSetRequest request)
Description copied from interface:NetworkLoadBalancerAdds a backend set to a network load balancer.- Specified by:
createBackendSetin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createListener
public CreateListenerResponse createListener(CreateListenerRequest request)
Description copied from interface:NetworkLoadBalancerAdds a listener to a network load balancer.- Specified by:
createListenerin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createNetworkLoadBalancer
public CreateNetworkLoadBalancerResponse createNetworkLoadBalancer(CreateNetworkLoadBalancerRequest request)
Description copied from interface:NetworkLoadBalancerCreates a network load balancer.- Specified by:
createNetworkLoadBalancerin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteBackend
public DeleteBackendResponse deleteBackend(DeleteBackendRequest request)
Description copied from interface:NetworkLoadBalancerRemoves a backend server from a given network load balancer and backend set.- Specified by:
deleteBackendin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteBackendSet
public DeleteBackendSetResponse deleteBackendSet(DeleteBackendSetRequest request)
Description copied from interface:NetworkLoadBalancerDeletes 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.
- Specified by:
deleteBackendSetin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteListener
public DeleteListenerResponse deleteListener(DeleteListenerRequest request)
Description copied from interface:NetworkLoadBalancerDeletes a listener from a network load balancer.- Specified by:
deleteListenerin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteNetworkLoadBalancer
public DeleteNetworkLoadBalancerResponse deleteNetworkLoadBalancer(DeleteNetworkLoadBalancerRequest request)
Description copied from interface:NetworkLoadBalancerDeletes a network load balancer resource by identifier.- Specified by:
deleteNetworkLoadBalancerin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getBackend
public GetBackendResponse getBackend(GetBackendRequest request)
Description copied from interface:NetworkLoadBalancerRetrieves the configuration information for the specified backend server.- Specified by:
getBackendin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getBackendHealth
public GetBackendHealthResponse getBackendHealth(GetBackendHealthRequest request)
Description copied from interface:NetworkLoadBalancerRetrieves the current health status of the specified backend server.- Specified by:
getBackendHealthin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getBackendOperationalStatus
public GetBackendOperationalStatusResponse getBackendOperationalStatus(GetBackendOperationalStatusRequest request)
Description copied from interface:NetworkLoadBalancerRetrieves the current operational status of the specified backend server.- Specified by:
getBackendOperationalStatusin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getBackendSet
public GetBackendSetResponse getBackendSet(GetBackendSetRequest request)
Description copied from interface:NetworkLoadBalancerRetrieves the configuration information for the specified backend set.- Specified by:
getBackendSetin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getBackendSetHealth
public GetBackendSetHealthResponse getBackendSetHealth(GetBackendSetHealthRequest request)
Description copied from interface:NetworkLoadBalancerRetrieves the health status for the specified backend set.- Specified by:
getBackendSetHealthin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getHealthChecker
public GetHealthCheckerResponse getHealthChecker(GetHealthCheckerRequest request)
Description copied from interface:NetworkLoadBalancerRetrieves the health check policy information for a given network load balancer and backend set.- Specified by:
getHealthCheckerin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getListener
public GetListenerResponse getListener(GetListenerRequest request)
Description copied from interface:NetworkLoadBalancerRetrieves listener properties associated with a given network load balancer and listener name.- Specified by:
getListenerin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getNetworkLoadBalancer
public GetNetworkLoadBalancerResponse getNetworkLoadBalancer(GetNetworkLoadBalancerRequest request)
Description copied from interface:NetworkLoadBalancerRetrieves network load balancer configuration information by identifier.- Specified by:
getNetworkLoadBalancerin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getNetworkLoadBalancerHealth
public GetNetworkLoadBalancerHealthResponse getNetworkLoadBalancerHealth(GetNetworkLoadBalancerHealthRequest request)
Description copied from interface:NetworkLoadBalancerRetrieves the health status for the specified network load balancer.- Specified by:
getNetworkLoadBalancerHealthin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWorkRequest
public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Description copied from interface:NetworkLoadBalancerRetrieves the details of the work request with the given identifier.- Specified by:
getWorkRequestin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listBackendSets
public ListBackendSetsResponse listBackendSets(ListBackendSetsRequest request)
Description copied from interface:NetworkLoadBalancerLists all backend sets associated with a given network load balancer.- Specified by:
listBackendSetsin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listBackends
public ListBackendsResponse listBackends(ListBackendsRequest request)
Description copied from interface:NetworkLoadBalancerLists the backend servers for a given network load balancer and backend set.- Specified by:
listBackendsin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listListeners
public ListListenersResponse listListeners(ListListenersRequest request)
Description copied from interface:NetworkLoadBalancerLists all listeners associated with a given network load balancer.- Specified by:
listListenersin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listNetworkLoadBalancerHealths
public ListNetworkLoadBalancerHealthsResponse listNetworkLoadBalancerHealths(ListNetworkLoadBalancerHealthsRequest request)
Description copied from interface:NetworkLoadBalancerLists the summary health statuses for all network load balancers in the specified compartment.- Specified by:
listNetworkLoadBalancerHealthsin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listNetworkLoadBalancers
public ListNetworkLoadBalancersResponse listNetworkLoadBalancers(ListNetworkLoadBalancersRequest request)
Description copied from interface:NetworkLoadBalancerReturns a list of network load balancers.- Specified by:
listNetworkLoadBalancersin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listNetworkLoadBalancersPolicies
public ListNetworkLoadBalancersPoliciesResponse listNetworkLoadBalancersPolicies(ListNetworkLoadBalancersPoliciesRequest request)
Description copied from interface:NetworkLoadBalancerLists the available network load balancer policies.- Specified by:
listNetworkLoadBalancersPoliciesin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listNetworkLoadBalancersProtocols
public ListNetworkLoadBalancersProtocolsResponse listNetworkLoadBalancersProtocols(ListNetworkLoadBalancersProtocolsRequest request)
Description copied from interface:NetworkLoadBalancerThis API has been deprecated so it won’t return the updated list of supported protocls.Lists all supported traffic protocols.
- Specified by:
listNetworkLoadBalancersProtocolsin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestErrors
public ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Description copied from interface:NetworkLoadBalancerReturn a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrorsin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestLogs
public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Description copied from interface:NetworkLoadBalancerReturns a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogsin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequests
public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Description copied from interface:NetworkLoadBalancerLists all work requests.- Specified by:
listWorkRequestsin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateBackend
public UpdateBackendResponse updateBackend(UpdateBackendRequest request)
Description copied from interface:NetworkLoadBalancerUpdates the configuration of a backend server within the specified backend set.- Specified by:
updateBackendin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateBackendSet
public UpdateBackendSetResponse updateBackendSet(UpdateBackendSetRequest request)
Description copied from interface:NetworkLoadBalancerUpdates a backend set.- Specified by:
updateBackendSetin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateHealthChecker
public UpdateHealthCheckerResponse updateHealthChecker(UpdateHealthCheckerRequest request)
Description copied from interface:NetworkLoadBalancerUpdates the health check policy for a given network load balancer and backend set.- Specified by:
updateHealthCheckerin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateListener
public UpdateListenerResponse updateListener(UpdateListenerRequest request)
Description copied from interface:NetworkLoadBalancerUpdates a listener for a given network load balancer.- Specified by:
updateListenerin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateNetworkLoadBalancer
public UpdateNetworkLoadBalancerResponse updateNetworkLoadBalancer(UpdateNetworkLoadBalancerRequest request)
Description copied from interface:NetworkLoadBalancerUpdates the network load balancer- Specified by:
updateNetworkLoadBalancerin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateNetworkSecurityGroups
public UpdateNetworkSecurityGroupsResponse updateNetworkSecurityGroups(UpdateNetworkSecurityGroupsRequest request)
Description copied from interface:NetworkLoadBalancerUpdates the network security groups associated with the specified network load balancer.- Specified by:
updateNetworkSecurityGroupsin interfaceNetworkLoadBalancer- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public NetworkLoadBalancerWaiters getWaiters()
Description copied from interface:NetworkLoadBalancerGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceNetworkLoadBalancer- Returns:
- The service waiters.
-
getPaginators
public NetworkLoadBalancerPaginators getPaginators()
Description copied from interface:NetworkLoadBalancerGets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginatorsin interfaceNetworkLoadBalancer- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
enableDualStackEndpoints
public void enableDualStackEndpoints(boolean enableDualStackEndpoints)
This method should be used to enable or disable the use of dual-stack endpoints.The default value is false i.e. dual-stack endpoints are disabled by default.
- Parameters:
enableDualStackEndpoints- This flag can be set to true or false to enable or disable the use of dual-stack endpoints respectively
-
getOptionsMap
public Map<String,Boolean> getOptionsMap()
Return an immutable snapshot representing the current options set for this client.- Returns:
- immutable snapshot representing the current options set for this client
-
getResolvedEndpoint
public String getResolvedEndpoint(Map<String,Object> requiredParametersMap)
Returns the endpoint after filling in the current options, as determined byBaseClient.getOptionsMap(), and then filling in the required parameters in requiredParametersMap into the placeholders in the endpoint.- Parameters:
requiredParametersMap- the map from required parameter name to their values- Returns:
- resolved endpoint, with all options and placeholders filled in
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
Get the endpoint of the client.Note that the endpoint may be parameterized and contain placeholders and options. The region subdomain and realm domain will have been properly replaced already if the endpoint was selected using a
Region.Examples of endpoints this may return:
- Unparameterized endpoints
https://identity.us-phoenix-1.oci.oraclecloud.com https://identity.us-ashburn-1.oci.oraclecloud.com https://test-namespace.objectstorage.us-ashburn-1.oci.customer-oci.com - Parameterized endpoints with placeholders
https://{namespaceName+Dot}objectstorage.us-phoenix-1.oci.customer-oci.com https://{namespaceName+Dot}objectstorage.us-ashburn-1.oci.customer-oci.com - Parameterized endpoints with options
https://{dualStack?ds.:}identity.us-phoenix-1.oci.oraclecloud.com https://{dualStack?ds.:}identity.us-ashburn-1.oci.oraclecloud.com - Parameterized endpoints with placeholders and options
https://{namespaceName+Dot}{dualStack?ds.:}objectstorage.us-phoenix-1.oci.customer-oci.com https://{namespaceName+Dot}{dualStack?ds.:}objectstorage.us-ashburn-1.oci.customer-oci.com
To get the actual endpoint for a parameterized request, you can use
BaseClient.getResolvedEndpoint(Map)orParameterizedEndpointUtil.getEndpointWithPopulatedServiceParameters(String, Map, Map).- Returns:
- the endpoint being used by the client
- Unparameterized endpoints
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-