Package com.oracle.bmc.batch.model
Class CreateBatchJobPoolDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.batch.model.CreateBatchJobPoolDetails.Builder
-
- Enclosing class:
- CreateBatchJobPoolDetails
public static class CreateBatchJobPoolDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateBatchJobPoolDetails.BuilderbatchContextId(String batchContextId)The OCID of batch context.CreateBatchJobPoolDetailsbuild()CreateBatchJobPoolDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment.CreateBatchJobPoolDetails.Buildercopy(CreateBatchJobPoolDetails model)CreateBatchJobPoolDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateBatchJobPoolDetails.Builderdescription(String description)Summarized information about the batch job pool.CreateBatchJobPoolDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateBatchJobPoolDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.
-
-
-
Method Detail
-
displayName
public CreateBatchJobPoolDetails.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. If not specified or provided as null or empty string, it be generated as “
”, where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchjobpool20250914115623. - Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public CreateBatchJobPoolDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
batchContextId
public CreateBatchJobPoolDetails.Builder batchContextId(String batchContextId)
The OCID of batch context.- Parameters:
batchContextId- the value to set- Returns:
- this builder
-
description
public CreateBatchJobPoolDetails.Builder description(String description)
Summarized information about the batch job pool.- Parameters:
description- the value to set- Returns:
- this builder
-
freeformTags
public CreateBatchJobPoolDetails.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 CreateBatchJobPoolDetails.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
-
build
public CreateBatchJobPoolDetails build()
-
copy
public CreateBatchJobPoolDetails.Builder copy(CreateBatchJobPoolDetails model)
-
-