Class JobDefinitionSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        public JobDefinitionSummary.Builder key​(String key)
        Unique key of the job definition resource that is immutable.
        Parameters:
        key - the value to set
        Returns:
        this builder
      • displayName

        public JobDefinitionSummary.Builder displayName​(String displayName)
        A user-friendly display name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

        public JobDefinitionSummary.Builder description​(String description)
        Detailed description of the job definition.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • catalogId

        public JobDefinitionSummary.Builder catalogId​(String catalogId)
        The data catalog’s OCID.
        Parameters:
        catalogId - the value to set
        Returns:
        this builder
      • lifecycleState

        public JobDefinitionSummary.Builder lifecycleState​(LifecycleState lifecycleState)
        Lifecycle state of the job definition.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • isSampleDataExtracted

        public JobDefinitionSummary.Builder isSampleDataExtracted​(Boolean isSampleDataExtracted)
        Specify if sample data to be extracted as part of this harvest.
        Parameters:
        isSampleDataExtracted - the value to set
        Returns:
        this builder
      • timeCreated

        public JobDefinitionSummary.Builder timeCreated​(Date timeCreated)
        The date and time the job definition was created, in the format defined by RFC3339.

        Example: 2019-03-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • connectionKey

        public JobDefinitionSummary.Builder connectionKey​(String connectionKey)
        The key of the connection resource used in harvest, sampling, profiling jobs.
        Parameters:
        connectionKey - the value to set
        Returns:
        this builder
      • timeLatestExecutionStarted

        public JobDefinitionSummary.Builder timeLatestExecutionStarted​(Date timeLatestExecutionStarted)
        Time that the latest job execution started.

        An RFC3339 formatted datetime string.

        Parameters:
        timeLatestExecutionStarted - the value to set
        Returns:
        this builder
      • timeLatestExecutionEnded

        public JobDefinitionSummary.Builder timeLatestExecutionEnded​(Date timeLatestExecutionEnded)
        Time that the latest job execution ended or null if it hasn’t yet completed.

        An RFC3339 formatted datetime string.

        Parameters:
        timeLatestExecutionEnded - the value to set
        Returns:
        this builder
      • jobExecutionState

        public JobDefinitionSummary.Builder jobExecutionState​(JobExecutionState jobExecutionState)
        Status of the latest job execution, such as running, paused, or completed.
        Parameters:
        jobExecutionState - the value to set
        Returns:
        this builder
      • scheduleType

        public JobDefinitionSummary.Builder scheduleType​(JobScheduleType scheduleType)
        Type of job schedule for the latest job executed.
        Parameters:
        scheduleType - the value to set
        Returns:
        this builder
      • dataAssetKey

        public JobDefinitionSummary.Builder dataAssetKey​(String dataAssetKey)
        Unique key of the data asset to which this job applies, if the job involves a data asset.
        Parameters:
        dataAssetKey - the value to set
        Returns:
        this builder
      • glossaryKey

        public JobDefinitionSummary.Builder glossaryKey​(String glossaryKey)
        Unique key of the glossary to which this job applies, if the job involves a glossary.
        Parameters:
        glossaryKey - the value to set
        Returns:
        this builder