public static class UpdateMigrationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateMigrationDetails.Builder type(MigrationTypes type)
Migration type.
type
- the value to setpublic UpdateMigrationDetails.Builder displayName(String displayName)
Migration Display Name
displayName
- the value to setpublic UpdateMigrationDetails.Builder agentId(String agentId)
The OCID of the registered ODMS Agent.
agentId
- the value to setpublic UpdateMigrationDetails.Builder sourceDatabaseConnectionId(String sourceDatabaseConnectionId)
The OCID of the Source Database Connection.
sourceDatabaseConnectionId
- the value to setpublic UpdateMigrationDetails.Builder sourceContainerDatabaseConnectionId(String sourceContainerDatabaseConnectionId)
The OCID of the Source Container Database Connection. Only used for Online migrations. Only Connections of type Non-Autonomous can be used as source container databases. An empty value would remove the stored Connection ID.
sourceContainerDatabaseConnectionId
- the value to setpublic UpdateMigrationDetails.Builder targetDatabaseConnectionId(String targetDatabaseConnectionId)
The OCID of the Target Database Connection.
targetDatabaseConnectionId
- the value to setpublic UpdateMigrationDetails.Builder dataTransferMediumDetailsV2(DataTransferMediumDetailsV2 dataTransferMediumDetailsV2)
public UpdateMigrationDetails.Builder dataTransferMediumDetails(UpdateDataTransferMediumDetails dataTransferMediumDetails)
public UpdateMigrationDetails.Builder dumpTransferDetails(UpdateDumpTransferDetails dumpTransferDetails)
public UpdateMigrationDetails.Builder datapumpSettings(UpdateDataPumpSettings datapumpSettings)
public UpdateMigrationDetails.Builder advisorSettings(UpdateAdvisorSettings advisorSettings)
public UpdateMigrationDetails.Builder excludeObjects(List<DatabaseObject> excludeObjects)
Database objects to exclude from migration, cannot be specified alongside ‘includeObjects’. If specified, the list will be replaced entirely. Empty list will remove stored excludeObjects details.
excludeObjects
- the value to setpublic UpdateMigrationDetails.Builder includeObjects(List<DatabaseObject> includeObjects)
Database objects to include from migration, cannot be specified alongside ‘excludeObjects’. If specified, the list will be replaced entirely. Empty list will remove stored includeObjects details.
includeObjects
- the value to setpublic UpdateMigrationDetails.Builder goldenGateServiceDetails(UpdateGoldenGateServiceDetails goldenGateServiceDetails)
public UpdateMigrationDetails.Builder goldenGateDetails(UpdateGoldenGateDetails goldenGateDetails)
public UpdateMigrationDetails.Builder vaultDetails(UpdateVaultDetails vaultDetails)
public UpdateMigrationDetails.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 UpdateMigrationDetails.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 UpdateMigrationDetails build()
public UpdateMigrationDetails.Builder copy(UpdateMigrationDetails model)
Copyright © 2016–2023. All rights reserved.