public static class JobSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobSummary |
build() |
JobSummary.Builder |
copy(JobSummary model) |
JobSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
JobSummary.Builder |
displayName(String displayName)
Name of the job.
|
JobSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
JobSummary.Builder |
id(String id)
The OCID of the Migration Job.
|
JobSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
JobSummary.Builder |
lifecycleState(JobLifecycleStates lifecycleState)
The current state of the migration Deployment.
|
JobSummary.Builder |
migrationId(String migrationId)
The OCID of the Migration that this job belongs to.
|
JobSummary.Builder |
progress(MigrationJobProgressSummary progress) |
JobSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
JobSummary.Builder |
timeCreated(Date timeCreated)
The time the Migration Job was created.
|
JobSummary.Builder |
timeUpdated(Date timeUpdated)
The time the Migration Job was last updated.
|
JobSummary.Builder |
type(JobTypes type)
The job type.
|
public JobSummary.Builder id(String id)
The OCID of the Migration Job.
id
- the value to setpublic JobSummary.Builder displayName(String displayName)
Name of the job.
displayName
- the value to setpublic JobSummary.Builder migrationId(String migrationId)
The OCID of the Migration that this job belongs to.
migrationId
- the value to setpublic JobSummary.Builder type(JobTypes type)
The job type.
type
- the value to setpublic JobSummary.Builder progress(MigrationJobProgressSummary progress)
public JobSummary.Builder timeCreated(Date timeCreated)
The time the Migration Job was created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic JobSummary.Builder timeUpdated(Date timeUpdated)
The time the Migration Job was last updated. An RFC3339 formatted datetime string
timeUpdated
- the value to setpublic JobSummary.Builder lifecycleState(JobLifecycleStates lifecycleState)
The current state of the migration Deployment.
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic 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”}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic JobSummary build()
public JobSummary.Builder copy(JobSummary model)
Copyright © 2016–2024. All rights reserved.