Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Job |
build() |
Job.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment where you want to create the job.
|
Job.Builder |
copy(Job model) |
Job.Builder |
createdBy(String createdBy)
The OCID
of the user who created the job.
|
Job.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Job.Builder |
description(String description)
A short description of the job.
|
Job.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
Job.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Job.Builder |
id(String id)
The OCID
of the job.
|
Job.Builder |
jobConfigurationDetails(JobConfigurationDetails jobConfigurationDetails) |
Job.Builder |
jobEnvironmentConfigurationDetails(JobEnvironmentConfigurationDetails jobEnvironmentConfigurationDetails) |
Job.Builder |
jobInfrastructureConfigurationDetails(JobInfrastructureConfigurationDetails jobInfrastructureConfigurationDetails) |
Job.Builder |
jobLogConfigurationDetails(JobLogConfigurationDetails jobLogConfigurationDetails) |
Job.Builder |
jobStorageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> jobStorageMountConfigurationDetailsList)
Collection of JobStorageMountConfigurationDetails.
|
Job.Builder |
lifecycleDetails(String lifecycleDetails)
The state of the job.
|
Job.Builder |
lifecycleState(JobLifecycleState lifecycleState)
The state of the job.
|
Job.Builder |
projectId(String projectId)
The OCID
of the project to associate the job with.
|
Job.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by
RFC3339.
|
public Job.Builder id(String id)
The OCID of the job.
id
- the value to setpublic Job.Builder timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
timeCreated
- the value to setpublic Job.Builder createdBy(String createdBy)
The OCID of the user who created the job.
createdBy
- the value to setpublic Job.Builder projectId(String projectId)
The OCID of the project to associate the job with.
projectId
- the value to setpublic Job.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job.
compartmentId
- the value to setpublic Job.Builder displayName(String displayName)
A user-friendly display name for the resource.
displayName
- the value to setpublic Job.Builder description(String description)
A short description of the job.
description
- the value to setpublic Job.Builder jobConfigurationDetails(JobConfigurationDetails jobConfigurationDetails)
public Job.Builder jobInfrastructureConfigurationDetails(JobInfrastructureConfigurationDetails jobInfrastructureConfigurationDetails)
public Job.Builder jobEnvironmentConfigurationDetails(JobEnvironmentConfigurationDetails jobEnvironmentConfigurationDetails)
public Job.Builder jobLogConfigurationDetails(JobLogConfigurationDetails jobLogConfigurationDetails)
public Job.Builder jobStorageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> jobStorageMountConfigurationDetailsList)
Collection of JobStorageMountConfigurationDetails.
jobStorageMountConfigurationDetailsList
- the value to setpublic Job.Builder lifecycleState(JobLifecycleState lifecycleState)
The state of the job.
lifecycleState
- the value to setpublic Job.Builder lifecycleDetails(String lifecycleDetails)
The state of the job.
lifecycleDetails
- 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. 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. See
Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic Job build()
public Job.Builder copy(Job model)
Copyright © 2016–2024. All rights reserved.