@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.
Modifier and Type | Method and 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 version
|
EvaluateMigrationResponse |
evaluateMigration(EvaluateMigrationRequest request)
Start Validate Migration job.
|
GetAdvisorReportResponse |
getAdvisorReport(GetAdvisorReportRequest request)
Get the Pre-Migration Advisor report details
|
GetConnectionResponse |
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 Outputs
|
ListJobsResponse |
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 version
|
void |
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.
|
close
void refreshClient()
Rebuilds the client from scratch. Useful to refresh certificates.
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the service.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.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”
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint
templateAbortJobResponse abortJob(AbortJobRequest request)
Aborts a Migration Job (either Evaluation or Migration).
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use AbortJob API.
AddMigrationObjectsResponse addMigrationObjects(AddMigrationObjectsRequest request)
Add excluded/included object to the list.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use AddMigrationObjects API.
ChangeConnectionCompartmentResponse changeConnectionCompartment(ChangeConnectionCompartmentRequest request)
Used to change the Database Connection compartment.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ChangeConnectionCompartment API.
ChangeMigrationCompartmentResponse changeMigrationCompartment(ChangeMigrationCompartmentRequest request)
Used to change the Migration compartment.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ChangeMigrationCompartment API.
CloneMigrationResponse cloneMigration(CloneMigrationRequest request)
Clone a configuration from an existing Migration.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use CloneMigration API.
ConnectionDiagnosticsResponse connectionDiagnostics(ConnectionDiagnosticsRequest request)
Perform connection test for a database connection.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ConnectionDiagnostics API.
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.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use CreateConnection API.
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.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use CreateMigration API.
CreateParameterFileVersionResponse createParameterFileVersion(CreateParameterFileVersionRequest request)
Creates a new version of the current parameter file contents to the specified value.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use CreateParameterFileVersion API.
DeleteConnectionResponse deleteConnection(DeleteConnectionRequest request)
Deletes the Database Connection represented by the specified connection ID.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use DeleteConnection API.
DeleteJobResponse deleteJob(DeleteJobRequest request)
Deletes the migration job represented by the given job ID.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use DeleteJob API.
DeleteMigrationResponse deleteMigration(DeleteMigrationRequest request)
Deletes the Migration represented by the specified migration ID.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use DeleteMigration API.
DeleteParameterFileVersionResponse deleteParameterFileVersion(DeleteParameterFileVersionRequest request)
Deletes the given parameter file version
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use DeleteParameterFileVersion API.
EvaluateMigrationResponse evaluateMigration(EvaluateMigrationRequest request)
Start Validate Migration job.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use EvaluateMigration API.
GetAdvisorReportResponse getAdvisorReport(GetAdvisorReportRequest request)
Get the Pre-Migration Advisor report details
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use GetAdvisorReport API.
GetConnectionResponse getConnection(GetConnectionRequest request)
Display Database Connection details.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use GetConnection API.
GetJobResponse getJob(GetJobRequest request)
Get a migration job.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use GetJob API.
GetJobOutputContentResponse getJobOutputContent(GetJobOutputContentRequest request)
Get the migration Job Output content as a String.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use GetJobOutputContent API.
GetMigrationResponse getMigration(GetMigrationRequest request)
Display Migration details.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use GetMigration API.
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.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use GetParameterFileVersion API.
GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Gets the details of a work request.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use GetWorkRequest API.
ListConnectionsResponse listConnections(ListConnectionsRequest request)
List all Database Connections.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListConnections API.
ListExcludedObjectsResponse listExcludedObjects(ListExcludedObjectsRequest request)
List the excluded database objects.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListExcludedObjects API.
ListJobOutputsResponse listJobOutputs(ListJobOutputsRequest request)
List the Job Outputs
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListJobOutputs API.
ListJobsResponse listJobs(ListJobsRequest request)
List all the names of the Migration jobs associated to the specified migration site.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListJobs API.
ListMigrationObjectTypesResponse listMigrationObjectTypes(ListMigrationObjectTypesRequest request)
Display sample object types to exclude or include for a Migration.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListMigrationObjectTypes API.
ListMigrationObjectsResponse listMigrationObjects(ListMigrationObjectsRequest request)
Display excluded/included objects.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListMigrationObjects API.
ListMigrationParametersResponse listMigrationParameters(ListMigrationParametersRequest request)
List of parameters that can be used to customize migrations.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListMigrationParameters API.
ListMigrationsResponse listMigrations(ListMigrationsRequest request)
List all Migrations.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListMigrations API.
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.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListParameterFileVersions API.
ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Gets the errors for a work request.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListWorkRequestErrors API.
ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Gets the logs for a work request.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListWorkRequestLogs API.
ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment or for a specified resource.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListWorkRequests API.
MakeCurrentParameterFileVersionResponse makeCurrentParameterFileVersion(MakeCurrentParameterFileVersionRequest request)
Make current the given parameter file version
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use MakeCurrentParameterFileVersion API.
RemoveMigrationObjectsResponse removeMigrationObjects(RemoveMigrationObjectsRequest request)
Remove excluded/included objects.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use RemoveMigrationObjects API.
ResumeJobResponse resumeJob(ResumeJobRequest request)
Resume a migration Job.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ResumeJob API.
RetrieveSupportedPhasesResponse retrieveSupportedPhases(RetrieveSupportedPhasesRequest request)
Display Migration Phases for a specified migration.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use RetrieveSupportedPhases API.
StartMigrationResponse startMigration(StartMigrationRequest request)
Start Migration job.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use StartMigration API.
SuspendJobResponse suspendJob(SuspendJobRequest request)
Place the currently executing migration Job in a Suspended State.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use SuspendJob API.
UpdateConnectionResponse updateConnection(UpdateConnectionRequest request)
Update Database Connection resource details.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use UpdateConnection API.
UpdateJobResponse updateJob(UpdateJobRequest request)
Update Migration Job resource details.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use UpdateJob API.
UpdateMigrationResponse updateMigration(UpdateMigrationRequest request)
Update Migration resource details.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use UpdateMigration API.
DatabaseMigrationWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
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.
Copyright © 2016–2024. All rights reserved.