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