Class JobSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemigration.model.JobSummary.Builder
-
- Enclosing class:
- JobSummary
public static class JobSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobSummarybuild()JobSummary.Buildercopy(JobSummary model)JobSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.JobSummary.BuilderdisplayName(String displayName)Name of the job.JobSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.JobSummary.Builderid(String id)The OCID of the Migration Job.JobSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.JobSummary.BuilderlifecycleState(JobLifecycleStates lifecycleState)The current state of the migration Deployment.JobSummary.BuildermigrationId(String migrationId)The OCID of the Migration that this job belongs to.JobSummary.Builderprogress(MigrationJobProgressSummary progress)JobSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.JobSummary.BuildertimeCreated(Date timeCreated)The time the Migration Job was created.JobSummary.BuildertimeUpdated(Date timeUpdated)The time the Migration Job was last updated.JobSummary.Buildertype(JobTypes type)The job type.
-
-
-
Method Detail
-
id
public JobSummary.Builder id(String id)
The OCID of the Migration Job.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public JobSummary.Builder displayName(String displayName)
Name of the job.- Parameters:
displayName- the value to set- Returns:
- this builder
-
migrationId
public JobSummary.Builder migrationId(String migrationId)
The OCID of the Migration that this job belongs to.- Parameters:
migrationId- the value to set- Returns:
- this builder
-
type
public JobSummary.Builder type(JobTypes type)
The job type.- Parameters:
type- the value to set- Returns:
- this builder
-
progress
public JobSummary.Builder progress(MigrationJobProgressSummary progress)
-
timeCreated
public JobSummary.Builder timeCreated(Date timeCreated)
The time the Migration Job was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public JobSummary.Builder timeUpdated(Date timeUpdated)
The time the Migration Job was last updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public JobSummary.Builder lifecycleState(JobLifecycleStates lifecycleState)
The current state of the migration Deployment.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public JobSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public JobSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public JobSummary.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 JobSummary.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 JobSummary build()
-
copy
public JobSummary.Builder copy(JobSummary model)
-
-