Class WeblogicManagementServiceAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.wlms.WeblogicManagementServiceAsyncClient
-
- All Implemented Interfaces:
WeblogicManagementServiceAsync,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20241101") public class WeblogicManagementServiceAsyncClient extends BaseAsyncClient implements WeblogicManagementServiceAsyncAsync client implementation for WeblogicManagementService service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response to the call is anInputStream, like getObject Api in object storage service, developers need to process the stream in AsyncHandler, and not anywhere else, because the stream will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine whether or not the request was completed via Future.isDone/isCancelled.
Please refer to https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWeblogicManagementServiceAsyncClient.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 WeblogicManagementService.
-
Constructor Summary
Constructors Constructor Description WeblogicManagementServiceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.WeblogicManagementServiceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.WeblogicManagementServiceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.WeblogicManagementServiceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.WeblogicManagementServiceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.WeblogicManagementServiceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.WeblogicManagementServiceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
-
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.wlms.WeblogicManagementServiceAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
WeblogicManagementServiceAsyncClient
@Deprecated public WeblogicManagementServiceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeWeblogicManagementServiceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
WeblogicManagementServiceAsyncClient
@Deprecated public WeblogicManagementServiceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeWeblogicManagementServiceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
WeblogicManagementServiceAsyncClient
@Deprecated public WeblogicManagementServiceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeWeblogicManagementServiceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
WeblogicManagementServiceAsyncClient
@Deprecated public WeblogicManagementServiceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeWeblogicManagementServiceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
WeblogicManagementServiceAsyncClient
@Deprecated public WeblogicManagementServiceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeWeblogicManagementServiceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
WeblogicManagementServiceAsyncClient
@Deprecated public WeblogicManagementServiceAsyncClient(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 (seeWeblogicManagementServiceAsyncClient.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)
-
WeblogicManagementServiceAsyncClient
@Deprecated public WeblogicManagementServiceAsyncClient(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 (seeWeblogicManagementServiceAsyncClient.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
-
-
Method Detail
-
builder
public static WeblogicManagementServiceAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:WeblogicManagementServiceAsyncSets 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 interfaceWeblogicManagementServiceAsync- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:WeblogicManagementServiceAsyncSets 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 interfaceWeblogicManagementServiceAsync- Parameters:
regionId- The public region ID.
-
changeWlsDomainCompartment
public Future<ChangeWlsDomainCompartmentResponse> changeWlsDomainCompartment(ChangeWlsDomainCompartmentRequest request, AsyncHandler<ChangeWlsDomainCompartmentRequest,ChangeWlsDomainCompartmentResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncMoves a WebLogic domain into a different compartment within the same tenancy.- Specified by:
changeWlsDomainCompartmentin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createAgreementRecord
public Future<CreateAgreementRecordResponse> createAgreementRecord(CreateAgreementRecordRequest request, AsyncHandler<CreateAgreementRecordRequest,CreateAgreementRecordResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncCreates a terms of use agreement record for a WebLogic domain.- Specified by:
createAgreementRecordin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteWlsDomain
public Future<DeleteWlsDomainResponse> deleteWlsDomain(DeleteWlsDomainRequest request, AsyncHandler<DeleteWlsDomainRequest,DeleteWlsDomainResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncDelete the WebLogic domain.- Specified by:
deleteWlsDomainin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getAgreement
public Future<GetAgreementResponse> getAgreement(GetAgreementRequest request, AsyncHandler<GetAgreementRequest,GetAgreementResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncReturns the terms and conditions of use agreement.- Specified by:
getAgreementin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getManagedInstance
public Future<GetManagedInstanceResponse> getManagedInstance(GetManagedInstanceRequest request, AsyncHandler<GetManagedInstanceRequest,GetManagedInstanceResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets information about the specified managed instance.- Specified by:
getManagedInstancein interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getManagedInstanceServer
public Future<GetManagedInstanceServerResponse> getManagedInstanceServer(GetManagedInstanceServerRequest request, AsyncHandler<GetManagedInstanceServerRequest,GetManagedInstanceServerResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets information about the specified server in a managed instance.- Specified by:
getManagedInstanceServerin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWlsDomain
public Future<GetWlsDomainResponse> getWlsDomain(GetWlsDomainRequest request, AsyncHandler<GetWlsDomainRequest,GetWlsDomainResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets a specific WebLogic domain.- Specified by:
getWlsDomainin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWlsDomainCredential
public Future<GetWlsDomainCredentialResponse> getWlsDomainCredential(GetWlsDomainCredentialRequest request, AsyncHandler<GetWlsDomainCredentialRequest,GetWlsDomainCredentialResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets WebLogic and Node Manager credentials of a specific WebLogic domain.- Specified by:
getWlsDomainCredentialin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWlsDomainServer
public Future<GetWlsDomainServerResponse> getWlsDomainServer(GetWlsDomainServerRequest request, AsyncHandler<GetWlsDomainServerRequest,GetWlsDomainServerResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets information about the specified server in a WebLogic domain.- Specified by:
getWlsDomainServerin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWlsDomainServerBackup
public Future<GetWlsDomainServerBackupResponse> getWlsDomainServerBackup(GetWlsDomainServerBackupRequest request, AsyncHandler<GetWlsDomainServerBackupRequest,GetWlsDomainServerBackupResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGet details of specific backup for the WebLogic Domain.- Specified by:
getWlsDomainServerBackupin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWlsDomainServerBackupContent
public Future<GetWlsDomainServerBackupContentResponse> getWlsDomainServerBackupContent(GetWlsDomainServerBackupContentRequest request, AsyncHandler<GetWlsDomainServerBackupContentRequest,GetWlsDomainServerBackupContentResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGet details of specific backup for the WebLogic Domain.- Specified by:
getWlsDomainServerBackupContentin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWorkRequest
public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets the details of a work request.- Specified by:
getWorkRequestin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
installLatestPatchesOnWlsDomain
public Future<InstallLatestPatchesOnWlsDomainResponse> installLatestPatchesOnWlsDomain(InstallLatestPatchesOnWlsDomainRequest request, AsyncHandler<InstallLatestPatchesOnWlsDomainRequest,InstallLatestPatchesOnWlsDomainResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncInstall the latest patches on a WebLogic domain.- Specified by:
installLatestPatchesOnWlsDomainin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listAgreementRecords
public Future<ListAgreementRecordsResponse> listAgreementRecords(ListAgreementRecordsRequest request, AsyncHandler<ListAgreementRecordsRequest,ListAgreementRecordsResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncList the terms of use agreement record for the WebLogic domain.- Specified by:
listAgreementRecordsin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listApplicablePatches
public Future<ListApplicablePatchesResponse> listApplicablePatches(ListApplicablePatchesRequest request, AsyncHandler<ListApplicablePatchesRequest,ListApplicablePatchesResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets the latest patches that can be installed to the WebLogic domains.- Specified by:
listApplicablePatchesin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listManagedInstanceScanResults
public Future<ListManagedInstanceScanResultsResponse> listManagedInstanceScanResults(ListManagedInstanceScanResultsRequest request, AsyncHandler<ListManagedInstanceScanResultsRequest,ListManagedInstanceScanResultsResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets all the scan results for all WebLogic servers in the managed instance.- Specified by:
listManagedInstanceScanResultsin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listManagedInstanceServerInstalledPatches
public Future<ListManagedInstanceServerInstalledPatchesResponse> listManagedInstanceServerInstalledPatches(ListManagedInstanceServerInstalledPatchesRequest request, AsyncHandler<ListManagedInstanceServerInstalledPatchesRequest,ListManagedInstanceServerInstalledPatchesResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets a list of installed patches on a server in a managed instance.- Specified by:
listManagedInstanceServerInstalledPatchesin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listManagedInstanceServers
public Future<ListManagedInstanceServersResponse> listManagedInstanceServers(ListManagedInstanceServersRequest request, AsyncHandler<ListManagedInstanceServersRequest,ListManagedInstanceServersResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets list of servers in a specific managed instance.- Specified by:
listManagedInstanceServersin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listManagedInstances
public Future<ListManagedInstancesResponse> listManagedInstances(ListManagedInstancesRequest request, AsyncHandler<ListManagedInstancesRequest,ListManagedInstancesResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncLists managed instances that match the specified compartment or managed instance OCID.Filter the list against a variety of criteria including but not limited to its name, status and compartment.
- Specified by:
listManagedInstancesin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listRequiredPolicies
public Future<ListRequiredPoliciesResponse> listRequiredPolicies(ListRequiredPoliciesRequest request, AsyncHandler<ListRequiredPoliciesRequest,ListRequiredPoliciesResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets all the required policies for the WebLogic Management Service.- Specified by:
listRequiredPoliciesin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWlsDomainCredentials
public Future<ListWlsDomainCredentialsResponse> listWlsDomainCredentials(ListWlsDomainCredentialsRequest request, AsyncHandler<ListWlsDomainCredentialsRequest,ListWlsDomainCredentialsResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets domain credentials of a specific domain.- Specified by:
listWlsDomainCredentialsin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWlsDomainScanResults
public Future<ListWlsDomainScanResultsResponse> listWlsDomainScanResults(ListWlsDomainScanResultsRequest request, AsyncHandler<ListWlsDomainScanResultsRequest,ListWlsDomainScanResultsResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGet all scan results for a server in a specific WebLogic domain.- Specified by:
listWlsDomainScanResultsin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWlsDomainServerBackups
public Future<ListWlsDomainServerBackupsResponse> listWlsDomainServerBackups(ListWlsDomainServerBackupsRequest request, AsyncHandler<ListWlsDomainServerBackupsRequest,ListWlsDomainServerBackupsResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets a list of backups for the server of a specific WebLogic Domain.- Specified by:
listWlsDomainServerBackupsin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWlsDomainServerInstalledPatches
public Future<ListWlsDomainServerInstalledPatchesResponse> listWlsDomainServerInstalledPatches(ListWlsDomainServerInstalledPatchesRequest request, AsyncHandler<ListWlsDomainServerInstalledPatchesRequest,ListWlsDomainServerInstalledPatchesResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets a list of installed patches on a server for a domain.- Specified by:
listWlsDomainServerInstalledPatchesin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWlsDomainServers
public Future<ListWlsDomainServersResponse> listWlsDomainServers(ListWlsDomainServersRequest request, AsyncHandler<ListWlsDomainServersRequest,ListWlsDomainServersResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets list of servers in a specific WebLogic domain.- Specified by:
listWlsDomainServersin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWlsDomains
public Future<ListWlsDomainsResponse> listWlsDomains(ListWlsDomainsRequest request, AsyncHandler<ListWlsDomainsRequest,ListWlsDomainsResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets all WebLogic domains in a given compartment.- Specified by:
listWlsDomainsin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWlsDomainsSharingMiddlewares
public Future<ListWlsDomainsSharingMiddlewaresResponse> listWlsDomainsSharingMiddlewares(ListWlsDomainsSharingMiddlewaresRequest request, AsyncHandler<ListWlsDomainsSharingMiddlewaresRequest,ListWlsDomainsSharingMiddlewaresResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets a list of WebLogic domains that share middleware with a specific domain.- Specified by:
listWlsDomainsSharingMiddlewaresin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestErrors
public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncLists the errors for a work request.- Specified by:
listWorkRequestErrorsin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestLogs
public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncLists the logs for a work request.- Specified by:
listWorkRequestLogsin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequests
public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
restartWlsDomain
public Future<RestartWlsDomainResponse> restartWlsDomain(RestartWlsDomainRequest request, AsyncHandler<RestartWlsDomainRequest,RestartWlsDomainResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncRestarts all the servers in the WebLogic domains.Servers that are already stopped are ignored.
- Specified by:
restartWlsDomainin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
restoreWlsDomain
public Future<RestoreWlsDomainResponse> restoreWlsDomain(RestoreWlsDomainRequest request, AsyncHandler<RestoreWlsDomainRequest,RestoreWlsDomainResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncRestore a domain from backup.If the backup contains a MIDDLEWARE asset, then the middleware of the domain, including patches, will be restored.
- Specified by:
restoreWlsDomainin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
scanManagedInstance
public Future<ScanManagedInstanceResponse> scanManagedInstance(ScanManagedInstanceRequest request, AsyncHandler<ScanManagedInstanceRequest,ScanManagedInstanceResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncScans a managed instance for WebLogic domains.- Specified by:
scanManagedInstancein interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
scanWlsDomain
public Future<ScanWlsDomainResponse> scanWlsDomain(ScanWlsDomainRequest request, AsyncHandler<ScanWlsDomainRequest,ScanWlsDomainResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncRuns a series of checks in the WebLogic domain.- Specified by:
scanWlsDomainin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
setRestartOrder
public Future<SetRestartOrderResponse> setRestartOrder(SetRestartOrderRequest request, AsyncHandler<SetRestartOrderRequest,SetRestartOrderResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncSets restart order of servers in specific WebLogic domain.- Specified by:
setRestartOrderin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
startWlsDomain
public Future<StartWlsDomainResponse> startWlsDomain(StartWlsDomainRequest request, AsyncHandler<StartWlsDomainRequest,StartWlsDomainResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncStarts all the servers in the WebLogic domain.Servers that are already started are ignored.
- Specified by:
startWlsDomainin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
stopWlsDomain
public Future<StopWlsDomainResponse> stopWlsDomain(StopWlsDomainRequest request, AsyncHandler<StopWlsDomainRequest,StopWlsDomainResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncStops all the servers in the WebLogic domain.Servers that are already stopped are ignored.
- Specified by:
stopWlsDomainin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
summarizeResourceInventory
public Future<SummarizeResourceInventoryResponse> summarizeResourceInventory(SummarizeResourceInventoryRequest request, AsyncHandler<SummarizeResourceInventoryRequest,SummarizeResourceInventoryResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncGets the data to be shown in the Overview page of the service in a given compartment.- Specified by:
summarizeResourceInventoryin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateManagedInstance
public Future<UpdateManagedInstanceResponse> updateManagedInstance(UpdateManagedInstanceRequest request, AsyncHandler<UpdateManagedInstanceRequest,UpdateManagedInstanceResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncUpdates the specified managed instance information, such as discovery interval and domain search path.- Specified by:
updateManagedInstancein interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateWlsDomain
public Future<UpdateWlsDomainResponse> updateWlsDomain(UpdateWlsDomainRequest request, AsyncHandler<UpdateWlsDomainRequest,UpdateWlsDomainResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncUpdates a specific WebLogic domain.- Specified by:
updateWlsDomainin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateWlsDomainCredential
public Future<UpdateWlsDomainCredentialResponse> updateWlsDomainCredential(UpdateWlsDomainCredentialRequest request, AsyncHandler<UpdateWlsDomainCredentialRequest,UpdateWlsDomainCredentialResponse> handler)
Description copied from interface:WeblogicManagementServiceAsyncUpdates WebLogic domain credentials of specific WebLogic domain.- Specified by:
updateWlsDomainCredentialin interfaceWeblogicManagementServiceAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
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
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
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()
-
getMinimumClientCommonLibraryVersionFromClient
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
-
clientCall
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
-
-