public static class CreateMigrationPlanDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateMigrationPlanDetails.Builder displayName(String displayName)
Migration plan identifier
displayName
- the value to setpublic CreateMigrationPlanDetails.Builder compartmentId(String compartmentId)
Compartment identifier
compartmentId
- the value to setpublic CreateMigrationPlanDetails.Builder migrationId(String migrationId)
The OCID of the associated migration.
migrationId
- the value to setpublic CreateMigrationPlanDetails.Builder sourceMigrationPlanId(String sourceMigrationPlanId)
Source migraiton plan ID to be cloned.
sourceMigrationPlanId
- the value to setpublic CreateMigrationPlanDetails.Builder strategies(List<ResourceAssessmentStrategy> strategies)
List of strategies for the resources to be migrated.
strategies
- the value to setpublic CreateMigrationPlanDetails.Builder targetEnvironments(List<TargetEnvironment> targetEnvironments)
List of target environments.
targetEnvironments
- the value to setpublic CreateMigrationPlanDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. It
exists only for cross-compatibility. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic CreateMigrationPlanDetails.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 CreateMigrationPlanDetails build()
public CreateMigrationPlanDetails.Builder copy(CreateMigrationPlanDetails model)
Copyright © 2016–2024. All rights reserved.