@Generated(value="OracleSDKGenerator", comments="API Version: 20210929") public interface DatabaseMigrationAsync extends AutoCloseable
Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations.
close
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the serice.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.
region
- The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call
setRegion
.
If no known Region could be determined, it will create an endpoint based on the
default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
regionId
- The public region ID.Future<AbortJobResponse> abortJob(AbortJobRequest request, AsyncHandler<AbortJobRequest,AbortJobResponse> handler)
Aborts a Migration Job (either Evaluation or Migration).
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<AddMigrationObjectsResponse> addMigrationObjects(AddMigrationObjectsRequest request, AsyncHandler<AddMigrationObjectsRequest,AddMigrationObjectsResponse> handler)
Add excluded/included object to the list.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeAgentCompartmentResponse> changeAgentCompartment(ChangeAgentCompartmentRequest request, AsyncHandler<ChangeAgentCompartmentRequest,ChangeAgentCompartmentResponse> handler)
Used to configure an ODMS Agent Compartment ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeConnectionCompartmentResponse> changeConnectionCompartment(ChangeConnectionCompartmentRequest request, AsyncHandler<ChangeConnectionCompartmentRequest,ChangeConnectionCompartmentResponse> handler)
Used to change the Database Connection compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeMigrationCompartmentResponse> changeMigrationCompartment(ChangeMigrationCompartmentRequest request, AsyncHandler<ChangeMigrationCompartmentRequest,ChangeMigrationCompartmentResponse> handler)
Used to change the Migration compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CloneMigrationResponse> cloneMigration(CloneMigrationRequest request, AsyncHandler<CloneMigrationRequest,CloneMigrationResponse> handler)
Clone a configuration from an existing Migration.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateConnectionResponse> createConnection(CreateConnectionRequest request, AsyncHandler<CreateConnectionRequest,CreateConnectionResponse> handler)
Create a Database Connection resource that contains the details to connect to either a Source or Target Database in the migration.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateMigrationResponse> createMigration(CreateMigrationRequest request, AsyncHandler<CreateMigrationRequest,CreateMigrationResponse> handler)
Create a Migration resource that contains all the details to perform the database migration operation, such as source and destination database details, credentials, etc.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteAgentResponse> deleteAgent(DeleteAgentRequest request, AsyncHandler<DeleteAgentRequest,DeleteAgentResponse> handler)
Delete the ODMS Agent represented by the specified ODMS Agent ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteConnectionResponse> deleteConnection(DeleteConnectionRequest request, AsyncHandler<DeleteConnectionRequest,DeleteConnectionResponse> handler)
Deletes the Database Connection represented by the specified connection ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteJobResponse> deleteJob(DeleteJobRequest request, AsyncHandler<DeleteJobRequest,DeleteJobResponse> handler)
Deletes the migration job represented by the given job ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteMigrationResponse> deleteMigration(DeleteMigrationRequest request, AsyncHandler<DeleteMigrationRequest,DeleteMigrationResponse> handler)
Deletes the Migration represented by the specified migration ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<EvaluateMigrationResponse> evaluateMigration(EvaluateMigrationRequest request, AsyncHandler<EvaluateMigrationRequest,EvaluateMigrationResponse> handler)
Start Validate Migration job.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetAdvisorReportResponse> getAdvisorReport(GetAdvisorReportRequest request, AsyncHandler<GetAdvisorReportRequest,GetAdvisorReportResponse> handler)
Get the Pre-Migration Advisor report details
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetAgentResponse> getAgent(GetAgentRequest request, AsyncHandler<GetAgentRequest,GetAgentResponse> handler)
Display the ODMS Agent configuration.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetConnectionResponse> getConnection(GetConnectionRequest request, AsyncHandler<GetConnectionRequest,GetConnectionResponse> handler)
Display Database Connection details.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetJobResponse> getJob(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResponse> handler)
Get a migration job.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetJobOutputContentResponse> getJobOutputContent(GetJobOutputContentRequest request, AsyncHandler<GetJobOutputContentRequest,GetJobOutputContentResponse> handler)
Get the migration Job Output content as a String.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetMigrationResponse> getMigration(GetMigrationRequest request, AsyncHandler<GetMigrationRequest,GetMigrationResponse> handler)
Display Migration details.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Gets the details of a work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListAgentImagesResponse> listAgentImages(ListAgentImagesRequest request, AsyncHandler<ListAgentImagesRequest,ListAgentImagesResponse> handler)
Get details of the ODMS Agent Images available to install on-premises.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListAgentsResponse> listAgents(ListAgentsRequest request, AsyncHandler<ListAgentsRequest,ListAgentsResponse> handler)
Display the name of all the existing ODMS Agents in the server.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListConnectionsResponse> listConnections(ListConnectionsRequest request, AsyncHandler<ListConnectionsRequest,ListConnectionsResponse> handler)
List all Database Connections.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListExcludedObjectsResponse> listExcludedObjects(ListExcludedObjectsRequest request, AsyncHandler<ListExcludedObjectsRequest,ListExcludedObjectsResponse> handler)
List the excluded database objects.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListJobOutputsResponse> listJobOutputs(ListJobOutputsRequest request, AsyncHandler<ListJobOutputsRequest,ListJobOutputsResponse> handler)
List the Job Outputs
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListJobsResponse> listJobs(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResponse> handler)
List all the names of the Migration jobs associated to the specified migration site.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListMigrationObjectTypesResponse> listMigrationObjectTypes(ListMigrationObjectTypesRequest request, AsyncHandler<ListMigrationObjectTypesRequest,ListMigrationObjectTypesResponse> handler)
Display sample object types to exclude or include for a Migration.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListMigrationObjectsResponse> listMigrationObjects(ListMigrationObjectsRequest request, AsyncHandler<ListMigrationObjectsRequest,ListMigrationObjectsResponse> handler)
Display excluded/included objects.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListMigrationsResponse> listMigrations(ListMigrationsRequest request, AsyncHandler<ListMigrationsRequest,ListMigrationsResponse> handler)
List all Migrations.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Gets the errors for a work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Gets the logs for a work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Lists the work requests in a compartment or for a specified resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<RemoveMigrationObjectsResponse> removeMigrationObjects(RemoveMigrationObjectsRequest request, AsyncHandler<RemoveMigrationObjectsRequest,RemoveMigrationObjectsResponse> handler)
Remove excluded/included objects.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ResumeJobResponse> resumeJob(ResumeJobRequest request, AsyncHandler<ResumeJobRequest,ResumeJobResponse> handler)
Resume a migration Job.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<RetrieveSupportedPhasesResponse> retrieveSupportedPhases(RetrieveSupportedPhasesRequest request, AsyncHandler<RetrieveSupportedPhasesRequest,RetrieveSupportedPhasesResponse> handler)
Display Migration Phases for a specified migration.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<StartMigrationResponse> startMigration(StartMigrationRequest request, AsyncHandler<StartMigrationRequest,StartMigrationResponse> handler)
Start Migration job.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateAgentResponse> updateAgent(UpdateAgentRequest request, AsyncHandler<UpdateAgentRequest,UpdateAgentResponse> handler)
Modifies the ODMS Agent represented by the given ODMS Agent ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateConnectionResponse> updateConnection(UpdateConnectionRequest request, AsyncHandler<UpdateConnectionRequest,UpdateConnectionResponse> handler)
Update Database Connection resource details.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateJobResponse> updateJob(UpdateJobRequest request, AsyncHandler<UpdateJobRequest,UpdateJobResponse> handler)
Update Migration Job resource details.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateMigrationResponse> updateMigration(UpdateMigrationRequest request, AsyncHandler<UpdateMigrationRequest,UpdateMigrationResponse> handler)
Update Migration resource details.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Copyright © 2016–2022. All rights reserved.