@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public class DbManagementAsyncClient extends Object implements DbManagementAsync
Async client implementation for DbManagement service.
There are two ways to use async client:
InputStream, 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. | Modifier and Type | Class and Description |
|---|---|
static class |
DbManagementAsyncClient.Builder
Builder class for this client.
|
| Modifier and Type | Field and Description |
|---|---|
static com.oracle.bmc.Service |
SERVICE
Service instance for DbManagement.
|
| Constructor and Description |
|---|
DbManagementAsyncClient(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration,
com.oracle.bmc.http.ClientConfigurator clientConfigurator,
com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration.
|
DbManagementAsyncClient(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration,
com.oracle.bmc.http.ClientConfigurator clientConfigurator,
com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
List<com.oracle.bmc.http.ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration.
|
DbManagementAsyncClient(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration,
com.oracle.bmc.http.ClientConfigurator clientConfigurator,
com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
List<com.oracle.bmc.http.ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
DbManagementAsyncClient(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration,
com.oracle.bmc.http.ClientConfigurator clientConfigurator,
com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
Map<com.oracle.bmc.http.signing.SigningStrategy,com.oracle.bmc.http.signing.RequestSignerFactory> signingStrategyRequestSignerFactories,
List<com.oracle.bmc.http.ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
DbManagementAsyncClient(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration,
com.oracle.bmc.http.ClientConfigurator clientConfigurator,
com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
Map<com.oracle.bmc.http.signing.SigningStrategy,com.oracle.bmc.http.signing.RequestSignerFactory> signingStrategyRequestSignerFactories,
List<com.oracle.bmc.http.ClientConfigurator> additionalClientConfigurators,
String endpoint,
com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration.
|
DbManagementAsyncClient(com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
|
DbManagementAsyncClient(com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
|
DbManagementAsyncClient(com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration,
com.oracle.bmc.http.ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration.
|
| Modifier and Type | Method and Description |
|---|---|
Future<AddManagedDatabaseToManagedDatabaseGroupResponse> |
addManagedDatabaseToManagedDatabaseGroup(AddManagedDatabaseToManagedDatabaseGroupRequest request,
com.oracle.bmc.responses.AsyncHandler<AddManagedDatabaseToManagedDatabaseGroupRequest,AddManagedDatabaseToManagedDatabaseGroupResponse> handler)
Adds a Managed Database to a specific Managed Database Group.
|
static DbManagementAsyncClient.Builder |
builder()
Create a builder for this client.
|
Future<ChangeJobCompartmentResponse> |
changeJobCompartment(ChangeJobCompartmentRequest request,
com.oracle.bmc.responses.AsyncHandler<ChangeJobCompartmentRequest,ChangeJobCompartmentResponse> handler)
Moves a job.
|
Future<ChangeManagedDatabaseGroupCompartmentResponse> |
changeManagedDatabaseGroupCompartment(ChangeManagedDatabaseGroupCompartmentRequest request,
com.oracle.bmc.responses.AsyncHandler<ChangeManagedDatabaseGroupCompartmentRequest,ChangeManagedDatabaseGroupCompartmentResponse> handler)
Moves a Managed Database Group to a different compartment.
|
void |
close() |
Future<CreateJobResponse> |
createJob(CreateJobRequest request,
com.oracle.bmc.responses.AsyncHandler<CreateJobRequest,CreateJobResponse> handler)
Creates a job to be executed on a Managed Database or Managed Database Group.
|
Future<CreateManagedDatabaseGroupResponse> |
createManagedDatabaseGroup(CreateManagedDatabaseGroupRequest request,
com.oracle.bmc.responses.AsyncHandler<CreateManagedDatabaseGroupRequest,CreateManagedDatabaseGroupResponse> handler)
Creates a Managed Database Group.
|
Future<DeleteJobResponse> |
deleteJob(DeleteJobRequest request,
com.oracle.bmc.responses.AsyncHandler<DeleteJobRequest,DeleteJobResponse> handler)
Deletes the job specified by jobId.
|
Future<DeleteManagedDatabaseGroupResponse> |
deleteManagedDatabaseGroup(DeleteManagedDatabaseGroupRequest request,
com.oracle.bmc.responses.AsyncHandler<DeleteManagedDatabaseGroupRequest,DeleteManagedDatabaseGroupResponse> handler)
Deletes the Managed Database Group specified by managedDatabaseGroupId.
|
Future<GetDatabaseFleetHealthMetricsResponse> |
getDatabaseFleetHealthMetrics(GetDatabaseFleetHealthMetricsRequest request,
com.oracle.bmc.responses.AsyncHandler<GetDatabaseFleetHealthMetricsRequest,GetDatabaseFleetHealthMetricsResponse> handler)
Gets the health metrics for a fleet of databases in a compartment or in a Managed Database Group.
|
Future<GetDatabaseHomeMetricsResponse> |
getDatabaseHomeMetrics(GetDatabaseHomeMetricsRequest request,
com.oracle.bmc.responses.AsyncHandler<GetDatabaseHomeMetricsRequest,GetDatabaseHomeMetricsResponse> handler)
Gets a summary of the activity and resource usage metrics like DB Time, CPU, User I/O, Wait, Storage, and Memory for a Managed Database.
|
String |
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
|
Future<GetJobResponse> |
getJob(GetJobRequest request,
com.oracle.bmc.responses.AsyncHandler<GetJobRequest,GetJobResponse> handler)
Gets the details for the job specified by jobId.
|
Future<GetJobExecutionResponse> |
getJobExecution(GetJobExecutionRequest request,
com.oracle.bmc.responses.AsyncHandler<GetJobExecutionRequest,GetJobExecutionResponse> handler)
Gets the details for the job execution specified by jobExecutionId.
|
Future<GetJobRunResponse> |
getJobRun(GetJobRunRequest request,
com.oracle.bmc.responses.AsyncHandler<GetJobRunRequest,GetJobRunResponse> handler)
Gets the details for the job run specified by jobRunId.
|
Future<GetManagedDatabaseResponse> |
getManagedDatabase(GetManagedDatabaseRequest request,
com.oracle.bmc.responses.AsyncHandler<GetManagedDatabaseRequest,GetManagedDatabaseResponse> handler)
Gets the details for the Managed Database specified by managedDatabaseId.
|
Future<GetManagedDatabaseGroupResponse> |
getManagedDatabaseGroup(GetManagedDatabaseGroupRequest request,
com.oracle.bmc.responses.AsyncHandler<GetManagedDatabaseGroupRequest,GetManagedDatabaseGroupResponse> handler)
Gets the details for the Managed Database Group specified by managedDatabaseGroupId.
|
Future<ListJobExecutionsResponse> |
listJobExecutions(ListJobExecutionsRequest request,
com.oracle.bmc.responses.AsyncHandler<ListJobExecutionsRequest,ListJobExecutionsResponse> handler)
Gets the job execution for a specific ID or the list of job executions for a job, Managed Database or Managed Database Group
in a specific compartment.
|
Future<ListJobRunsResponse> |
listJobRuns(ListJobRunsRequest request,
com.oracle.bmc.responses.AsyncHandler<ListJobRunsRequest,ListJobRunsResponse> handler)
Gets the job run for a specific ID or the list of job runs for a job, Managed Database or Managed Database Group
in a specific compartment.
|
Future<ListJobsResponse> |
listJobs(ListJobsRequest request,
com.oracle.bmc.responses.AsyncHandler<ListJobsRequest,ListJobsResponse> handler)
Gets the job for a specific ID or the list of jobs for a Managed Database or Managed Database Group
in a specific compartment.
|
Future<ListManagedDatabaseGroupsResponse> |
listManagedDatabaseGroups(ListManagedDatabaseGroupsRequest request,
com.oracle.bmc.responses.AsyncHandler<ListManagedDatabaseGroupsRequest,ListManagedDatabaseGroupsResponse> handler)
Gets the Managed Database Group for a specific ID or the list of Managed Database Groups in
a specific compartment.
|
Future<ListManagedDatabasesResponse> |
listManagedDatabases(ListManagedDatabasesRequest request,
com.oracle.bmc.responses.AsyncHandler<ListManagedDatabasesRequest,ListManagedDatabasesResponse> handler)
Gets the Managed Database for a specific ID or the list of Managed Databases in a specific compartment.
|
Future<RemoveManagedDatabaseFromManagedDatabaseGroupResponse> |
removeManagedDatabaseFromManagedDatabaseGroup(RemoveManagedDatabaseFromManagedDatabaseGroupRequest request,
com.oracle.bmc.responses.AsyncHandler<RemoveManagedDatabaseFromManagedDatabaseGroupRequest,RemoveManagedDatabaseFromManagedDatabaseGroupResponse> handler)
Removes a Managed Database from a Managed Database Group.
|
void |
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
|
void |
setRegion(com.oracle.bmc.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’).
|
Future<UpdateManagedDatabaseGroupResponse> |
updateManagedDatabaseGroup(UpdateManagedDatabaseGroupRequest request,
com.oracle.bmc.responses.AsyncHandler<UpdateManagedDatabaseGroupRequest,UpdateManagedDatabaseGroupResponse> handler)
Updates the Managed Database Group specified by managedDatabaseGroupId.
|
public static final com.oracle.bmc.Service SERVICE
Service instance for DbManagement.
public DbManagementAsyncClient(com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
authenticationDetailsProvider - The authentication details provider, required.public DbManagementAsyncClient(com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.public DbManagementAsyncClient(com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration,
com.oracle.bmc.http.ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.public DbManagementAsyncClient(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration,
com.oracle.bmc.http.ClientConfigurator clientConfigurator,
com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.public DbManagementAsyncClient(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration,
com.oracle.bmc.http.ClientConfigurator clientConfigurator,
com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
List<com.oracle.bmc.http.ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.additionalClientConfigurators - Additional client configurators to be run after the primary configurator.public DbManagementAsyncClient(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration,
com.oracle.bmc.http.ClientConfigurator clientConfigurator,
com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
List<com.oracle.bmc.http.ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.additionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)public DbManagementAsyncClient(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration,
com.oracle.bmc.http.ClientConfigurator clientConfigurator,
com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
Map<com.oracle.bmc.http.signing.SigningStrategy,com.oracle.bmc.http.signing.RequestSignerFactory> signingStrategyRequestSignerFactories,
List<com.oracle.bmc.http.ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)public DbManagementAsyncClient(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
com.oracle.bmc.ClientConfiguration configuration,
com.oracle.bmc.http.ClientConfigurator clientConfigurator,
com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
Map<com.oracle.bmc.http.signing.SigningStrategy,com.oracle.bmc.http.signing.RequestSignerFactory> signingStrategyRequestSignerFactories,
List<com.oracle.bmc.http.ClientConfigurator> additionalClientConfigurators,
String endpoint,
com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)restClientFactoryBuilder - the builder for the RestClientFactorypublic static DbManagementAsyncClient.Builder builder()
Create a builder for this client.
public void setEndpoint(String endpoint)
DbManagementAsyncSets the endpoint to call (ex, https://www.example.com).
setEndpoint in interface DbManagementAsyncendpoint - The endpoint of the serice.public String getEndpoint()
DbManagementAsyncGets the set endpoint for REST call (ex, https://www.example.com)
getEndpoint in interface DbManagementAsyncpublic void setRegion(com.oracle.bmc.Region region)
DbManagementAsyncSets 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 DbManagementAsyncregion - The region of the service.public void setRegion(String regionId)
DbManagementAsyncSets 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 DbManagementAsyncregionId - The public region ID.public void close()
close in interface AutoCloseablepublic Future<AddManagedDatabaseToManagedDatabaseGroupResponse> addManagedDatabaseToManagedDatabaseGroup(AddManagedDatabaseToManagedDatabaseGroupRequest request, com.oracle.bmc.responses.AsyncHandler<AddManagedDatabaseToManagedDatabaseGroupRequest,AddManagedDatabaseToManagedDatabaseGroupResponse> handler)
DbManagementAsyncAdds a Managed Database to a specific Managed Database Group. After the database is added, it will be included in the management activities performed on the Managed Database Group.
addManagedDatabaseToManagedDatabaseGroup in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ChangeJobCompartmentResponse> changeJobCompartment(ChangeJobCompartmentRequest request, com.oracle.bmc.responses.AsyncHandler<ChangeJobCompartmentRequest,ChangeJobCompartmentResponse> handler)
DbManagementAsyncMoves a job.
changeJobCompartment in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ChangeManagedDatabaseGroupCompartmentResponse> changeManagedDatabaseGroupCompartment(ChangeManagedDatabaseGroupCompartmentRequest request, com.oracle.bmc.responses.AsyncHandler<ChangeManagedDatabaseGroupCompartmentRequest,ChangeManagedDatabaseGroupCompartmentResponse> handler)
DbManagementAsyncMoves a Managed Database Group to a different compartment. The destination compartment must not have a Managed Database Group with the same name.
changeManagedDatabaseGroupCompartment in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<CreateJobResponse> createJob(CreateJobRequest request, com.oracle.bmc.responses.AsyncHandler<CreateJobRequest,CreateJobResponse> handler)
DbManagementAsyncCreates a job to be executed on a Managed Database or Managed Database Group. Only one of the parameters, managedDatabaseId or managedDatabaseGroupId should be provided as input in CreateJobDetails resource in request body.
createJob in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<CreateManagedDatabaseGroupResponse> createManagedDatabaseGroup(CreateManagedDatabaseGroupRequest request, com.oracle.bmc.responses.AsyncHandler<CreateManagedDatabaseGroupRequest,CreateManagedDatabaseGroupResponse> handler)
DbManagementAsyncCreates a Managed Database Group. The group does not contain any Managed Databases when it is created, and they must be added later.
createManagedDatabaseGroup in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<DeleteJobResponse> deleteJob(DeleteJobRequest request, com.oracle.bmc.responses.AsyncHandler<DeleteJobRequest,DeleteJobResponse> handler)
DbManagementAsyncDeletes the job specified by jobId.
deleteJob in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<DeleteManagedDatabaseGroupResponse> deleteManagedDatabaseGroup(DeleteManagedDatabaseGroupRequest request, com.oracle.bmc.responses.AsyncHandler<DeleteManagedDatabaseGroupRequest,DeleteManagedDatabaseGroupResponse> handler)
DbManagementAsyncDeletes the Managed Database Group specified by managedDatabaseGroupId. If the group contains Managed Databases, then it cannot be deleted.
deleteManagedDatabaseGroup in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetDatabaseFleetHealthMetricsResponse> getDatabaseFleetHealthMetrics(GetDatabaseFleetHealthMetricsRequest request, com.oracle.bmc.responses.AsyncHandler<GetDatabaseFleetHealthMetricsRequest,GetDatabaseFleetHealthMetricsResponse> handler)
DbManagementAsyncGets the health metrics for a fleet of databases in a compartment or in a Managed Database Group. Either the CompartmentId or the ManagedDatabaseGroupId query parameters must be provided to retrieve the health metrics.
getDatabaseFleetHealthMetrics in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetDatabaseHomeMetricsResponse> getDatabaseHomeMetrics(GetDatabaseHomeMetricsRequest request, com.oracle.bmc.responses.AsyncHandler<GetDatabaseHomeMetricsRequest,GetDatabaseHomeMetricsResponse> handler)
DbManagementAsyncGets a summary of the activity and resource usage metrics like DB Time, CPU, User I/O, Wait, Storage, and Memory for a Managed Database.
getDatabaseHomeMetrics in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetJobResponse> getJob(GetJobRequest request, com.oracle.bmc.responses.AsyncHandler<GetJobRequest,GetJobResponse> handler)
DbManagementAsyncGets the details for the job specified by jobId.
getJob in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetJobExecutionResponse> getJobExecution(GetJobExecutionRequest request, com.oracle.bmc.responses.AsyncHandler<GetJobExecutionRequest,GetJobExecutionResponse> handler)
DbManagementAsyncGets the details for the job execution specified by jobExecutionId.
getJobExecution in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetJobRunResponse> getJobRun(GetJobRunRequest request, com.oracle.bmc.responses.AsyncHandler<GetJobRunRequest,GetJobRunResponse> handler)
DbManagementAsyncGets the details for the job run specified by jobRunId.
getJobRun in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetManagedDatabaseResponse> getManagedDatabase(GetManagedDatabaseRequest request, com.oracle.bmc.responses.AsyncHandler<GetManagedDatabaseRequest,GetManagedDatabaseResponse> handler)
DbManagementAsyncGets the details for the Managed Database specified by managedDatabaseId.
getManagedDatabase in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetManagedDatabaseGroupResponse> getManagedDatabaseGroup(GetManagedDatabaseGroupRequest request, com.oracle.bmc.responses.AsyncHandler<GetManagedDatabaseGroupRequest,GetManagedDatabaseGroupResponse> handler)
DbManagementAsyncGets the details for the Managed Database Group specified by managedDatabaseGroupId.
getManagedDatabaseGroup in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ListJobExecutionsResponse> listJobExecutions(ListJobExecutionsRequest request, com.oracle.bmc.responses.AsyncHandler<ListJobExecutionsRequest,ListJobExecutionsResponse> handler)
DbManagementAsyncGets the job execution for a specific ID or the list of job executions for a job, Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, jobId, managedDatabaseId or managedDatabaseGroupId should be provided. If none of these parameters is provided, all the job executions in the compartment are listed. Job executions can also be filtered based on the name and status parameters.
listJobExecutions in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ListJobRunsResponse> listJobRuns(ListJobRunsRequest request, com.oracle.bmc.responses.AsyncHandler<ListJobRunsRequest,ListJobRunsResponse> handler)
DbManagementAsyncGets the job run for a specific ID or the list of job runs for a job, Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, jobId, managedDatabaseId, or managedDatabaseGroupId should be provided. If none of these parameters is provided, all the job runs in the compartment are listed. Job runs can also be filtered based on name and runStatus parameters.
listJobRuns in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ListJobsResponse> listJobs(ListJobsRequest request, com.oracle.bmc.responses.AsyncHandler<ListJobsRequest,ListJobsResponse> handler)
DbManagementAsyncGets the job for a specific ID or the list of jobs for a Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, managedDatabaseId or managedDatabaseGroupId, should be provided. If none of these parameters is provided, all the jobs in the compartment are listed. Jobs can also be filtered based on the name and lifecycleState parameters.
listJobs in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ListManagedDatabaseGroupsResponse> listManagedDatabaseGroups(ListManagedDatabaseGroupsRequest request, com.oracle.bmc.responses.AsyncHandler<ListManagedDatabaseGroupsRequest,ListManagedDatabaseGroupsResponse> handler)
DbManagementAsyncGets the Managed Database Group for a specific ID or the list of Managed Database Groups in a specific compartment. Managed Database Groups can also be filtered based on the name parameter. Only one of the parameters, ID or name should be provided. If none of these parameters is provided, all the Managed Database Groups in the compartment are listed.
listManagedDatabaseGroups in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ListManagedDatabasesResponse> listManagedDatabases(ListManagedDatabasesRequest request, com.oracle.bmc.responses.AsyncHandler<ListManagedDatabasesRequest,ListManagedDatabasesResponse> handler)
DbManagementAsyncGets the Managed Database for a specific ID or the list of Managed Databases in a specific compartment. Managed Databases can also be filtered based on the name parameter. Only one of the parameters, ID or name should be provided. If none of these parameters is provided, all the Managed Databases in the compartment are listed.
listManagedDatabases in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<RemoveManagedDatabaseFromManagedDatabaseGroupResponse> removeManagedDatabaseFromManagedDatabaseGroup(RemoveManagedDatabaseFromManagedDatabaseGroupRequest request, com.oracle.bmc.responses.AsyncHandler<RemoveManagedDatabaseFromManagedDatabaseGroupRequest,RemoveManagedDatabaseFromManagedDatabaseGroupResponse> handler)
DbManagementAsyncRemoves a Managed Database from a Managed Database Group. Any management activities that are currently running on this database will continue to run to completion. However, any activities scheduled to run in the future will not be performed on this database.
removeManagedDatabaseFromManagedDatabaseGroup in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<UpdateManagedDatabaseGroupResponse> updateManagedDatabaseGroup(UpdateManagedDatabaseGroupRequest request, com.oracle.bmc.responses.AsyncHandler<UpdateManagedDatabaseGroupRequest,UpdateManagedDatabaseGroupResponse> handler)
DbManagementAsyncUpdates the Managed Database Group specified by managedDatabaseGroupId.
updateManagedDatabaseGroup in interface DbManagementAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Copyright © 2016–2021. All rights reserved.