Class MigrationPlanSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudmigrations.model.MigrationPlanSummary.Builder
 
- 
- Enclosing class:
- MigrationPlanSummary
 
 public static class MigrationPlanSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationPlanSummarybuild()MigrationPlanSummary.BuildercalculatedLimits(Map<String,Integer> calculatedLimits)Limits of the resources that are needed for migration.MigrationPlanSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the migration plan.MigrationPlanSummary.Buildercopy(MigrationPlanSummary model)MigrationPlanSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MigrationPlanSummary.BuilderdisplayName(String displayName)A user-friendly name.MigrationPlanSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.MigrationPlanSummary.Builderid(String id)The unique Oracle ID (OCID) that is immutable on creation.MigrationPlanSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.MigrationPlanSummary.BuilderlifecycleState(MigrationPlan.LifecycleState lifecycleState)The current state of the migration plan.MigrationPlanSummary.BuildermigrationId(String migrationId)The OCID of the associated migration.MigrationPlanSummary.BuildermigrationPlanStats(MigrationPlanStats migrationPlanStats)MigrationPlanSummary.BuilderreferenceToRmsStack(String referenceToRmsStack)OCID of the referenced ORM job.MigrationPlanSummary.BuildersourceMigrationPlanId(String sourceMigrationPlanId)Source migraiton plan ID to be cloned.MigrationPlanSummary.Builderstrategies(List<ResourceAssessmentStrategy> strategies)List of strategies for the resources to be migrated.MigrationPlanSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.MigrationPlanSummary.BuildertargetEnvironments(List<TargetEnvironment> targetEnvironments)List of target environments.MigrationPlanSummary.BuildertimeCreated(Date timeCreated)The time when the migration plan was created.MigrationPlanSummary.BuildertimeUpdated(Date timeUpdated)The time when the migration plan was updated.
 
- 
- 
- 
Method Detail- 
idpublic MigrationPlanSummary.Builder id(String id) The unique Oracle ID (OCID) that is immutable on creation.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic MigrationPlanSummary.Builder compartmentId(String compartmentId) The OCID of the compartment containing the migration plan.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic MigrationPlanSummary.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic MigrationPlanSummary.Builder timeCreated(Date timeCreated) The time when the migration plan was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic MigrationPlanSummary.Builder timeUpdated(Date timeUpdated) The time when the migration plan was updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic MigrationPlanSummary.Builder lifecycleState(MigrationPlan.LifecycleState lifecycleState) The current state of the migration plan.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic MigrationPlanSummary.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.For example, it can be used to provide actionable information for a resource in Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
migrationIdpublic MigrationPlanSummary.Builder migrationId(String migrationId) The OCID of the associated migration.- Parameters:
- migrationId- the value to set
- Returns:
- this builder
 
 - 
strategiespublic MigrationPlanSummary.Builder strategies(List<ResourceAssessmentStrategy> strategies) List of strategies for the resources to be migrated.- Parameters:
- strategies- the value to set
- Returns:
- this builder
 
 - 
migrationPlanStatspublic MigrationPlanSummary.Builder migrationPlanStats(MigrationPlanStats migrationPlanStats) 
 - 
calculatedLimitspublic MigrationPlanSummary.Builder calculatedLimits(Map<String,Integer> calculatedLimits) Limits of the resources that are needed for migration.Example: {“BlockVolume”: 2, “VCN”: 1} - Parameters:
- calculatedLimits- the value to set
- Returns:
- this builder
 
 - 
targetEnvironmentspublic MigrationPlanSummary.Builder targetEnvironments(List<TargetEnvironment> targetEnvironments) List of target environments.- Parameters:
- targetEnvironments- the value to set
- Returns:
- this builder
 
 - 
referenceToRmsStackpublic MigrationPlanSummary.Builder referenceToRmsStack(String referenceToRmsStack) OCID of the referenced ORM job.- Parameters:
- referenceToRmsStack- the value to set
- Returns:
- this builder
 
 - 
sourceMigrationPlanIdpublic MigrationPlanSummary.Builder sourceMigrationPlanId(String sourceMigrationPlanId) Source migraiton plan ID to be cloned.- Parameters:
- sourceMigrationPlanId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic MigrationPlanSummary.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
 
 - 
definedTagspublic MigrationPlanSummary.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
 
 - 
systemTagspublic MigrationPlanSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic MigrationPlanSummary build() 
 - 
copypublic MigrationPlanSummary.Builder copy(MigrationPlanSummary model) 
 
- 
 
-