public static class ModelSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public ModelSummary.Builder id(String id)
The OCID of the model.
id
- the value to setpublic 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.
displayName
- the value to setpublic ModelSummary.Builder description(String description)
A short description of the Model.
description
- the value to setpublic ModelSummary.Builder compartmentId(String compartmentId)
The OCID for the model’s compartment.
compartmentId
- the value to setpublic ModelSummary.Builder modelTrainingDetails(ModelTrainingDetails modelTrainingDetails)
public ModelSummary.Builder modelTrainingResults(ModelTrainingResults modelTrainingResults)
public ModelSummary.Builder timeCreated(Date timeCreated)
The time the the Model was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic ModelSummary.Builder lifecycleState(Model.LifecycleState lifecycleState)
The state of the model.
lifecycleState
- the value to setpublic ModelSummary.Builder projectId(String projectId)
The OCID of the project to associate with the model.
projectId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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" } }
systemTags
- the value to setpublic ModelSummary build()
public ModelSummary.Builder copy(ModelSummary model)
Copyright © 2016–2024. All rights reserved.