Class DetectAnomalyJob.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public DetectAnomalyJob.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that starts the job.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public DetectAnomalyJob.Builder displayName​(String displayName)
        Detect anomaly job display name.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public DetectAnomalyJob.Builder description​(String description)
        Detect anomaly job description.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • modelId

        public DetectAnomalyJob.Builder modelId​(String modelId)
        The OCID of the trained model.
        Parameters:
        modelId - the value to set
        Returns:
        this builder
      • projectId

        public DetectAnomalyJob.Builder projectId​(String projectId)
        The OCID of the project.
        Parameters:
        projectId - the value to set
        Returns:
        this builder
      • sensitivity

        public DetectAnomalyJob.Builder sensitivity​(Float sensitivity)
        The value that customer can adjust to control the sensitivity of anomaly detection
        Parameters:
        sensitivity - the value to set
        Returns:
        this builder
      • areAllEstimatesRequired

        public DetectAnomalyJob.Builder areAllEstimatesRequired​(Boolean areAllEstimatesRequired)
        Flag to enable the service to return estimates for all data points rather than just the anomalous data points
        Parameters:
        areAllEstimatesRequired - the value to set
        Returns:
        this builder
      • timeAccepted

        public DetectAnomalyJob.Builder timeAccepted​(Date timeAccepted)
        Job accepted time
        Parameters:
        timeAccepted - the value to set
        Returns:
        this builder
      • timeStarted

        public DetectAnomalyJob.Builder timeStarted​(Date timeStarted)
        Job started time
        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeFinished

        public DetectAnomalyJob.Builder timeFinished​(Date timeFinished)
        Job finished time
        Parameters:
        timeFinished - the value to set
        Returns:
        this builder
      • lifecycleStateDetails

        public DetectAnomalyJob.Builder lifecycleStateDetails​(String lifecycleStateDetails)
        The current state details of the batch document job.
        Parameters:
        lifecycleStateDetails - the value to set
        Returns:
        this builder
      • freeformTags

        public DetectAnomalyJob.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

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

        public DetectAnomalyJob.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • systemTags

        public DetectAnomalyJob.Builder systemTags​(Map<String,​Object> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }

        Parameters:
        systemTags - the value to set
        Returns:
        this builder