Interface DatabaseMigration
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DatabaseMigrationClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20230518") public interface DatabaseMigration extends AutoCloseable
Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations.This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbortJobResponse
abortJob(AbortJobRequest request)
Aborts a Migration Job (either Evaluation or Migration).AddMigrationObjectsResponse
addMigrationObjects(AddMigrationObjectsRequest request)
Add excluded/included object to the list.ChangeConnectionCompartmentResponse
changeConnectionCompartment(ChangeConnectionCompartmentRequest request)
Used to change the Database Connection compartment.ChangeMigrationCompartmentResponse
changeMigrationCompartment(ChangeMigrationCompartmentRequest request)
Used to change the Migration compartment.CloneMigrationResponse
cloneMigration(CloneMigrationRequest request)
Clone a configuration from an existing Migration.ConnectionDiagnosticsResponse
connectionDiagnostics(ConnectionDiagnosticsRequest request)
Perform connection test for a database connection.CreateConnectionResponse
createConnection(CreateConnectionRequest request)
Create a Database Connection resource that contains the details to connect to either a Source or Target Database in the migration.CreateMigrationResponse
createMigration(CreateMigrationRequest request)
Create a Migration resource that contains all the details to perform the database migration operation, such as source and destination database details, credentials, etc.CreateParameterFileVersionResponse
createParameterFileVersion(CreateParameterFileVersionRequest request)
Creates a new version of the current parameter file contents to the specified value.DeleteConnectionResponse
deleteConnection(DeleteConnectionRequest request)
Deletes the Database Connection represented by the specified connection ID.DeleteJobResponse
deleteJob(DeleteJobRequest request)
Deletes the migration job represented by the given job ID.DeleteMigrationResponse
deleteMigration(DeleteMigrationRequest request)
Deletes the Migration represented by the specified migration ID.DeleteParameterFileVersionResponse
deleteParameterFileVersion(DeleteParameterFileVersionRequest request)
Deletes the given parameter file versionEvaluateMigrationResponse
evaluateMigration(EvaluateMigrationRequest request)
Start Validate Migration job.GetAdvisorReportResponse
getAdvisorReport(GetAdvisorReportRequest request)
Get the Pre-Migration Advisor report detailsGetConnectionResponse
getConnection(GetConnectionRequest request)
Display Database Connection details.String
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)GetJobResponse
getJob(GetJobRequest request)
Get a migration job.GetJobOutputContentResponse
getJobOutputContent(GetJobOutputContentRequest request)
Get the migration Job Output content as a String.GetMigrationResponse
getMigration(GetMigrationRequest request)
Display Migration details.DatabaseMigrationPaginators
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetParameterFileVersionResponse
getParameterFileVersion(GetParameterFileVersionRequest request)
Obtain the parameter file version contents for the specified parameter file name and the associated job.DatabaseMigrationWaiters
getWaiters()
Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponse
getWorkRequest(GetWorkRequestRequest request)
Gets the details of a work request.ListConnectionsResponse
listConnections(ListConnectionsRequest request)
List all Database Connections.ListExcludedObjectsResponse
listExcludedObjects(ListExcludedObjectsRequest request)
List the excluded database objects.ListJobOutputsResponse
listJobOutputs(ListJobOutputsRequest request)
List the Job OutputsListJobsResponse
listJobs(ListJobsRequest request)
List all the names of the Migration jobs associated to the specified migration site.ListMigrationObjectsResponse
listMigrationObjects(ListMigrationObjectsRequest request)
Display excluded/included objects.ListMigrationObjectTypesResponse
listMigrationObjectTypes(ListMigrationObjectTypesRequest request)
Display sample object types to exclude or include for a Migration.ListMigrationParametersResponse
listMigrationParameters(ListMigrationParametersRequest request)
List of parameters that can be used to customize migrations.ListMigrationsResponse
listMigrations(ListMigrationsRequest request)
List all Migrations.ListParameterFileVersionsResponse
listParameterFileVersions(ListParameterFileVersionsRequest request)
Return a list of the parameter file metadata of the migration execution of the specified job.ListWorkRequestErrorsResponse
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Gets the errors for a work request.ListWorkRequestLogsResponse
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Gets the logs for a work request.ListWorkRequestsResponse
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment or for a specified resource.MakeCurrentParameterFileVersionResponse
makeCurrentParameterFileVersion(MakeCurrentParameterFileVersionRequest request)
Make current the given parameter file versionvoid
refreshClient()
Rebuilds the client from scratch.RemoveMigrationObjectsResponse
removeMigrationObjects(RemoveMigrationObjectsRequest request)
Remove excluded/included objects.ResumeJobResponse
resumeJob(ResumeJobRequest request)
Resume a migration Job.RetrieveSupportedPhasesResponse
retrieveSupportedPhases(RetrieveSupportedPhasesRequest request)
Display Migration Phases for a specified migration.void
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).void
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).void
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).StartMigrationResponse
startMigration(StartMigrationRequest request)
Start Migration job.SuspendJobResponse
suspendJob(SuspendJobRequest request)
Place the currently executing migration Job in a Suspended State.UpdateConnectionResponse
updateConnection(UpdateConnectionRequest request)
Update Database Connection resource details.UpdateJobResponse
updateJob(UpdateJobRequest request)
Update Migration Job resource details.UpdateMigrationResponse
updateMigration(UpdateMigrationRequest request)
Update Migration resource details.void
useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint
- The endpoint of the service.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
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.- Parameters:
region
- The region of the service.
-
setRegion
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 callsetEndpoint
.- Parameters:
regionId
- The public region ID.
-
useRealmSpecificEndpointTemplate
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
- Parameters:
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint template
-
abortJob
AbortJobResponse abortJob(AbortJobRequest request)
Aborts a Migration Job (either Evaluation or Migration).- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/AbortJobExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use AbortJob API.
-
addMigrationObjects
AddMigrationObjectsResponse addMigrationObjects(AddMigrationObjectsRequest request)
Add excluded/included object to the list.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/AddMigrationObjectsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use AddMigrationObjects API.
-
changeConnectionCompartment
ChangeConnectionCompartmentResponse changeConnectionCompartment(ChangeConnectionCompartmentRequest request)
Used to change the Database Connection compartment.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ChangeConnectionCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeConnectionCompartment API.
-
changeMigrationCompartment
ChangeMigrationCompartmentResponse changeMigrationCompartment(ChangeMigrationCompartmentRequest request)
Used to change the Migration compartment.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ChangeMigrationCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeMigrationCompartment API.
-
cloneMigration
CloneMigrationResponse cloneMigration(CloneMigrationRequest request)
Clone a configuration from an existing Migration.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/CloneMigrationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CloneMigration API.
-
connectionDiagnostics
ConnectionDiagnosticsResponse connectionDiagnostics(ConnectionDiagnosticsRequest request)
Perform connection test for a database connection.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ConnectionDiagnosticsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ConnectionDiagnostics API.
-
createConnection
CreateConnectionResponse createConnection(CreateConnectionRequest request)
Create a Database Connection resource that contains the details to connect to either a Source or Target Database in the migration.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/CreateConnectionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateConnection API.
-
createMigration
CreateMigrationResponse createMigration(CreateMigrationRequest request)
Create a Migration resource that contains all the details to perform the database migration operation, such as source and destination database details, credentials, etc.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/CreateMigrationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateMigration API.
-
createParameterFileVersion
CreateParameterFileVersionResponse createParameterFileVersion(CreateParameterFileVersionRequest request)
Creates a new version of the current parameter file contents to the specified value.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/CreateParameterFileVersionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateParameterFileVersion API.
-
deleteConnection
DeleteConnectionResponse deleteConnection(DeleteConnectionRequest request)
Deletes the Database Connection represented by the specified connection ID.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/DeleteConnectionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteConnection API.
-
deleteJob
DeleteJobResponse deleteJob(DeleteJobRequest request)
Deletes the migration job represented by the given job ID.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/DeleteJobExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteJob API.
-
deleteMigration
DeleteMigrationResponse deleteMigration(DeleteMigrationRequest request)
Deletes the Migration represented by the specified migration ID.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/DeleteMigrationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteMigration API.
-
deleteParameterFileVersion
DeleteParameterFileVersionResponse deleteParameterFileVersion(DeleteParameterFileVersionRequest request)
Deletes the given parameter file version- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/DeleteParameterFileVersionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteParameterFileVersion API.
-
evaluateMigration
EvaluateMigrationResponse evaluateMigration(EvaluateMigrationRequest request)
Start Validate Migration job.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/EvaluateMigrationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use EvaluateMigration API.
-
getAdvisorReport
GetAdvisorReportResponse getAdvisorReport(GetAdvisorReportRequest request)
Get the Pre-Migration Advisor report details- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/GetAdvisorReportExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetAdvisorReport API.
-
getConnection
GetConnectionResponse getConnection(GetConnectionRequest request)
Display Database Connection details.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/GetConnectionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetConnection API.
-
getJob
GetJobResponse getJob(GetJobRequest request)
Get a migration job.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/GetJobExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetJob API.
-
getJobOutputContent
GetJobOutputContentResponse getJobOutputContent(GetJobOutputContentRequest request)
Get the migration Job Output content as a String.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/GetJobOutputContentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetJobOutputContent API.
-
getMigration
GetMigrationResponse getMigration(GetMigrationRequest request)
Display Migration details.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/GetMigrationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetMigration API.
-
getParameterFileVersion
GetParameterFileVersionResponse getParameterFileVersion(GetParameterFileVersionRequest request)
Obtain the parameter file version contents for the specified parameter file name and the associated job.This operation will be allowed only if the job is certain acceptable lifecycle states.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/GetParameterFileVersionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetParameterFileVersion API.
-
getWorkRequest
GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Gets the details of a work request.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API.
-
listConnections
ListConnectionsResponse listConnections(ListConnectionsRequest request)
List all Database Connections.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ListConnectionsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListConnections API.
-
listExcludedObjects
ListExcludedObjectsResponse listExcludedObjects(ListExcludedObjectsRequest request)
List the excluded database objects.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ListExcludedObjectsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListExcludedObjects API.
-
listJobOutputs
ListJobOutputsResponse listJobOutputs(ListJobOutputsRequest request)
List the Job Outputs- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ListJobOutputsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListJobOutputs API.
-
listJobs
ListJobsResponse listJobs(ListJobsRequest request)
List all the names of the Migration jobs associated to the specified migration site.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ListJobsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListJobs API.
-
listMigrationObjectTypes
ListMigrationObjectTypesResponse listMigrationObjectTypes(ListMigrationObjectTypesRequest request)
Display sample object types to exclude or include for a Migration.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ListMigrationObjectTypesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListMigrationObjectTypes API.
-
listMigrationObjects
ListMigrationObjectsResponse listMigrationObjects(ListMigrationObjectsRequest request)
Display excluded/included objects.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ListMigrationObjectsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListMigrationObjects API.
-
listMigrationParameters
ListMigrationParametersResponse listMigrationParameters(ListMigrationParametersRequest request)
List of parameters that can be used to customize migrations.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ListMigrationParametersExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListMigrationParameters API.
-
listMigrations
ListMigrationsResponse listMigrations(ListMigrationsRequest request)
List all Migrations.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ListMigrationsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListMigrations API.
-
listParameterFileVersions
ListParameterFileVersionsResponse listParameterFileVersions(ListParameterFileVersionsRequest request)
Return a list of the parameter file metadata of the migration execution of the specified job.This will only be acceptable if the job is in particular state. It will be accessible if the job is in the FAILED, PAUSED or SUSPENDED state.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ListParameterFileVersionsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListParameterFileVersions API.
-
listWorkRequestErrors
ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Gets the errors for a work request.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API.
-
listWorkRequestLogs
ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Gets the logs for a work request.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API.
-
listWorkRequests
ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment or for a specified resource.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API.
-
makeCurrentParameterFileVersion
MakeCurrentParameterFileVersionResponse makeCurrentParameterFileVersion(MakeCurrentParameterFileVersionRequest request)
Make current the given parameter file version- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/MakeCurrentParameterFileVersionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use MakeCurrentParameterFileVersion API.
-
removeMigrationObjects
RemoveMigrationObjectsResponse removeMigrationObjects(RemoveMigrationObjectsRequest request)
Remove excluded/included objects.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/RemoveMigrationObjectsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RemoveMigrationObjects API.
-
resumeJob
ResumeJobResponse resumeJob(ResumeJobRequest request)
Resume a migration Job.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/ResumeJobExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ResumeJob API.
-
retrieveSupportedPhases
RetrieveSupportedPhasesResponse retrieveSupportedPhases(RetrieveSupportedPhasesRequest request)
Display Migration Phases for a specified migration.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/RetrieveSupportedPhasesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RetrieveSupportedPhases API.
-
startMigration
StartMigrationResponse startMigration(StartMigrationRequest request)
Start Migration job.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/StartMigrationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use StartMigration API.
-
suspendJob
SuspendJobResponse suspendJob(SuspendJobRequest request)
Place the currently executing migration Job in a Suspended State.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/SuspendJobExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use SuspendJob API.
-
updateConnection
UpdateConnectionResponse updateConnection(UpdateConnectionRequest request)
Update Database Connection resource details.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/UpdateConnectionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateConnection API.
-
updateJob
UpdateJobResponse updateJob(UpdateJobRequest request)
Update Migration Job resource details.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/UpdateJobExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateJob API.
-
updateMigration
UpdateMigrationResponse updateMigration(UpdateMigrationRequest request)
Update Migration resource details.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemigration/UpdateMigrationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateMigration API.
-
getWaiters
DatabaseMigrationWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
-
getPaginators
DatabaseMigrationPaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterable
interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Returns:
- The service paginators.
-
-