@Generated(value="OracleSDKGenerator", comments="API Version: 20210929") public final class MigrationSummary extends Object
Migration resource
MigrationSummary.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 MigrationSummary.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 |
MigrationSummary.Builder |
Constructor and Description |
---|
MigrationSummary(String id,
String displayName,
String compartmentId,
MigrationTypes type,
String sourceDatabaseConnectionId,
String sourceContainerDatabaseConnectionId,
String targetDatabaseConnectionId,
String executingJobId,
String agentId,
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 MigrationSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAgentId()
The OCID of the registered on-premises ODMS Agent.
|
String |
getCompartmentId()
OCID of the compartment
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDisplayName()
Migration Display Name
|
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.
|
String |
getId()
The OCID of the resource
|
MigrationStatus |
getLifecycleDetails()
Additional status related to the execution and current state of the Migration.
|
MigrationLifecycleStates |
getLifecycleState()
The current state of the Migration.
|
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() |
int |
hashCode() |
MigrationSummary.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"id","displayName","compartmentId","type","sourceDatabaseConnectionId","sourceContainerDatabaseConnectionId","targetDatabaseConnectionId","executingJobId","agentId","vaultDetails","timeCreated","timeUpdated","timeLastMigration","lifecycleState","lifecycleDetails","freeformTags","definedTags","systemTags"}) public MigrationSummary(String id, String displayName, String compartmentId, MigrationTypes type, String sourceDatabaseConnectionId, String sourceContainerDatabaseConnectionId, String targetDatabaseConnectionId, String executingJobId, String agentId, 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 MigrationSummary.Builder builder()
Create a new builder.
public MigrationSummary.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 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 String getAgentId()
The OCID of the registered on-premises ODMS Agent. Only valid for Offline Migrations.
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.
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.