Package com.oracle.bmc.batch.model
Class BatchJobSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.batch.model.BatchJobSummary.Builder
-
- Enclosing class:
- BatchJobSummary
public static class BatchJobSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchJobSummary.BuilderbatchContextId(String batchContextId)The OCID of the parent batch context of the parent job pool.BatchJobSummary.BuilderbatchJobPoolId(String batchJobPoolId)The OCID of the parent batch job pool.BatchJobSummarybuild()BatchJobSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.BatchJobSummary.Buildercopy(BatchJobSummary model)BatchJobSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.BatchJobSummary.Builderdescription(String description)An optional description that provides additional context next to the displayName.BatchJobSummary.BuilderdisplayName(String displayName)A user-friendly name.BatchJobSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.BatchJobSummary.Builderid(String id)The OCID of the batch job.BatchJobSummary.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the batch job in more detail.BatchJobSummary.BuilderlifecycleState(BatchJob.LifecycleState lifecycleState)The current state of the batch job.BatchJobSummary.Builderpriority(Integer priority)A value calculated by the system based on the priority tags.BatchJobSummary.BuilderprogressDetails(String progressDetails)A more detailed textual representation of the job completion.BatchJobSummary.BuilderprogressPercentage(Integer progressPercentage)A percentage value (0..100) of the job completion.BatchJobSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.BatchJobSummary.BuildertimeCreated(Date timeCreated)The date and time the batch job was created, in the format defined by RFC 3339.BatchJobSummary.BuildertimeUpdated(Date timeUpdated)The date and time the batch job was updated, in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public BatchJobSummary.Builder id(String id)
The OCID of the batch job.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public BatchJobSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
batchJobPoolId
public BatchJobSummary.Builder batchJobPoolId(String batchJobPoolId)
The OCID of the parent batch job pool.- Parameters:
batchJobPoolId- the value to set- Returns:
- this builder
-
batchContextId
public BatchJobSummary.Builder batchContextId(String batchContextId)
The OCID of the parent batch context of the parent job pool.- Parameters:
batchContextId- the value to set- Returns:
- this builder
-
displayName
public BatchJobSummary.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public BatchJobSummary.Builder description(String description)
An optional description that provides additional context next to the displayName.- Parameters:
description- the value to set- Returns:
- this builder
-
priority
public BatchJobSummary.Builder priority(Integer priority)
A value calculated by the system based on the priority tags.- Parameters:
priority- the value to set- Returns:
- this builder
-
progressPercentage
public BatchJobSummary.Builder progressPercentage(Integer progressPercentage)
A percentage value (0..100) of the job completion.- Parameters:
progressPercentage- the value to set- Returns:
- this builder
-
progressDetails
public BatchJobSummary.Builder progressDetails(String progressDetails)
A more detailed textual representation of the job completion.- Parameters:
progressDetails- the value to set- Returns:
- this builder
-
timeCreated
public BatchJobSummary.Builder timeCreated(Date timeCreated)
The date and time the batch job was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public BatchJobSummary.Builder timeUpdated(Date timeUpdated)
The date and time the batch job was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public BatchJobSummary.Builder lifecycleState(BatchJob.LifecycleState lifecycleState)
The current state of the batch job.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public BatchJobSummary.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the batch job in more detail.For example, can be used to provide actionable information for a resource in the Failed state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public BatchJobSummary.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
-
definedTags
public BatchJobSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public BatchJobSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public BatchJobSummary build()
-
copy
public BatchJobSummary.Builder copy(BatchJobSummary model)
-
-