Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Job |
build() |
Job.Builder |
copy(Job model) |
Job.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Job.Builder |
displayName(String displayName)
Name of the job.
|
Job.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Job.Builder |
id(String id)
The OCID of the Migration Job.
|
Job.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Job.Builder |
lifecycleState(JobLifecycleStates lifecycleState)
The current state of the migration job.
|
Job.Builder |
migrationId(String migrationId)
The OCID of the Migration that this job belongs to.
|
Job.Builder |
parameterFileVersions(List<ParameterFileVersionSummary> parameterFileVersions)
A list of parameter file versions that can be viewed or edited for the current job.
|
Job.Builder |
progress(MigrationJobProgressResource progress) |
Job.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Job.Builder |
timeCreated(Date timeCreated)
The time the Migration Job was created.
|
Job.Builder |
timeUpdated(Date timeUpdated)
The time the Migration Job was last updated.
|
Job.Builder |
type(JobTypes type)
The job type.
|
Job.Builder |
unsupportedObjects(List<UnsupportedDatabaseObject> unsupportedObjects)
Database objects not supported.
|
public Job.Builder id(String id)
The OCID of the Migration Job.
id
- the value to setpublic Job.Builder displayName(String displayName)
Name of the job.
displayName
- the value to setpublic Job.Builder migrationId(String migrationId)
The OCID of the Migration that this job belongs to.
migrationId
- the value to setpublic Job.Builder type(JobTypes type)
The job type.
type
- the value to setpublic Job.Builder timeCreated(Date timeCreated)
The time the Migration Job was created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic Job.Builder timeUpdated(Date timeUpdated)
The time the Migration Job was last updated. An RFC3339 formatted datetime string
timeUpdated
- the value to setpublic Job.Builder progress(MigrationJobProgressResource progress)
public Job.Builder unsupportedObjects(List<UnsupportedDatabaseObject> unsupportedObjects)
Database objects not supported.
unsupportedObjects
- the value to setpublic Job.Builder lifecycleState(JobLifecycleStates lifecycleState)
The current state of the migration job.
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic Job.Builder parameterFileVersions(List<ParameterFileVersionSummary> parameterFileVersions)
A list of parameter file versions that can be viewed or edited for the current job.
parameterFileVersions
- the value to setpublic 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”}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic Job build()
public Job.Builder copy(Job model)
Copyright © 2016–2024. All rights reserved.