public static class JobSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobSummary |
build() |
JobSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment where you want to create the job.
|
JobSummary.Builder |
copy(JobSummary model) |
JobSummary.Builder |
createdBy(String createdBy)
The OCID
of the user who created the project.
|
JobSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
JobSummary.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
JobSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
JobSummary.Builder |
id(String id)
The OCID
of the job.
|
JobSummary.Builder |
lifecycleState(JobLifecycleState lifecycleState)
The state of the job.
|
JobSummary.Builder |
projectId(String projectId)
The OCID
of the project to associate the job with.
|
JobSummary.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by
RFC3339.
|
public JobSummary.Builder id(String id)
The OCID of the job.
id
- the value to setpublic JobSummary.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 JobSummary.Builder createdBy(String createdBy)
The OCID of the user who created the project.
createdBy
- the value to setpublic JobSummary.Builder projectId(String projectId)
The OCID of the project to associate the job with.
projectId
- the value to setpublic JobSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job.
compartmentId
- the value to setpublic JobSummary.Builder displayName(String displayName)
A user-friendly display name for the resource.
displayName
- the value to setpublic JobSummary.Builder lifecycleState(JobLifecycleState lifecycleState)
The state of the job.
lifecycleState
- 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. 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. See
Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic JobSummary build()
public JobSummary.Builder copy(JobSummary model)
Copyright © 2016–2024. All rights reserved.