Class Model.Builder
- java.lang.Object
-
- com.oracle.bmc.aianomalydetection.model.Model.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Model
build()
Model.Builder
compartmentId(String compartmentId)
The OCID for the model’s compartment.Model.Builder
copy(Model model)
Model.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Model.Builder
description(String description)
A short description of the Model.Model.Builder
displayName(String displayName)
A user-friendly display name for the resource.Model.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Model.Builder
id(String id)
The OCID of the model that is immutable on creation.Model.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.Model.Builder
lifecycleState(Model.LifecycleState lifecycleState)
The state of the model.Model.Builder
modelTrainingDetails(ModelTrainingDetails modelTrainingDetails)
Model.Builder
modelTrainingResults(ModelTrainingResults modelTrainingResults)
Model.Builder
projectId(String projectId)
The OCID of the project to associate with the model.Model.Builder
systemTags(Map<String,Object> systemTags)
Usage of system tag keys.Model.Builder
timeCreated(Date timeCreated)
The time the the Model was created.Model.Builder
timeUpdated(Date timeUpdated)
The time the Model was updated.
-
-
-
Method Detail
-
id
public Model.Builder id(String id)
The OCID of the model that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public Model.Builder displayName(String displayName)
A user-friendly display name for the resource.It does not have to be unique and can be modified. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public Model.Builder compartmentId(String compartmentId)
The OCID for the model’s compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
modelTrainingDetails
public Model.Builder modelTrainingDetails(ModelTrainingDetails modelTrainingDetails)
-
modelTrainingResults
public Model.Builder modelTrainingResults(ModelTrainingResults modelTrainingResults)
-
projectId
public Model.Builder projectId(String projectId)
The OCID of the project to associate with the model.- Parameters:
projectId
- the value to set- Returns:
- this builder
-
description
public Model.Builder description(String description)
A short description of the Model.- Parameters:
description
- the value to set- Returns:
- this builder
-
timeCreated
public Model.Builder timeCreated(Date timeCreated)
The time the the Model was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public Model.Builder timeUpdated(Date timeUpdated)
The time the Model was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public Model.Builder lifecycleState(Model.LifecycleState lifecycleState)
The state of the model.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public Model.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public Model.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 Model.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 Model.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 Model build()
-
copy
public Model.Builder copy(Model model)
-
-