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 compartment identifier.
|
ModelSummary.Builder |
copy(ModelSummary model) |
ModelSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ModelSummary.Builder |
description(String description)
An optional description of the model.
|
ModelSummary.Builder |
displayName(String displayName)
A human-friendly name for the model, which can be changed.
|
ModelSummary.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
ModelSummary.Builder |
id(String id)
A unique identifier that is immutable after creation.
|
ModelSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail, that can provide actionable
information if training failed.
|
ModelSummary.Builder |
lifecycleState(Model.LifecycleState lifecycleState)
The current state of the model.
|
ModelSummary.Builder |
modelType(Model.ModelType modelType)
What type of Vision model this is.
|
ModelSummary.Builder |
modelVersion(String modelVersion)
The version of the model.
|
ModelSummary.Builder |
precision(Float precision)
The precision of the trained model.
|
ModelSummary.Builder |
projectId(String projectId)
The OCID
of the project that contains the model.
|
ModelSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ModelSummary.Builder |
testingDataset(Dataset testingDataset) |
ModelSummary.Builder |
timeCreated(Date timeCreated)
When the model was created, as an RFC3339 datetime string.
|
ModelSummary.Builder |
timeUpdated(Date timeUpdated)
When the model was modified, as an RFC3339 datetime string.
|
ModelSummary.Builder |
trainingDataset(Dataset trainingDataset) |
ModelSummary.Builder |
validationDataset(Dataset validationDataset) |
public ModelSummary.Builder id(String id)
A unique identifier that is immutable after creation.
id
- the value to setpublic ModelSummary.Builder displayName(String displayName)
A human-friendly name for the model, which can be changed.
displayName
- the value to setpublic ModelSummary.Builder description(String description)
An optional description of the model.
description
- the value to setpublic ModelSummary.Builder compartmentId(String compartmentId)
The compartment identifier.
compartmentId
- the value to setpublic ModelSummary.Builder modelType(Model.ModelType modelType)
What type of Vision model this is.
modelType
- the value to setpublic ModelSummary.Builder modelVersion(String modelVersion)
The version of the model.
modelVersion
- the value to setpublic ModelSummary.Builder projectId(String projectId)
The OCID of the project that contains the model.
projectId
- the value to setpublic ModelSummary.Builder timeCreated(Date timeCreated)
When the model was created, as an RFC3339 datetime string.
timeCreated
- the value to setpublic ModelSummary.Builder timeUpdated(Date timeUpdated)
When the model was modified, as an RFC3339 datetime string.
timeUpdated
- the value to setpublic ModelSummary.Builder lifecycleState(Model.LifecycleState lifecycleState)
The current state of the model.
lifecycleState
- the value to setpublic ModelSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail, that can provide actionable information if training failed.
lifecycleDetails
- the value to setpublic ModelSummary.Builder precision(Float precision)
The precision of the trained model.
precision
- the value to setpublic ModelSummary.Builder trainingDataset(Dataset trainingDataset)
public ModelSummary.Builder testingDataset(Dataset testingDataset)
public ModelSummary.Builder validationDataset(Dataset validationDataset)
public ModelSummary.Builder freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope. It
exists for cross-compatibility only. For 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. For
example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic ModelSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. For 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.