Class DetectAnomalyJob.Builder
- java.lang.Object
-
- com.oracle.bmc.aianomalydetection.model.DetectAnomalyJob.Builder
-
- Enclosing class:
- DetectAnomalyJob
public static class DetectAnomalyJob.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectAnomalyJob.Builder
areAllEstimatesRequired(Boolean areAllEstimatesRequired)
Flag to enable the service to return estimates for all data points rather than just the anomalous data pointsDetectAnomalyJob
build()
DetectAnomalyJob.Builder
compartmentId(String compartmentId)
The OCID of the compartment that starts the job.DetectAnomalyJob.Builder
copy(DetectAnomalyJob model)
DetectAnomalyJob.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DetectAnomalyJob.Builder
description(String description)
Detect anomaly job description.DetectAnomalyJob.Builder
displayName(String displayName)
Detect anomaly job display name.DetectAnomalyJob.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DetectAnomalyJob.Builder
id(String id)
Id of the job.DetectAnomalyJob.Builder
inputDetails(InputJobDetails inputDetails)
DetectAnomalyJob.Builder
lifecycleState(DetectAnomalyJob.LifecycleState lifecycleState)
The current state of the batch document job.DetectAnomalyJob.Builder
lifecycleStateDetails(String lifecycleStateDetails)
The current state details of the batch document job.DetectAnomalyJob.Builder
modelId(String modelId)
The OCID of the trained model.DetectAnomalyJob.Builder
outputDetails(OutputJobDetails outputDetails)
DetectAnomalyJob.Builder
projectId(String projectId)
The OCID of the project.DetectAnomalyJob.Builder
sensitivity(Float sensitivity)
The value that customer can adjust to control the sensitivity of anomaly detectionDetectAnomalyJob.Builder
systemTags(Map<String,Object> systemTags)
Usage of system tag keys.DetectAnomalyJob.Builder
timeAccepted(Date timeAccepted)
Job accepted timeDetectAnomalyJob.Builder
timeFinished(Date timeFinished)
Job finished timeDetectAnomalyJob.Builder
timeStarted(Date timeStarted)
Job started time
-
-
-
Method Detail
-
id
public DetectAnomalyJob.Builder id(String id)
Id of the job.- Parameters:
id
- the value to set- Returns:
- this builder
-
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
-
inputDetails
public DetectAnomalyJob.Builder inputDetails(InputJobDetails inputDetails)
-
outputDetails
public DetectAnomalyJob.Builder outputDetails(OutputJobDetails outputDetails)
-
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
-
lifecycleState
public DetectAnomalyJob.Builder lifecycleState(DetectAnomalyJob.LifecycleState lifecycleState)
The current state of the batch document job.- Parameters:
lifecycleState
- 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
-
build
public DetectAnomalyJob build()
-
copy
public DetectAnomalyJob.Builder copy(DetectAnomalyJob model)
-
-