Package com.oracle.bmc.batch.model
Class CreateBatchTaskEnvironmentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.batch.model.CreateBatchTaskEnvironmentDetails.Builder
-
- Enclosing class:
- CreateBatchTaskEnvironmentDetails
public static class CreateBatchTaskEnvironmentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateBatchTaskEnvironmentDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public CreateBatchTaskEnvironmentDetails.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: batchtaskenvironment20250914115623. - Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CreateBatchTaskEnvironmentDetails.Builder description(String description)
The batch task environment description.- Parameters:
description- the value to set- Returns:
- this builder
-
imageUrl
public CreateBatchTaskEnvironmentDetails.Builder imageUrl(String imageUrl)
The URL of the ocir image.- Parameters:
imageUrl- the value to set- Returns:
- this builder
-
securityContext
public CreateBatchTaskEnvironmentDetails.Builder securityContext(SecurityContext securityContext)
-
workingDirectory
public CreateBatchTaskEnvironmentDetails.Builder workingDirectory(String workingDirectory)
Container’s working directory.- Parameters:
workingDirectory- the value to set- Returns:
- this builder
-
volumes
public CreateBatchTaskEnvironmentDetails.Builder volumes(List<BatchTaskEnvironmentVolume> volumes)
List of volumes attached to the image.The use cases of the volumes are but not limited to: read the input of the task and write the output.
- Parameters:
volumes- the value to set- Returns:
- this builder
-
definedTags
public CreateBatchTaskEnvironmentDetails.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
-
freeformTags
public CreateBatchTaskEnvironmentDetails.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
-
build
public CreateBatchTaskEnvironmentDetails build()
-
copy
public CreateBatchTaskEnvironmentDetails.Builder copy(CreateBatchTaskEnvironmentDetails model)
-
-