Class Job.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemigration.model.Job.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Jobbuild()Job.BuildercollectTracesData(CollectTracesData collectTracesData)Job.Buildercopy(Job model)Job.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Job.BuilderdisplayName(String displayName)Name of the job.Job.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Job.Builderid(String id)The OCID of the Migration Job.Job.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Job.BuilderlifecycleState(JobLifecycleStates lifecycleState)The current state of the migration job.Job.BuildermigrationId(String migrationId)The OCID of the Migration that this job belongs to.Job.BuilderparameterFileVersions(List<ParameterFileVersionSummary> parameterFileVersions)A list of parameter file versions that can be viewed or edited for the current job.Job.Builderprogress(MigrationJobProgressResource progress)Job.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Job.BuildertimeCreated(Date timeCreated)The time the Migration Job was created.Job.BuildertimeUpdated(Date timeUpdated)The time the Migration Job was last updated.Job.Buildertype(JobTypes type)The job type.Job.BuilderunsupportedObjects(List<UnsupportedDatabaseObject> unsupportedObjects)Database objects not supported.
 
- 
- 
- 
Method Detail- 
idpublic Job.Builder id(String id) The OCID of the Migration Job.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Job.Builder displayName(String displayName) Name of the job.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
migrationIdpublic Job.Builder migrationId(String migrationId) The OCID of the Migration that this job belongs to.- Parameters:
- migrationId- the value to set
- Returns:
- this builder
 
 - 
typepublic Job.Builder type(JobTypes type) The job type.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Job.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
 
 - 
timeUpdatedpublic Job.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
 
 - 
progresspublic Job.Builder progress(MigrationJobProgressResource progress) 
 - 
unsupportedObjectspublic Job.Builder unsupportedObjects(List<UnsupportedDatabaseObject> unsupportedObjects) Database objects not supported.- Parameters:
- unsupportedObjects- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Job.Builder lifecycleState(JobLifecycleStates lifecycleState) The current state of the migration job.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Job.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
 
 - 
parameterFileVersionspublic Job.Builder parameterFileVersions(List<ParameterFileVersionSummary> parameterFileVersions) A list of parameter file versions that can be viewed or edited for the current job.- Parameters:
- parameterFileVersions- the value to set
- Returns:
- this builder
 
 - 
collectTracesDatapublic Job.Builder collectTracesData(CollectTracesData collectTracesData) 
 - 
freeformTagspublic Job.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
 
 - 
definedTagspublic Job.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 Job.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 Job build() 
 - 
copypublic Job.Builder copy(Job model) 
 
- 
 
-