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