Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Migration.Builder |
advisorSettings(AdvisorSettings advisorSettings) |
Migration.Builder |
agentId(String agentId)
The OCID of the registered on-premises ODMS Agent.
|
Migration |
build() |
Migration.Builder |
compartmentId(String compartmentId)
OCID of the compartment
|
Migration.Builder |
copy(Migration model) |
Migration.Builder |
credentialsSecretId(String credentialsSecretId)
OCID of the Secret in the OCI vault containing the Migration credentials.
|
Migration.Builder |
datapumpSettings(DataPumpSettings datapumpSettings) |
Migration.Builder |
dataTransferMediumDetails(DataTransferMediumDetails dataTransferMediumDetails) |
Migration.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Migration.Builder |
displayName(String displayName)
Migration Display Name
|
Migration.Builder |
dumpTransferDetails(DumpTransferDetails dumpTransferDetails) |
Migration.Builder |
excludeObjects(List<DatabaseObject> excludeObjects)
Database objects to exclude from migration.
|
Migration.Builder |
executingJobId(String executingJobId)
OCID of the current ODMS Job in execution for the Migration, if any.
|
Migration.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Migration.Builder |
goldenGateDetails(GoldenGateDetails goldenGateDetails) |
Migration.Builder |
id(String id)
The OCID of the resource
|
Migration.Builder |
includeObjects(List<DatabaseObject> includeObjects)
Database objects to include from migration.
|
Migration.Builder |
lifecycleDetails(MigrationStatus lifecycleDetails)
Additional status related to the execution and current state of the Migration.
|
Migration.Builder |
lifecycleState(MigrationLifecycleStates lifecycleState)
The current state of the Migration resource.
|
Migration.Builder |
sourceContainerDatabaseConnectionId(String sourceContainerDatabaseConnectionId)
The OCID of the Source Container Database Connection.
|
Migration.Builder |
sourceDatabaseConnectionId(String sourceDatabaseConnectionId)
The OCID of the Source Database Connection.
|
Migration.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Migration.Builder |
targetDatabaseConnectionId(String targetDatabaseConnectionId)
The OCID of the Target Database Connection.
|
Migration.Builder |
timeCreated(Date timeCreated)
The time the Migration was created.
|
Migration.Builder |
timeLastMigration(Date timeLastMigration)
The time of last Migration.
|
Migration.Builder |
timeUpdated(Date timeUpdated)
The time of the last Migration details update.
|
Migration.Builder |
type(MigrationTypes type)
Migration type.
|
Migration.Builder |
vaultDetails(VaultDetails vaultDetails) |
Migration.Builder |
waitAfter(OdmsJobPhases waitAfter)
Name of a migration phase.
|
public Migration.Builder id(String id)
The OCID of the resource
id
- the value to setpublic Migration.Builder displayName(String displayName)
Migration Display Name
displayName
- the value to setpublic Migration.Builder compartmentId(String compartmentId)
OCID of the compartment
compartmentId
- the value to setpublic Migration.Builder type(MigrationTypes type)
Migration type.
type
- the value to setpublic Migration.Builder waitAfter(OdmsJobPhases waitAfter)
Name of a migration phase. The Job will wait after executing this phase until the Resume Job endpoint is called.
waitAfter
- the value to setpublic Migration.Builder agentId(String agentId)
The OCID of the registered on-premises ODMS Agent. Only valid for Offline Migrations.
agentId
- the value to setpublic Migration.Builder credentialsSecretId(String credentialsSecretId)
OCID of the Secret in the OCI vault containing the Migration credentials. Used to store GoldenGate administrator user credentials.
credentialsSecretId
- the value to setpublic Migration.Builder sourceDatabaseConnectionId(String sourceDatabaseConnectionId)
The OCID of the Source Database Connection.
sourceDatabaseConnectionId
- the value to setpublic Migration.Builder sourceContainerDatabaseConnectionId(String sourceContainerDatabaseConnectionId)
The OCID of the Source Container Database Connection.
sourceContainerDatabaseConnectionId
- the value to setpublic Migration.Builder targetDatabaseConnectionId(String targetDatabaseConnectionId)
The OCID of the Target Database Connection.
targetDatabaseConnectionId
- the value to setpublic Migration.Builder executingJobId(String executingJobId)
OCID of the current ODMS Job in execution for the Migration, if any.
executingJobId
- the value to setpublic Migration.Builder dataTransferMediumDetails(DataTransferMediumDetails dataTransferMediumDetails)
public Migration.Builder dumpTransferDetails(DumpTransferDetails dumpTransferDetails)
public Migration.Builder datapumpSettings(DataPumpSettings datapumpSettings)
public Migration.Builder advisorSettings(AdvisorSettings advisorSettings)
public Migration.Builder excludeObjects(List<DatabaseObject> excludeObjects)
Database objects to exclude from migration. If ‘includeObjects’ are specified, only exclude object types can be specified with general wildcards (.*) for owner and objectName.
excludeObjects
- the value to setpublic Migration.Builder includeObjects(List<DatabaseObject> includeObjects)
Database objects to include from migration.
includeObjects
- the value to setpublic Migration.Builder goldenGateDetails(GoldenGateDetails goldenGateDetails)
public Migration.Builder vaultDetails(VaultDetails vaultDetails)
public Migration.Builder timeCreated(Date timeCreated)
The time the Migration was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic Migration.Builder timeUpdated(Date timeUpdated)
The time of the last Migration details update. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Migration.Builder timeLastMigration(Date timeLastMigration)
The time of last Migration. An RFC3339 formatted datetime string.
timeLastMigration
- the value to setpublic Migration.Builder lifecycleState(MigrationLifecycleStates lifecycleState)
The current state of the Migration resource.
lifecycleState
- the value to setpublic Migration.Builder lifecycleDetails(MigrationStatus lifecycleDetails)
Additional status related to the execution and current state of the Migration.
lifecycleDetails
- the value to setpublic Migration.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic Migration.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic Migration.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic Migration build()
public Migration.Builder copy(Migration model)
Copyright © 2016–2023. All rights reserved.