Package com.oracle.bmc.batch.model
Class CreateBatchContextDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.batch.model.CreateBatchContextDetails.Builder
-
- Enclosing class:
- CreateBatchContextDetails
public static class CreateBatchContextDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateBatchContextDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public CreateBatchContextDetails.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 will 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: batchcontext20250914115623. - Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CreateBatchContextDetails.Builder description(String description)
Summarized information about the batch context.- Parameters:
description- the value to set- Returns:
- this builder
-
freeformTags
public CreateBatchContextDetails.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 CreateBatchContextDetails.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
-
jobPriorityConfigurations
public CreateBatchContextDetails.Builder jobPriorityConfigurations(List<JobPriorityConfiguration> jobPriorityConfigurations)
List of job priority configurations related to the batch context.- Parameters:
jobPriorityConfigurations- the value to set- Returns:
- this builder
-
network
public CreateBatchContextDetails.Builder network(CreateNetworkDetails network)
-
fleets
public CreateBatchContextDetails.Builder fleets(List<CreateFleetDetails> fleets)
List of fleet configurations related to the batch context.- Parameters:
fleets- the value to set- Returns:
- this builder
-
entitlements
public CreateBatchContextDetails.Builder entitlements(Map<String,Integer> entitlements)
Mapping of concurrent/shared resources used in job tasks to their limits.- Parameters:
entitlements- the value to set- Returns:
- this builder
-
loggingConfiguration
public CreateBatchContextDetails.Builder loggingConfiguration(LoggingConfiguration loggingConfiguration)
-
build
public CreateBatchContextDetails build()
-
copy
public CreateBatchContextDetails.Builder copy(CreateBatchContextDetails model)
-
-