Class MigrationSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudmigrations.model.MigrationSummary.Builder
 
- 
- Enclosing class:
- MigrationSummary
 
 public static class MigrationSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationSummarybuild()MigrationSummary.BuildercompartmentId(String compartmentId)Compartment identifierMigrationSummary.Buildercopy(MigrationSummary model)MigrationSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MigrationSummary.BuilderdisplayName(String displayName)Migration identifier that can be renamedMigrationSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.MigrationSummary.Builderid(String id)Unique identifier that is immutable on creation.MigrationSummary.BuilderisCompleted(Boolean isCompleted)Indicates whether migration is marked as complete.MigrationSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.MigrationSummary.BuilderlifecycleState(Migration.LifecycleState lifecycleState)The current state of migration.MigrationSummary.BuilderreplicationScheduleId(String replicationScheduleId)Replication schedule identifierMigrationSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.MigrationSummary.BuildertimeCreated(Date timeCreated)The time when the migration project was created.MigrationSummary.BuildertimeUpdated(Date timeUpdated)The time when the migration project was updated.
 
- 
- 
- 
Method Detail- 
idpublic MigrationSummary.Builder id(String id) Unique identifier that is immutable on creation.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic MigrationSummary.Builder displayName(String displayName) Migration identifier that can be renamed- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic MigrationSummary.Builder compartmentId(String compartmentId) Compartment identifier- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic MigrationSummary.Builder timeCreated(Date timeCreated) The time when the migration project was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic MigrationSummary.Builder timeUpdated(Date timeUpdated) The time when the migration project was updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic MigrationSummary.Builder lifecycleState(Migration.LifecycleState lifecycleState) The current state of migration.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic MigrationSummary.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
 
 - 
isCompletedpublic MigrationSummary.Builder isCompleted(Boolean isCompleted) Indicates whether migration is marked as complete.- Parameters:
- isCompleted- the value to set
- Returns:
- this builder
 
 - 
replicationScheduleIdpublic MigrationSummary.Builder replicationScheduleId(String replicationScheduleId) Replication schedule identifier- Parameters:
- replicationScheduleId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic MigrationSummary.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 MigrationSummary.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 MigrationSummary.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 MigrationSummary build() 
 - 
copypublic MigrationSummary.Builder copy(MigrationSummary model) 
 
- 
 
-