@Generated(value="OracleSDKGenerator", comments="API Version: 20170115") public class LoadBalancerClient extends BaseSyncClient implements LoadBalancer
Modifier and Type | Class and Description |
---|---|
static class |
LoadBalancerClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for LoadBalancer.
|
Constructor and Description |
---|
LoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
LoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
LoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
LoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
LoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
LoadBalancerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
LoadBalancerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
LoadBalancerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
Modifier and Type | Method and Description |
---|---|
static LoadBalancerClient.Builder |
builder()
Create a builder for this client.
|
ChangeLoadBalancerCompartmentResponse |
changeLoadBalancerCompartment(ChangeLoadBalancerCompartmentRequest request)
Moves a load balancer into a different compartment within the same tenancy.
|
void |
close() |
CreateBackendResponse |
createBackend(CreateBackendRequest request)
Adds a backend server to a backend set.
|
CreateBackendSetResponse |
createBackendSet(CreateBackendSetRequest request)
Adds a backend set to a load balancer.
|
CreateCertificateResponse |
createCertificate(CreateCertificateRequest request)
Creates an asynchronous request to add an SSL certificate bundle.
|
CreateHostnameResponse |
createHostname(CreateHostnameRequest request)
Adds a hostname resource to the specified load balancer.
|
CreateListenerResponse |
createListener(CreateListenerRequest request)
Adds a listener to a load balancer.
|
CreateLoadBalancerResponse |
createLoadBalancer(CreateLoadBalancerRequest request)
Creates a new load balancer in the specified compartment.
|
CreatePathRouteSetResponse |
createPathRouteSet(CreatePathRouteSetRequest request)
Adds a path route set to a load balancer.
|
CreateRoutingPolicyResponse |
createRoutingPolicy(CreateRoutingPolicyRequest request)
Adds a routing policy to a load balancer.
|
CreateRuleSetResponse |
createRuleSet(CreateRuleSetRequest request)
Creates a new rule set associated with the specified load balancer.
|
CreateSSLCipherSuiteResponse |
createSSLCipherSuite(CreateSSLCipherSuiteRequest request)
Creates a custom SSL cipher suite.
|
DeleteBackendResponse |
deleteBackend(DeleteBackendRequest request)
Removes a backend server from a given load balancer and backend set.
|
DeleteBackendSetResponse |
deleteBackendSet(DeleteBackendSetRequest request)
Deletes the specified backend set.
|
DeleteCertificateResponse |
deleteCertificate(DeleteCertificateRequest request)
Deletes an SSL certificate bundle from a load balancer.
|
DeleteHostnameResponse |
deleteHostname(DeleteHostnameRequest request)
Deletes a hostname resource from the specified load balancer.
|
DeleteListenerResponse |
deleteListener(DeleteListenerRequest request)
Deletes a listener from a load balancer.
|
DeleteLoadBalancerResponse |
deleteLoadBalancer(DeleteLoadBalancerRequest request)
Stops a load balancer and removes it from service.
|
DeletePathRouteSetResponse |
deletePathRouteSet(DeletePathRouteSetRequest request)
Deletes a path route set from the specified load balancer.
|
DeleteRoutingPolicyResponse |
deleteRoutingPolicy(DeleteRoutingPolicyRequest request)
Deletes a routing policy from the specified load balancer.
|
DeleteRuleSetResponse |
deleteRuleSet(DeleteRuleSetRequest request)
Deletes a rule set from the specified load balancer.
|
DeleteSSLCipherSuiteResponse |
deleteSSLCipherSuite(DeleteSSLCipherSuiteRequest request)
Deletes an SSL cipher suite from a load balancer.
|
GetBackendResponse |
getBackend(GetBackendRequest request)
Gets the specified backend server’s configuration information.
|
GetBackendHealthResponse |
getBackendHealth(GetBackendHealthRequest request)
Gets the current health status of the specified backend server.
|
GetBackendSetResponse |
getBackendSet(GetBackendSetRequest request)
Gets the specified backend set’s configuration information.
|
GetBackendSetHealthResponse |
getBackendSetHealth(GetBackendSetHealthRequest request)
Gets the health status for the specified backend set.
|
String |
getClientCommonLibraryVersion() |
protected ClientConfigurator |
getDefaultConfigurator() |
String |
getEndpoint() |
GetHealthCheckerResponse |
getHealthChecker(GetHealthCheckerRequest request)
Gets the health check policy information for a given load balancer and backend set.
|
GetHostnameResponse |
getHostname(GetHostnameRequest request)
Gets the specified hostname resource’s configuration information.
|
GetLoadBalancerResponse |
getLoadBalancer(GetLoadBalancerRequest request)
Gets the specified load balancer’s configuration information.
|
GetLoadBalancerHealthResponse |
getLoadBalancerHealth(GetLoadBalancerHealthRequest request)
Gets the health status for the specified load balancer.
|
Optional<String> |
getMinimumClientCommonLibraryVersionFromClient() |
LoadBalancerPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data.
|
GetPathRouteSetResponse |
getPathRouteSet(GetPathRouteSetRequest request)
Gets the specified path route set’s configuration information.
|
GetRoutingPolicyResponse |
getRoutingPolicy(GetRoutingPolicyRequest request)
Gets the specified routing policy.
|
GetRuleSetResponse |
getRuleSet(GetRuleSetRequest request)
Gets the specified set of rules.
|
GetSSLCipherSuiteResponse |
getSSLCipherSuite(GetSSLCipherSuiteRequest request)
Gets the specified SSL cipher suite’s configuration information.
|
LoadBalancerWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
GetWorkRequestResponse |
getWorkRequest(GetWorkRequestRequest request)
Gets the details of a work request.
|
ListBackendsResponse |
listBackends(ListBackendsRequest request)
Lists the backend servers for a given load balancer and backend set.
|
ListBackendSetsResponse |
listBackendSets(ListBackendSetsRequest request)
Lists all backend sets associated with a given load balancer.
|
ListCertificatesResponse |
listCertificates(ListCertificatesRequest request)
Lists all SSL certificates bundles associated with a given load balancer.
|
ListHostnamesResponse |
listHostnames(ListHostnamesRequest request)
Lists all hostname resources associated with the specified load balancer.
|
ListListenerRulesResponse |
listListenerRules(ListListenerRulesRequest request)
Lists all of the rules from all of the rule sets associated with the specified listener.
|
ListLoadBalancerHealthsResponse |
listLoadBalancerHealths(ListLoadBalancerHealthsRequest request)
Lists the summary health statuses for all load balancers in the specified compartment.
|
ListLoadBalancersResponse |
listLoadBalancers(ListLoadBalancersRequest request)
Lists all load balancers in the specified compartment.
|
ListPathRouteSetsResponse |
listPathRouteSets(ListPathRouteSetsRequest request)
Lists all path route sets associated with the specified load balancer.
|
ListPoliciesResponse |
listPolicies(ListPoliciesRequest request)
Lists the available load balancer policies.
|
ListProtocolsResponse |
listProtocols(ListProtocolsRequest request)
Lists all supported traffic protocols.
|
ListRoutingPoliciesResponse |
listRoutingPolicies(ListRoutingPoliciesRequest request)
Lists all routing policies associated with the specified load balancer.
|
ListRuleSetsResponse |
listRuleSets(ListRuleSetsRequest request)
Lists all rule sets associated with the specified load balancer.
|
ListShapesResponse |
listShapes(ListShapesRequest request)
Lists the valid load balancer shapes.
|
ListSSLCipherSuitesResponse |
listSSLCipherSuites(ListSSLCipherSuitesRequest request)
Lists all SSL cipher suites associated with the specified load balancer.
|
ListWorkRequestsResponse |
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests for a given load balancer.
|
void |
populateServiceParametersInEndpoint(String endpoint,
Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base
endpoint.
|
void |
refreshClient()
Rebuild the backing
HttpClient . |
void |
setEndpoint(String endpoint) |
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
UpdateBackendResponse |
updateBackend(UpdateBackendRequest request)
Updates the configuration of a backend server within the specified backend set.
|
UpdateBackendSetResponse |
updateBackendSet(UpdateBackendSetRequest request)
Updates a backend set.
|
void |
updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.
|
UpdateHealthCheckerResponse |
updateHealthChecker(UpdateHealthCheckerRequest request)
Updates the health check policy for a given load balancer and backend set.
|
UpdateHostnameResponse |
updateHostname(UpdateHostnameRequest request)
Overwrites an existing hostname resource on the specified load balancer.
|
UpdateListenerResponse |
updateListener(UpdateListenerRequest request)
Updates a listener for a given load balancer.
|
UpdateLoadBalancerResponse |
updateLoadBalancer(UpdateLoadBalancerRequest request)
Updates a load balancer’s configuration.
|
UpdateLoadBalancerShapeResponse |
updateLoadBalancerShape(UpdateLoadBalancerShapeRequest request)
Update the shape of a load balancer.
|
UpdateNetworkSecurityGroupsResponse |
updateNetworkSecurityGroups(UpdateNetworkSecurityGroupsRequest request)
Updates the network security groups associated with the specified load balancer.
|
UpdatePathRouteSetResponse |
updatePathRouteSet(UpdatePathRouteSetRequest request)
Overwrites an existing path route set on the specified load balancer.
|
UpdateRoutingPolicyResponse |
updateRoutingPolicy(UpdateRoutingPolicyRequest request)
Overwrites an existing routing policy on the specified load balancer.
|
UpdateRuleSetResponse |
updateRuleSet(UpdateRuleSetRequest request)
Overwrites an existing set of rules on the specified load balancer.
|
UpdateSSLCipherSuiteResponse |
updateSSLCipherSuite(UpdateSSLCipherSuiteRequest request)
Updates an existing SSL cipher suite for the specified load balancer.
|
void |
useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.
|
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for LoadBalancer.
public final String clientCommonLibraryVersion
@Deprecated public LoadBalancerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public LoadBalancerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public LoadBalancerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public LoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public LoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public LoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public LoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
@Deprecated public LoadBalancerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LoadBalancerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
executorService
- LoadBalancerClient.Builder.executorService
public static LoadBalancerClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
LoadBalancer
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.
setRegion
in interface LoadBalancer
region
- The region of the service.public void setRegion(String regionId)
LoadBalancer
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
.
setRegion
in interface LoadBalancer
regionId
- The public region ID.public ChangeLoadBalancerCompartmentResponse changeLoadBalancerCompartment(ChangeLoadBalancerCompartmentRequest request)
LoadBalancer
Moves a load balancer into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeLoadBalancerCompartment
in interface LoadBalancer
request
- The request object containing the details to sendpublic CreateBackendResponse createBackend(CreateBackendRequest request)
LoadBalancer
Adds a backend server to a backend set.
createBackend
in interface LoadBalancer
request
- The request object containing the details to sendpublic CreateBackendSetResponse createBackendSet(CreateBackendSetRequest request)
LoadBalancer
Adds a backend set to a load balancer.
createBackendSet
in interface LoadBalancer
request
- The request object containing the details to sendpublic CreateCertificateResponse createCertificate(CreateCertificateRequest request)
LoadBalancer
Creates an asynchronous request to add an SSL certificate bundle.
createCertificate
in interface LoadBalancer
request
- The request object containing the details to sendpublic CreateHostnameResponse createHostname(CreateHostnameRequest request)
LoadBalancer
Adds a hostname resource to the specified load balancer. For more information, see Managing Request Routing.
createHostname
in interface LoadBalancer
request
- The request object containing the details to sendpublic CreateListenerResponse createListener(CreateListenerRequest request)
LoadBalancer
Adds a listener to a load balancer.
createListener
in interface LoadBalancer
request
- The request object containing the details to sendpublic CreateLoadBalancerResponse createLoadBalancer(CreateLoadBalancerRequest request)
LoadBalancer
Creates a new load balancer in the specified compartment. For general information about load balancers, see Overview of the Load Balancing Service.
For the purposes of access control, you must provide the OCID of the compartment where you want the load balancer to reside. Notice that the load balancer doesn't have to be in the same compartment as the VCN or backend set. If you're not sure which compartment to use, put the load balancer in the same compartment as the VCN. For information about access control and compartments, see [Overview of the IAM Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm).
You must specify a display name for the load balancer. It does not have to be unique, and you can change it.
For information about Availability Domains, see [Regions and Availability Domains](https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). To get a list of Availability Domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API.
All Oracle Cloud Infrastructure resources, including load balancers, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console. Fore more information, see [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
After you send your request, the new object's state will temporarily be PROVISIONING. Before using the object, first make sure its state has changed to RUNNING.
When you create a load balancer, the system assigns an IP address. To get the IP address,
use the getLoadBalancer
operation.
createLoadBalancer
in interface LoadBalancer
request
- The request object containing the details to sendpublic CreatePathRouteSetResponse createPathRouteSet(CreatePathRouteSetRequest request)
LoadBalancer
Adds a path route set to a load balancer. For more information, see Managing Request Routing.
createPathRouteSet
in interface LoadBalancer
request
- The request object containing the details to sendpublic CreateRoutingPolicyResponse createRoutingPolicy(CreateRoutingPolicyRequest request)
LoadBalancer
Adds a routing policy to a load balancer. For more information, see Managing Request Routing.
createRoutingPolicy
in interface LoadBalancer
request
- The request object containing the details to sendpublic CreateRuleSetResponse createRuleSet(CreateRuleSetRequest request)
LoadBalancer
Creates a new rule set associated with the specified load balancer. For more information, see Managing Rule Sets.
createRuleSet
in interface LoadBalancer
request
- The request object containing the details to sendpublic CreateSSLCipherSuiteResponse createSSLCipherSuite(CreateSSLCipherSuiteRequest request)
LoadBalancer
Creates a custom SSL cipher suite.
createSSLCipherSuite
in interface LoadBalancer
request
- The request object containing the details to sendpublic DeleteBackendResponse deleteBackend(DeleteBackendRequest request)
LoadBalancer
Removes a backend server from a given load balancer and backend set.
deleteBackend
in interface LoadBalancer
request
- The request object containing the details to sendpublic DeleteBackendSetResponse deleteBackendSet(DeleteBackendSetRequest request)
LoadBalancer
Deletes the specified backend set. Note that deleting a backend set removes its backend servers from the load balancer.
Before you can delete a backend set, you must remove it from any active listeners.
deleteBackendSet
in interface LoadBalancer
request
- The request object containing the details to sendpublic DeleteCertificateResponse deleteCertificate(DeleteCertificateRequest request)
LoadBalancer
Deletes an SSL certificate bundle from a load balancer.
deleteCertificate
in interface LoadBalancer
request
- The request object containing the details to sendpublic DeleteHostnameResponse deleteHostname(DeleteHostnameRequest request)
LoadBalancer
Deletes a hostname resource from the specified load balancer.
deleteHostname
in interface LoadBalancer
request
- The request object containing the details to sendpublic DeleteListenerResponse deleteListener(DeleteListenerRequest request)
LoadBalancer
Deletes a listener from a load balancer.
deleteListener
in interface LoadBalancer
request
- The request object containing the details to sendpublic DeleteLoadBalancerResponse deleteLoadBalancer(DeleteLoadBalancerRequest request)
LoadBalancer
Stops a load balancer and removes it from service.
deleteLoadBalancer
in interface LoadBalancer
request
- The request object containing the details to sendpublic DeletePathRouteSetResponse deletePathRouteSet(DeletePathRouteSetRequest request)
LoadBalancer
Deletes a path route set from the specified load balancer.
To delete a path route rule from a path route set, use the updatePathRouteSet
operation.
deletePathRouteSet
in interface LoadBalancer
request
- The request object containing the details to sendpublic DeleteRoutingPolicyResponse deleteRoutingPolicy(DeleteRoutingPolicyRequest request)
LoadBalancer
Deletes a routing policy from the specified load balancer.
To delete a routing rule from a routing policy, use the updateRoutingPolicy
operation.
deleteRoutingPolicy
in interface LoadBalancer
request
- The request object containing the details to sendpublic DeleteRuleSetResponse deleteRuleSet(DeleteRuleSetRequest request)
LoadBalancer
Deletes a rule set from the specified load balancer.
To delete a rule from a rule set, use the updateRuleSet
operation.
deleteRuleSet
in interface LoadBalancer
request
- The request object containing the details to sendpublic DeleteSSLCipherSuiteResponse deleteSSLCipherSuite(DeleteSSLCipherSuiteRequest request)
LoadBalancer
Deletes an SSL cipher suite from a load balancer.
deleteSSLCipherSuite
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetBackendResponse getBackend(GetBackendRequest request)
LoadBalancer
Gets the specified backend server’s configuration information.
getBackend
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetBackendHealthResponse getBackendHealth(GetBackendHealthRequest request)
LoadBalancer
Gets the current health status of the specified backend server.
getBackendHealth
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetBackendSetResponse getBackendSet(GetBackendSetRequest request)
LoadBalancer
Gets the specified backend set’s configuration information.
getBackendSet
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetBackendSetHealthResponse getBackendSetHealth(GetBackendSetHealthRequest request)
LoadBalancer
Gets the health status for the specified backend set.
getBackendSetHealth
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetHealthCheckerResponse getHealthChecker(GetHealthCheckerRequest request)
LoadBalancer
Gets the health check policy information for a given load balancer and backend set.
getHealthChecker
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetHostnameResponse getHostname(GetHostnameRequest request)
LoadBalancer
Gets the specified hostname resource’s configuration information.
getHostname
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetLoadBalancerResponse getLoadBalancer(GetLoadBalancerRequest request)
LoadBalancer
Gets the specified load balancer’s configuration information.
getLoadBalancer
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetLoadBalancerHealthResponse getLoadBalancerHealth(GetLoadBalancerHealthRequest request)
LoadBalancer
Gets the health status for the specified load balancer.
getLoadBalancerHealth
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetPathRouteSetResponse getPathRouteSet(GetPathRouteSetRequest request)
LoadBalancer
Gets the specified path route set’s configuration information.
getPathRouteSet
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetRoutingPolicyResponse getRoutingPolicy(GetRoutingPolicyRequest request)
LoadBalancer
Gets the specified routing policy.
getRoutingPolicy
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetRuleSetResponse getRuleSet(GetRuleSetRequest request)
LoadBalancer
Gets the specified set of rules.
getRuleSet
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetSSLCipherSuiteResponse getSSLCipherSuite(GetSSLCipherSuiteRequest request)
LoadBalancer
Gets the specified SSL cipher suite’s configuration information.
getSSLCipherSuite
in interface LoadBalancer
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
LoadBalancer
Gets the details of a work request.
getWorkRequest
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListBackendSetsResponse listBackendSets(ListBackendSetsRequest request)
LoadBalancer
Lists all backend sets associated with a given load balancer.
listBackendSets
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListBackendsResponse listBackends(ListBackendsRequest request)
LoadBalancer
Lists the backend servers for a given load balancer and backend set.
listBackends
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListCertificatesResponse listCertificates(ListCertificatesRequest request)
LoadBalancer
Lists all SSL certificates bundles associated with a given load balancer.
listCertificates
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListHostnamesResponse listHostnames(ListHostnamesRequest request)
LoadBalancer
Lists all hostname resources associated with the specified load balancer.
listHostnames
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListListenerRulesResponse listListenerRules(ListListenerRulesRequest request)
LoadBalancer
Lists all of the rules from all of the rule sets associated with the specified listener. The response organizes the rules in the following order:
Access control rules * Allow method rules * Request header rules * Response header rules
listListenerRules
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListLoadBalancerHealthsResponse listLoadBalancerHealths(ListLoadBalancerHealthsRequest request)
LoadBalancer
Lists the summary health statuses for all load balancers in the specified compartment.
listLoadBalancerHealths
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListLoadBalancersResponse listLoadBalancers(ListLoadBalancersRequest request)
LoadBalancer
Lists all load balancers in the specified compartment.
listLoadBalancers
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListPathRouteSetsResponse listPathRouteSets(ListPathRouteSetsRequest request)
LoadBalancer
Lists all path route sets associated with the specified load balancer.
listPathRouteSets
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListPoliciesResponse listPolicies(ListPoliciesRequest request)
LoadBalancer
Lists the available load balancer policies.
listPolicies
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListProtocolsResponse listProtocols(ListProtocolsRequest request)
LoadBalancer
Lists all supported traffic protocols.
listProtocols
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListRoutingPoliciesResponse listRoutingPolicies(ListRoutingPoliciesRequest request)
LoadBalancer
Lists all routing policies associated with the specified load balancer.
listRoutingPolicies
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListRuleSetsResponse listRuleSets(ListRuleSetsRequest request)
LoadBalancer
Lists all rule sets associated with the specified load balancer.
listRuleSets
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListSSLCipherSuitesResponse listSSLCipherSuites(ListSSLCipherSuitesRequest request)
LoadBalancer
Lists all SSL cipher suites associated with the specified load balancer.
listSSLCipherSuites
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListShapesResponse listShapes(ListShapesRequest request)
LoadBalancer
Lists the valid load balancer shapes.
listShapes
in interface LoadBalancer
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
LoadBalancer
Lists the work requests for a given load balancer.
listWorkRequests
in interface LoadBalancer
request
- The request object containing the details to sendpublic UpdateBackendResponse updateBackend(UpdateBackendRequest request)
LoadBalancer
Updates the configuration of a backend server within the specified backend set.
updateBackend
in interface LoadBalancer
request
- The request object containing the details to sendpublic UpdateBackendSetResponse updateBackendSet(UpdateBackendSetRequest request)
LoadBalancer
Updates a backend set.
updateBackendSet
in interface LoadBalancer
request
- The request object containing the details to sendpublic UpdateHealthCheckerResponse updateHealthChecker(UpdateHealthCheckerRequest request)
LoadBalancer
Updates the health check policy for a given load balancer and backend set.
updateHealthChecker
in interface LoadBalancer
request
- The request object containing the details to sendpublic UpdateHostnameResponse updateHostname(UpdateHostnameRequest request)
LoadBalancer
Overwrites an existing hostname resource on the specified load balancer. Use this operation to change a virtual hostname.
updateHostname
in interface LoadBalancer
request
- The request object containing the details to sendpublic UpdateListenerResponse updateListener(UpdateListenerRequest request)
LoadBalancer
Updates a listener for a given load balancer.
updateListener
in interface LoadBalancer
request
- The request object containing the details to sendpublic UpdateLoadBalancerResponse updateLoadBalancer(UpdateLoadBalancerRequest request)
LoadBalancer
Updates a load balancer’s configuration.
updateLoadBalancer
in interface LoadBalancer
request
- The request object containing the details to sendpublic UpdateLoadBalancerShapeResponse updateLoadBalancerShape(UpdateLoadBalancerShapeRequest request)
LoadBalancer
Update the shape of a load balancer. The new shape can be larger or smaller compared to existing shape of the LB. The service will try to perform this operation in the least disruptive way to existing connections, but there is a possibility that they might be lost during the LB resizing process. The new shape becomes effective as soon as the related work request completes successfully, i.e. when reshaping to a larger shape, the LB will start accepting larger bandwidth and when reshaping to a smaller one, the LB will be accepting smaller bandwidth.
updateLoadBalancerShape
in interface LoadBalancer
request
- The request object containing the details to sendpublic UpdateNetworkSecurityGroupsResponse updateNetworkSecurityGroups(UpdateNetworkSecurityGroupsRequest request)
LoadBalancer
Updates the network security groups associated with the specified load balancer.
updateNetworkSecurityGroups
in interface LoadBalancer
request
- The request object containing the details to sendpublic UpdatePathRouteSetResponse updatePathRouteSet(UpdatePathRouteSetRequest request)
LoadBalancer
Overwrites an existing path route set on the specified load balancer. Use this operation to add, delete, or alter path route rules in a path route set.
To add a new path route rule to a path route set, the `pathRoutes` in the updatePathRouteSetDetails
object must include both the new path route rule to add and the existing path route rules to
retain.
updatePathRouteSet
in interface LoadBalancer
request
- The request object containing the details to sendpublic UpdateRoutingPolicyResponse updateRoutingPolicy(UpdateRoutingPolicyRequest request)
LoadBalancer
Overwrites an existing routing policy on the specified load balancer. Use this operation to add, delete, or alter routing policy rules in a routing policy.
To add a new routing rule to a routing policy, the body must include both the new routing rule to add and the existing rules to retain.
updateRoutingPolicy
in interface LoadBalancer
request
- The request object containing the details to sendpublic UpdateRuleSetResponse updateRuleSet(UpdateRuleSetRequest request)
LoadBalancer
Overwrites an existing set of rules on the specified load balancer. Use this operation to add or alter the rules in a rule set.
To add a new rule to a set, the body must include both the new rule to add and the existing rules to retain.
updateRuleSet
in interface LoadBalancer
request
- The request object containing the details to sendpublic UpdateSSLCipherSuiteResponse updateSSLCipherSuite(UpdateSSLCipherSuiteRequest request)
LoadBalancer
Updates an existing SSL cipher suite for the specified load balancer.
updateSSLCipherSuite
in interface LoadBalancer
request
- The request object containing the details to sendpublic LoadBalancerWaiters getWaiters()
LoadBalancer
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface LoadBalancer
public LoadBalancerPaginators getPaginators()
LoadBalancer
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without
having to manually deal with pagination and page tokens.
getPaginators
in interface LoadBalancer
protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
Copyright © 2016–2024. All rights reserved.