Class ModelSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.aianomalydetection.model.ModelSummary.Builder
-
- Enclosing class:
- ModelSummary
public static class ModelSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelSummary
build()
ModelSummary.Builder
compartmentId(String compartmentId)
The OCID for the model’s compartment.ModelSummary.Builder
copy(ModelSummary model)
ModelSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ModelSummary.Builder
description(String description)
A short description of the Model.ModelSummary.Builder
displayName(String displayName)
A user-friendly display name for the resource.ModelSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ModelSummary.Builder
id(String id)
The OCID of the model.ModelSummary.Builder
lifecycleState(Model.LifecycleState lifecycleState)
The state of the model.ModelSummary.Builder
modelTrainingDetails(ModelTrainingDetails modelTrainingDetails)
ModelSummary.Builder
modelTrainingResults(ModelTrainingResults modelTrainingResults)
ModelSummary.Builder
projectId(String projectId)
The OCID of the project to associate with the model.ModelSummary.Builder
systemTags(Map<String,Object> systemTags)
Usage of system tag keys.ModelSummary.Builder
timeCreated(Date timeCreated)
The time the the Model was created.
-
-
-
Method Detail
-
id
public ModelSummary.Builder id(String id)
The OCID of the model.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public ModelSummary.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
-
description
public ModelSummary.Builder description(String description)
A short description of the Model.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public ModelSummary.Builder compartmentId(String compartmentId)
The OCID for the model’s compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
modelTrainingDetails
public ModelSummary.Builder modelTrainingDetails(ModelTrainingDetails modelTrainingDetails)
-
modelTrainingResults
public ModelSummary.Builder modelTrainingResults(ModelTrainingResults modelTrainingResults)
-
timeCreated
public ModelSummary.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
-
lifecycleState
public ModelSummary.Builder lifecycleState(Model.LifecycleState lifecycleState)
The state of the model.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
projectId
public ModelSummary.Builder projectId(String projectId)
The OCID of the project to associate with the model.- Parameters:
projectId
- the value to set- Returns:
- this builder
-
freeformTags
public ModelSummary.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 ModelSummary.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 ModelSummary.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 ModelSummary build()
-
copy
public ModelSummary.Builder copy(ModelSummary model)
-
-