Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Migration.Builder |
applicationConfig(Map<String,ConfigurationField> applicationConfig)
Configuration required to migrate the application.
|
Migration.Builder |
applicationName(String applicationName)
Name of the application which is being migrated.
|
Migration.Builder |
applicationType(MigrationTypes applicationType)
The type of application being migrated.
|
Migration |
build() |
Migration.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the migration.
|
Migration.Builder |
copy(Migration model) |
Migration.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Migration.Builder |
description(String description)
Description of the migration.
|
Migration.Builder |
displayName(String displayName)
User-friendly name of the migration.
|
Migration.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Migration.Builder |
id(String id)
The OCID
of the migration.
|
Migration.Builder |
isSelectiveMigration(Boolean isSelectiveMigration)
If set to
true , Application Migration migrates only the application resources
that you specify. |
Migration.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current lifecycle state of the migration.
|
Migration.Builder |
lifecycleState(MigrationLifecycleStates lifecycleState)
The current state of the migration.
|
Migration.Builder |
migrationState(MigrationStates migrationState)
The current state of the overall migration process.
|
Migration.Builder |
preCreatedTargetDatabaseType(TargetDatabaseTypes preCreatedTargetDatabaseType)
The pre-existing database type to be used in this migration.
|
Migration.Builder |
serviceConfig(Map<String,ConfigurationField> serviceConfig)
Configuration required to migrate the application.
|
Migration.Builder |
sourceId(String sourceId)
The OCID
of the source with which this migration is associated.
|
Migration.Builder |
timeCreated(Date timeCreated)
The date and time at which the migration was created, in the format defined by RFC3339.
|
public Migration.Builder id(String id)
The OCID of the migration.
id
- the value to setpublic Migration.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the migration.
compartmentId
- the value to setpublic Migration.Builder displayName(String displayName)
User-friendly name of the migration.
displayName
- the value to setpublic Migration.Builder description(String description)
Description of the migration.
description
- the value to setpublic Migration.Builder timeCreated(Date timeCreated)
The date and time at which the migration was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic Migration.Builder sourceId(String sourceId)
The OCID of the source with which this migration is associated.
sourceId
- the value to setpublic Migration.Builder applicationName(String applicationName)
Name of the application which is being migrated. This is the name of the application in the source environment.
applicationName
- the value to setpublic Migration.Builder applicationType(MigrationTypes applicationType)
The type of application being migrated.
applicationType
- the value to setpublic Migration.Builder preCreatedTargetDatabaseType(TargetDatabaseTypes preCreatedTargetDatabaseType)
The pre-existing database type to be used in this migration. Currently, Application
migration only supports Oracle Cloud Infrastructure databases and this option is
currently available only for JAVA_CLOUD_SERVICE
and WEBLOGIC_CLOUD_SERVICE
target instance types.
preCreatedTargetDatabaseType
- the value to setpublic Migration.Builder isSelectiveMigration(Boolean isSelectiveMigration)
If set to true
, Application Migration migrates only the application resources
that you specify. If set to false
, Application Migration migrates the entire
application. When you migrate the entire application, all the application resources are
migrated to the target environment. You can selectively migrate resources only for the
Oracle Integration Cloud and Oracle Integration Cloud Service applications.
isSelectiveMigration
- the value to setpublic Migration.Builder serviceConfig(Map<String,ConfigurationField> serviceConfig)
Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.
serviceConfig
- the value to setpublic Migration.Builder applicationConfig(Map<String,ConfigurationField> applicationConfig)
Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.
applicationConfig
- the value to setpublic Migration.Builder lifecycleState(MigrationLifecycleStates lifecycleState)
The current state of the migration.
lifecycleState
- the value to setpublic Migration.Builder lifecycleDetails(String lifecycleDetails)
Details about the current lifecycle state of the migration.
lifecycleDetails
- the value to setpublic Migration.Builder migrationState(MigrationStates migrationState)
The current state of the overall migration process.
migrationState
- the value to setpublic Migration.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic Migration.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic Migration build()
public Migration.Builder copy(Migration model)
Copyright © 2016–2023. All rights reserved.