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
of the model’s compartment.
|
ModelSummary.Builder |
copy(ModelSummary model) |
ModelSummary.Builder |
createdBy(String createdBy)
The OCID
of the user who created the model.
|
ModelSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ModelSummary.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
ModelSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ModelSummary.Builder |
id(String id)
The OCID
of the model.
|
ModelSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the lifecycle state of the model.
|
ModelSummary.Builder |
lifecycleState(ModelLifecycleState lifecycleState)
The state of the model.
|
ModelSummary.Builder |
modelVersionSetId(String modelVersionSetId)
The OCID of the model version set that the model is associated to.
|
ModelSummary.Builder |
modelVersionSetName(String modelVersionSetName)
The name of the model version set that the model is associated to.
|
ModelSummary.Builder |
projectId(String projectId)
The OCID
of the project associated with the model.
|
ModelSummary.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by
RFC3339.
|
ModelSummary.Builder |
versionId(Long versionId)
Unique identifier assigned to each version of the model.
|
ModelSummary.Builder |
versionLabel(String versionLabel)
The version label can add an additional description of the lifecycle state of the model
or the application using and training the model.
|
public ModelSummary.Builder compartmentId(String compartmentId)
The OCID of the model’s compartment.
compartmentId
- the value to setpublic ModelSummary.Builder projectId(String projectId)
The OCID of the project associated with the model.
projectId
- the value to setpublic 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 createdBy(String createdBy)
The OCID of the user who created the model.
createdBy
- the value to setpublic ModelSummary.Builder timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
timeCreated
- the value to setpublic ModelSummary.Builder lifecycleState(ModelLifecycleState lifecycleState)
The state of the model.
lifecycleState
- the value to setpublic ModelSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the lifecycle state of the model.
lifecycleDetails
- the value to setpublic ModelSummary.Builder modelVersionSetId(String modelVersionSetId)
The OCID of the model version set that the model is associated to.
modelVersionSetId
- the value to setpublic ModelSummary.Builder modelVersionSetName(String modelVersionSetName)
The name of the model version set that the model is associated to.
modelVersionSetName
- the value to setpublic ModelSummary.Builder versionId(Long versionId)
Unique identifier assigned to each version of the model.
versionId
- the value to setpublic ModelSummary.Builder versionLabel(String versionLabel)
The version label can add an additional description of the lifecycle state of the model or the application using and training the model.
versionLabel
- the value to setpublic ModelSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. See Resource
Tags. Example:
{"Department": "Finance"}
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. See
Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic ModelSummary build()
public ModelSummary.Builder copy(ModelSummary model)
Copyright © 2016–2024. All rights reserved.