@Generated(value="OracleSDKGenerator", comments="API Version: 20210929") public final class Migration extends Object
Migration resource
Migration.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the Migration.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
Migration.Builder |
Constructor and Description |
---|
Migration(String id,
String displayName,
String compartmentId,
MigrationTypes type,
OdmsJobPhases waitAfter,
String agentId,
String credentialsSecretId,
String sourceDatabaseConnectionId,
String sourceContainerDatabaseConnectionId,
String targetDatabaseConnectionId,
String executingJobId,
DataTransferMediumDetails dataTransferMediumDetails,
DumpTransferDetails dumpTransferDetails,
DataPumpSettings datapumpSettings,
AdvisorSettings advisorSettings,
List<DatabaseObject> excludeObjects,
List<DatabaseObject> includeObjects,
GoldenGateDetails goldenGateDetails,
VaultDetails vaultDetails,
Date timeCreated,
Date timeUpdated,
Date timeLastMigration,
MigrationLifecycleStates lifecycleState,
MigrationStatus lifecycleDetails,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Migration.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
AdvisorSettings |
getAdvisorSettings() |
String |
getAgentId()
The OCID of the registered on-premises ODMS Agent.
|
String |
getCompartmentId()
OCID of the compartment
|
String |
getCredentialsSecretId()
OCID of the Secret in the OCI vault containing the Migration credentials.
|
DataPumpSettings |
getDatapumpSettings() |
DataTransferMediumDetails |
getDataTransferMediumDetails() |
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDisplayName()
Migration Display Name
|
DumpTransferDetails |
getDumpTransferDetails() |
List<DatabaseObject> |
getExcludeObjects()
Database objects to exclude from migration.
|
String |
getExecutingJobId()
OCID of the current ODMS Job in execution for the Migration, if any.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
GoldenGateDetails |
getGoldenGateDetails() |
String |
getId()
The OCID of the resource
|
List<DatabaseObject> |
getIncludeObjects()
Database objects to include from migration.
|
MigrationStatus |
getLifecycleDetails()
Additional status related to the execution and current state of the Migration.
|
MigrationLifecycleStates |
getLifecycleState()
The current state of the Migration resource.
|
String |
getSourceContainerDatabaseConnectionId()
The OCID of the Source Container Database Connection.
|
String |
getSourceDatabaseConnectionId()
The OCID of the Source Database Connection.
|
Map<String,Map<String,Object>> |
getSystemTags()
Usage of system tag keys.
|
String |
getTargetDatabaseConnectionId()
The OCID of the Target Database Connection.
|
Date |
getTimeCreated()
The time the Migration was created.
|
Date |
getTimeLastMigration()
The time of last Migration.
|
Date |
getTimeUpdated()
The time of the last Migration details update.
|
MigrationTypes |
getType()
Migration type.
|
VaultDetails |
getVaultDetails() |
OdmsJobPhases |
getWaitAfter()
Name of a migration phase.
|
int |
hashCode() |
Migration.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","displayName","compartmentId","type","waitAfter","agentId","credentialsSecretId","sourceDatabaseConnectionId","sourceContainerDatabaseConnectionId","targetDatabaseConnectionId","executingJobId","dataTransferMediumDetails","dumpTransferDetails","datapumpSettings","advisorSettings","excludeObjects","includeObjects","goldenGateDetails","vaultDetails","timeCreated","timeUpdated","timeLastMigration","lifecycleState","lifecycleDetails","freeformTags","definedTags","systemTags"}) @Deprecated public Migration(String id, String displayName, String compartmentId, MigrationTypes type, OdmsJobPhases waitAfter, String agentId, String credentialsSecretId, String sourceDatabaseConnectionId, String sourceContainerDatabaseConnectionId, String targetDatabaseConnectionId, String executingJobId, DataTransferMediumDetails dataTransferMediumDetails, DumpTransferDetails dumpTransferDetails, DataPumpSettings datapumpSettings, AdvisorSettings advisorSettings, List<DatabaseObject> excludeObjects, List<DatabaseObject> includeObjects, GoldenGateDetails goldenGateDetails, VaultDetails vaultDetails, Date timeCreated, Date timeUpdated, Date timeLastMigration, MigrationLifecycleStates lifecycleState, MigrationStatus lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
public static Migration.Builder builder()
Create a new builder.
public Migration.Builder toBuilder()
public String getId()
The OCID of the resource
public String getDisplayName()
Migration Display Name
public String getCompartmentId()
OCID of the compartment
public MigrationTypes getType()
Migration type.
public OdmsJobPhases getWaitAfter()
Name of a migration phase. The Job will wait after executing this phase until the Resume Job endpoint is called.
public String getAgentId()
The OCID of the registered on-premises ODMS Agent. Only valid for Offline Migrations.
public String getCredentialsSecretId()
OCID of the Secret in the OCI vault containing the Migration credentials. Used to store GoldenGate administrator user credentials.
public String getSourceDatabaseConnectionId()
The OCID of the Source Database Connection.
public String getSourceContainerDatabaseConnectionId()
The OCID of the Source Container Database Connection.
public String getTargetDatabaseConnectionId()
The OCID of the Target Database Connection.
public String getExecutingJobId()
OCID of the current ODMS Job in execution for the Migration, if any.
public DataTransferMediumDetails getDataTransferMediumDetails()
public DumpTransferDetails getDumpTransferDetails()
public DataPumpSettings getDatapumpSettings()
public AdvisorSettings getAdvisorSettings()
public List<DatabaseObject> getExcludeObjects()
Database objects to exclude from migration. If ‘includeObjects’ are specified, only exclude object types can be specified with general wildcards (.*) for owner and objectName.
public List<DatabaseObject> getIncludeObjects()
Database objects to include from migration.
public GoldenGateDetails getGoldenGateDetails()
public VaultDetails getVaultDetails()
public Date getTimeCreated()
The time the Migration was created. An RFC3339 formatted datetime string.
public Date getTimeUpdated()
The time of the last Migration details update. An RFC3339 formatted datetime string.
public Date getTimeLastMigration()
The time of last Migration. An RFC3339 formatted datetime string.
public MigrationLifecycleStates getLifecycleState()
The current state of the Migration resource.
public MigrationStatus getLifecycleDetails()
Additional status related to the execution and current state of the Migration.
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Example: {"bar-key": "value"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
public Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys. These predefined keys are scoped to namespaces.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
Copyright © 2016–2022. All rights reserved.