@Generated(value="OracleSDKGenerator", comments="API Version: 20210929") public final class Migration extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Migration resource
Note: Objects should always be created or deserialized using the 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 Migration.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
Migration.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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,
DataTransferMediumDetailsV2 dataTransferMediumDetailsV2,
DataTransferMediumDetails dataTransferMediumDetails,
DumpTransferDetails dumpTransferDetails,
DataPumpSettings datapumpSettings,
AdvisorSettings advisorSettings,
List<DatabaseObject> excludeObjects,
List<DatabaseObject> includeObjects,
GoldenGateServiceDetails goldenGateServiceDetails,
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) |
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() |
DataTransferMediumDetailsV2 |
getDataTransferMediumDetailsV2() |
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() |
GoldenGateServiceDetails |
getGoldenGateServiceDetails() |
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() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","compartmentId","type","waitAfter","agentId","credentialsSecretId","sourceDatabaseConnectionId","sourceContainerDatabaseConnectionId","targetDatabaseConnectionId","executingJobId","dataTransferMediumDetailsV2","dataTransferMediumDetails","dumpTransferDetails","datapumpSettings","advisorSettings","excludeObjects","includeObjects","goldenGateServiceDetails","goldenGateDetails","vaultDetails","timeCreated","timeUpdated","timeLastMigration","lifecycleState","lifecycleDetails","freeformTags","definedTags","systemTags"}) public Migration(String id, String displayName, String compartmentId, MigrationTypes type, OdmsJobPhases waitAfter, String agentId, String credentialsSecretId, String sourceDatabaseConnectionId, String sourceContainerDatabaseConnectionId, String targetDatabaseConnectionId, String executingJobId, DataTransferMediumDetailsV2 dataTransferMediumDetailsV2, DataTransferMediumDetails dataTransferMediumDetails, DumpTransferDetails dumpTransferDetails, DataPumpSettings datapumpSettings, AdvisorSettings advisorSettings, List<DatabaseObject> excludeObjects, List<DatabaseObject> includeObjects, GoldenGateServiceDetails goldenGateServiceDetails, 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 DataTransferMediumDetailsV2 getDataTransferMediumDetailsV2()
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 GoldenGateServiceDetails getGoldenGateServiceDetails()
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"}}
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.