public static class CreateMigrationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateMigrationDetails.Builder |
applicationConfig(Map<String,ConfigurationField> applicationConfig)
Configuration required to migrate the application.
|
CreateMigrationDetails.Builder |
applicationName(String applicationName)
Name of the application that you want to migrate from the source environment.
|
CreateMigrationDetails |
build() |
CreateMigrationDetails.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the source.
|
CreateMigrationDetails.Builder |
copy(CreateMigrationDetails model) |
CreateMigrationDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateMigrationDetails.Builder |
description(String description)
Description of the application that you are migrating.
|
CreateMigrationDetails.Builder |
discoveryDetails(DiscoveryDetails discoveryDetails) |
CreateMigrationDetails.Builder |
displayName(String displayName)
User-friendly name of the application.
|
CreateMigrationDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateMigrationDetails.Builder |
isSelectiveMigration(Boolean isSelectiveMigration)
If set to
true , Application Migration migrates the application resources
selectively depending on the source. |
CreateMigrationDetails.Builder |
preCreatedTargetDatabaseType(TargetDatabaseTypes preCreatedTargetDatabaseType)
The pre-existing database type to be used in this migration.
|
CreateMigrationDetails.Builder |
serviceConfig(Map<String,ConfigurationField> serviceConfig)
Configuration required to migrate the application.
|
CreateMigrationDetails.Builder |
sourceId(String sourceId)
The OCID
of the source.
|
public CreateMigrationDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the source.
compartmentId
- the value to setpublic CreateMigrationDetails.Builder displayName(String displayName)
User-friendly name of the application. This will be the name of the migrated application in Oracle Cloud Infrastructure.
displayName
- the value to setpublic CreateMigrationDetails.Builder description(String description)
Description of the application that you are migrating.
description
- the value to setpublic CreateMigrationDetails.Builder sourceId(String sourceId)
The OCID of the source.
sourceId
- the value to setpublic CreateMigrationDetails.Builder applicationName(String applicationName)
Name of the application that you want to migrate from the source environment.
applicationName
- the value to setpublic CreateMigrationDetails.Builder discoveryDetails(DiscoveryDetails discoveryDetails)
public CreateMigrationDetails.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 CreateMigrationDetails.Builder isSelectiveMigration(Boolean isSelectiveMigration)
If set to true
, Application Migration migrates the application resources
selectively depending on the source.
isSelectiveMigration
- the value to setpublic CreateMigrationDetails.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 CreateMigrationDetails.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 CreateMigrationDetails.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 CreateMigrationDetails.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 CreateMigrationDetails build()
public CreateMigrationDetails.Builder copy(CreateMigrationDetails model)
Copyright © 2016–2023. All rights reserved.