Class BatchTaskEnvironment.Builder
- java.lang.Object
-
- com.oracle.bmc.batch.model.BatchTaskEnvironment.Builder
-
- Enclosing class:
- BatchTaskEnvironment
public static class BatchTaskEnvironment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public BatchTaskEnvironment.Builder id(String id)
The OCID of the batch task environment.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public BatchTaskEnvironment.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public BatchTaskEnvironment.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 BatchTaskEnvironment.Builder description(String description)
The batch task environment description.- Parameters:
description- the value to set- Returns:
- this builder
-
imageUrl
public BatchTaskEnvironment.Builder imageUrl(String imageUrl)
The URL of the ocir image.- Parameters:
imageUrl- the value to set- Returns:
- this builder
-
securityContext
public BatchTaskEnvironment.Builder securityContext(SecurityContext securityContext)
-
workingDirectory
public BatchTaskEnvironment.Builder workingDirectory(String workingDirectory)
Container’s working directory.- Parameters:
workingDirectory- the value to set- Returns:
- this builder
-
volumes
public BatchTaskEnvironment.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
-
lifecycleState
public BatchTaskEnvironment.Builder lifecycleState(BatchTaskEnvironment.LifecycleState lifecycleState)
The current state of the batch task environment.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public BatchTaskEnvironment.Builder timeCreated(Date timeCreated)
The date and time the batch task environment 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 BatchTaskEnvironment.Builder timeUpdated(Date timeUpdated)
The date and time the batch task environment 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
-
definedTags
public BatchTaskEnvironment.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 BatchTaskEnvironment.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
-
systemTags
public BatchTaskEnvironment.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 BatchTaskEnvironment build()
-
copy
public BatchTaskEnvironment.Builder copy(BatchTaskEnvironment model)
-
-