Class CreateBatchJobDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • batchJobPoolId

        public CreateBatchJobDetails.Builder batchJobPoolId​(String batchJobPoolId)
        The OCID of the parent batch job pool.
        Parameters:
        batchJobPoolId - the value to set
        Returns:
        this builder
      • displayName

        public CreateBatchJobDetails.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: batchjob20250914115623.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public CreateBatchJobDetails.Builder description​(String description)
        An optional description that provides additional context next to the displayName.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • environmentVariables

        public CreateBatchJobDetails.Builder environmentVariables​(List<EnvironmentVariable> environmentVariables)
        An environment variables to use for the job’s tasks (can be overridden by task’s environment variables).
        Parameters:
        environmentVariables - the value to set
        Returns:
        this builder
      • tasks

        public CreateBatchJobDetails.Builder tasks​(List<CreateBatchTaskDetails> tasks)
        A list of tasks to be executed within this job.

        Maximum number of tasks a job can have in total, across all nested levels, is 1000.

        Parameters:
        tasks - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateBatchJobDetails.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 CreateBatchJobDetails.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