public static class MigrationSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MigrationSummary.Builder |
agentId(String agentId)
The OCID of the registered on-premises ODMS Agent.
|
MigrationSummary |
build() |
MigrationSummary.Builder |
compartmentId(String compartmentId)
OCID of the compartment
|
MigrationSummary.Builder |
copy(MigrationSummary model) |
MigrationSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
MigrationSummary.Builder |
displayName(String displayName)
Migration Display Name
|
MigrationSummary.Builder |
executingJobId(String executingJobId)
OCID of the current ODMS Job in execution for the Migration, if any.
|
MigrationSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
MigrationSummary.Builder |
id(String id)
The OCID of the resource
|
MigrationSummary.Builder |
lifecycleDetails(MigrationStatus lifecycleDetails)
Additional status related to the execution and current state of the Migration.
|
MigrationSummary.Builder |
lifecycleState(MigrationLifecycleStates lifecycleState)
The current state of the Migration.
|
MigrationSummary.Builder |
sourceContainerDatabaseConnectionId(String sourceContainerDatabaseConnectionId)
The OCID of the Source Container Database Connection.
|
MigrationSummary.Builder |
sourceDatabaseConnectionId(String sourceDatabaseConnectionId)
The OCID of the Source Database Connection.
|
MigrationSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
MigrationSummary.Builder |
targetDatabaseConnectionId(String targetDatabaseConnectionId)
The OCID of the Target Database Connection.
|
MigrationSummary.Builder |
timeCreated(Date timeCreated)
The time the Migration was created.
|
MigrationSummary.Builder |
timeLastMigration(Date timeLastMigration)
The time of last Migration.
|
MigrationSummary.Builder |
timeUpdated(Date timeUpdated)
The time of the last Migration details update.
|
MigrationSummary.Builder |
type(MigrationTypes type)
Migration type.
|
MigrationSummary.Builder |
vaultDetails(VaultDetails vaultDetails) |
public MigrationSummary.Builder id(String id)
The OCID of the resource
id
- the value to setpublic MigrationSummary.Builder displayName(String displayName)
Migration Display Name
displayName
- the value to setpublic MigrationSummary.Builder compartmentId(String compartmentId)
OCID of the compartment
compartmentId
- the value to setpublic MigrationSummary.Builder type(MigrationTypes type)
Migration type.
type
- the value to setpublic MigrationSummary.Builder sourceDatabaseConnectionId(String sourceDatabaseConnectionId)
The OCID of the Source Database Connection.
sourceDatabaseConnectionId
- the value to setpublic MigrationSummary.Builder sourceContainerDatabaseConnectionId(String sourceContainerDatabaseConnectionId)
The OCID of the Source Container Database Connection.
sourceContainerDatabaseConnectionId
- the value to setpublic MigrationSummary.Builder targetDatabaseConnectionId(String targetDatabaseConnectionId)
The OCID of the Target Database Connection.
targetDatabaseConnectionId
- the value to setpublic MigrationSummary.Builder executingJobId(String executingJobId)
OCID of the current ODMS Job in execution for the Migration, if any.
executingJobId
- the value to setpublic MigrationSummary.Builder agentId(String agentId)
The OCID of the registered on-premises ODMS Agent. Only valid for Offline Migrations.
agentId
- the value to setpublic MigrationSummary.Builder vaultDetails(VaultDetails vaultDetails)
public MigrationSummary.Builder timeCreated(Date timeCreated)
The time the Migration was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic MigrationSummary.Builder timeUpdated(Date timeUpdated)
The time of the last Migration details update. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic MigrationSummary.Builder timeLastMigration(Date timeLastMigration)
The time of last Migration. An RFC3339 formatted datetime string.
timeLastMigration
- the value to setpublic MigrationSummary.Builder lifecycleState(MigrationLifecycleStates lifecycleState)
The current state of the Migration.
lifecycleState
- the value to setpublic MigrationSummary.Builder lifecycleDetails(MigrationStatus lifecycleDetails)
Additional status related to the execution and current state of the Migration.
lifecycleDetails
- the value to setpublic MigrationSummary.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 MigrationSummary.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 MigrationSummary.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 MigrationSummary build()
public MigrationSummary.Builder copy(MigrationSummary model)
Copyright © 2016–2023. All rights reserved.