Class MigrationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.MigrationSummary.Builder
-
- Enclosing class:
- MigrationSummary
public static class MigrationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationSummary
build()
MigrationSummary.Builder
compartmentId(String compartmentId)
Compartment identifierMigrationSummary.Builder
copy(MigrationSummary model)
MigrationSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.MigrationSummary.Builder
displayName(String displayName)
Migration identifier that can be renamedMigrationSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.MigrationSummary.Builder
id(String id)
Unique identifier that is immutable on creation.MigrationSummary.Builder
isCompleted(Boolean isCompleted)
Indicates whether migration is marked as complete.MigrationSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.MigrationSummary.Builder
lifecycleState(Migration.LifecycleState lifecycleState)
The current state of migration.MigrationSummary.Builder
replicationScheduleId(String replicationScheduleId)
Replication schedule identifierMigrationSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.MigrationSummary.Builder
timeCreated(Date timeCreated)
The time when the migration project was created.MigrationSummary.Builder
timeUpdated(Date timeUpdated)
The time when the migration project was updated.
-
-
-
Method Detail
-
id
public MigrationSummary.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public MigrationSummary.Builder displayName(String displayName)
Migration identifier that can be renamed- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public MigrationSummary.Builder compartmentId(String compartmentId)
Compartment identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
timeUpdated
public 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
-
lifecycleState
public MigrationSummary.Builder lifecycleState(Migration.LifecycleState lifecycleState)
The current state of migration.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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
-
isCompleted
public MigrationSummary.Builder isCompleted(Boolean isCompleted)
Indicates whether migration is marked as complete.- Parameters:
isCompleted
- the value to set- Returns:
- this builder
-
replicationScheduleId
public MigrationSummary.Builder replicationScheduleId(String replicationScheduleId)
Replication schedule identifier- Parameters:
replicationScheduleId
- the value to set- Returns:
- this builder
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
build
public MigrationSummary build()
-
copy
public MigrationSummary.Builder copy(MigrationSummary model)
-
-