Class CreateMigrationPlanDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.CreateMigrationPlanDetails.Builder
-
- Enclosing class:
- CreateMigrationPlanDetails
public static class CreateMigrationPlanDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateMigrationPlanDetails.Builder displayName(String displayName)
Migration plan identifier- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public CreateMigrationPlanDetails.Builder compartmentId(String compartmentId)
Compartment identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
migrationId
public CreateMigrationPlanDetails.Builder migrationId(String migrationId)
The OCID of the associated migration.- Parameters:
migrationId
- the value to set- Returns:
- this builder
-
sourceMigrationPlanId
public CreateMigrationPlanDetails.Builder sourceMigrationPlanId(String sourceMigrationPlanId)
Source migraiton plan ID to be cloned.- Parameters:
sourceMigrationPlanId
- the value to set- Returns:
- this builder
-
strategies
public CreateMigrationPlanDetails.Builder strategies(List<ResourceAssessmentStrategy> strategies)
List of strategies for the resources to be migrated.- Parameters:
strategies
- the value to set- Returns:
- this builder
-
targetEnvironments
public CreateMigrationPlanDetails.Builder targetEnvironments(List<TargetEnvironment> targetEnvironments)
List of target environments.- Parameters:
targetEnvironments
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public CreateMigrationPlanDetails build()
-
copy
public CreateMigrationPlanDetails.Builder copy(CreateMigrationPlanDetails model)
-
-